Solved

NT CMD login script... Run as Admin

Posted on 2004-04-12
3
1,161 Views
Last Modified: 2013-12-19
Hi,

Just wondering what I need to do to have a a login script run with the security privilages of an administrator. I have a script that installs a licensing agent however it will only install if the user has admin rights on their local machine. I obviously do not want to give these rights to all users however I would like their login script to run with those rights. Thanks.
0
Comment
Question by:DWR
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
nazirahmed earned 125 total points
ID: 10809151
you got NT server? win2k has Run As command.  For NT try PSexec which allows you to execute programs on remote systemsm you can run the pSexec through batch file.  follow the link and read the syntax before applying the commands
http://www.sysinternals.com/ntw2k/freeware/psexec.shtml
0
 

Author Comment

by:DWR
ID: 10835525
Nice,

that's a handy little tool isn't it.

Thanks,

Darryl
0
 
LVL 11

Expert Comment

by:nazirahmed
ID: 10836890
yes it is...:) cheers
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question