
June 11th, 2004, 05:34 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 12
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
force ownership of an executable / batch file ?
hi everyone !
does anyone know if there is a way to make it so whenever a certain batch file is run (myBatchFile.BAT) it runs under the Administrator username (in the task manager) ?
I have a batch file that calls an executable (wpuba.exe) which then calls another executable (framemaker.exe)
when I run this batch file directly (by double clicking it)
both executables run and do exactly as wanted...
but when I run myBatchFile.BAT indirectly (via an html form) then both .exe processes run under the SYSTEM username ..and the second one (framemaker.exe) hangs !!
If I can change the system variable in the file ?...or force that whenever myBatchFile.BAT runs ..... it uses the Administrator user..then I think my problem will be solved...
any ideas are greatly appreciated
matt
|