Solved

NT CMD login script... Run as Admin

Posted on 2004-04-12
3
1,162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 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