Discussion Locked
0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to have a user run a program with admin right to that program. How do I write a script that will run as admin in windows 2000 Oro
5 replies
The user needs to be logged in as an admin to be able to run a program as admin--especially in scripts.
You'd have to write something in C/C++ (or possibly VB) to impersonate another user (from the admin group) knowing their username and password.
by jetincher
Poster rated this answer
by andrew
Check out the 'runas' utility.
This lets you run a process as a specific user.
You may need to wrap this with a small program so that you don't inappropriately expose the administraor account password.
by jetincher
Poster rated this answer
by jetincher
This question was closed by the author
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
2 helpful
25 replies
Discussion
Do you think that business directories are relevant to Local SEO And Lead Generation today
0 helpful
16 replies
0 helpful
6 replies
0 helpful
12 replies
1 helpful
9 replies