Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Run some Login Scripts with Administrative privilege

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-02-2009
Member
 
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.

Reply With Quote
  #2  
Old 08-02-2009
Member
 
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.
Reply With Quote
  #3  
Old 08-02-2009
Member
 
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?
Reply With Quote
  #4  
Old 09-02-2009
Member
 
Join Date: Oct 2005
Posts: 2,355
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.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Run some Login Scripts with Administrative privilege"
Thread Thread Starter Forum Replies Last Post
Error 0x80070522: A necessary privilege is not held through the client in windows 7 LynDa55 Operating Systems 3 10-01-2011 05:21 PM
How to get administrative privilege? Craigg Networking & Security 5 25-01-2010 07:20 PM
Scripts are usually safe. Do you want to allow scripts to run ? Ebadaah Technology & Internet 4 02-07-2009 12:10 PM
Compatibility Tab Privilege Level greyed out Jeremey Vista Help 6 16-05-2008 03:57 AM
UAC problem with login scripts Kitaen Vista Help 1 13-02-2007 11:17 PM


All times are GMT +5.5. The time now is 03:11 PM.