How can we run a program under the "system" or other than the account that we are currently using on Windows XP.
Printable View
How can we run a program under the "system" or other than the account that we are currently using on Windows XP.
do you mean to run the program using any account on the pc? or what? Please clarrify
yes
Please open the task manager. and check under the User name tab
if the program is installed using the administrator account, all users can access it.
Are those progs installed using the administrator Acc?
i think u misunderstood me.
I mean how can i run a program but not under my account. For example under the "System" like the files wich run by windows
System is not a user account. You would have to make and run them as a process.
and how could i do that ?
Do you want to Run an application under a different account. You could use RunAs utility of the Windows Shell. Something like thisVB Code:
Dim winShell As Object Set winShell = CreateObject("WScript.Shell") winShell.Run "RunAs /Env /User:DomainName/UserName myExe"
Interesting one this. My program also will need to copy files from a PC where other users have admin rights. Even if I log in as admin, those other admins can effectively hide their files by making them private. I'm writing code for a pe environment at the moment but if I can achieve this in Windows it would help. Anyone know if the RunAs command could help here?
Sorry Vntalk, I don't mean to hijack your thread but it is relevant. I'll learn how to run my app as a process with you!