Results 1 to 4 of 4

Thread: Run some Login Scripts with Administrative privilege

  1. #1
    Join Date
    Aug 2005
    Posts
    257

    Run some Login Scripts with Administrative privilege

    Can anyone tell me a way to run some login scripts with Admin priviledge. For instance, I created some login script to disable usb and in my solution there is a batch file, so how can I run this batch file with Admin priviledge through login script? Thanks.

  2. #2
    Join Date
    Oct 2005
    Posts
    725

    RE: Run some Login Scripts with Administrative privilege

    Incase you are looking to just disable the USB, then you will have to better do that by going into group policy.

  3. #3
    Join Date
    Aug 2005
    Posts
    257

    RE: Run some Login Scripts with Administrative privilege

    Thanks, but I am not able to understand you, could you please elaborate what do you mean to say?

  4. #4
    Join Date
    Oct 2005
    Posts
    2,358
    Since you have not posted what your script actually does, I would recommend you to roll the script out using a computer startup script rather than a logon script. The logon scripts run when users log on, with their permissions on the system. The computer startup scripts run on computer startup in the System context which should have almost all rights on the system.

Similar Threads

  1. Replies: 3
    Last Post: 10-01-2011, 05:21 PM
  2. How to get administrative privilege?
    By Craigg in forum Networking & Security
    Replies: 5
    Last Post: 25-01-2010, 07:20 PM
  3. Scripts are usually safe. Do you want to allow scripts to run ?
    By Ebadaah in forum Technology & Internet
    Replies: 4
    Last Post: 02-07-2009, 12:10 PM
  4. Compatibility Tab Privilege Level greyed out
    By Jeremey in forum Vista Help
    Replies: 6
    Last Post: 16-05-2008, 03:57 AM
  5. UAC problem with login scripts
    By Kitaen in forum Vista Help
    Replies: 1
    Last Post: 13-02-2007, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •