Solved

NT CMD login script... Run as Admin

Posted on 2004-04-12
3
1,159 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

864 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now