![]() It seems like you could not use ExitWindowsEx when running under another users context. When using the programs suggested by Alan Kuras this function is failing, which is a no-go for me. Public static extern int ExitWindowsEx(int uFlags, int dwReserved) In the program i need to execute this function is getting used: \Administrator or localhost\Administrator but both didn't work on my XP SP3 machines. If using /user:machinename\Administrator /savcred it is invalid after imaging. ![]() The runas.exe command does not seem appropiate for this task, too. I already tried using task scheduler but it didn't work out because you got to enter a username with format machine\user and our pxe-image-deployment-system automatically patches the machine names so the entered domain\user stopped working. I am looking for a way with which i can autostart a certain program on logon of a user with user-rights with administrator-rights.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |