Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runasuser 4.1 not embedding batch file

Status
Not open for further replies.

exman2k5

Technical User
May 6, 2005
34
US
Can anyone help, i have a batch file i want to run with elevated rights but Runasuser 4.1 is not embedding the batch file into the exe it creates. I have followed the instructions and have tested the batch file manually and it works. What can i do? this is what im trying to run;

@echo off
NET USER TempAdmin2 /expires:11/02/05 Password12 /ADD
NET LOCALGROUP Administrators TempAdmin2 /ADD

Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top