ahfaris
asked on
Run Script with Current logged in user privileges
I want to run program at startup script for my domain users , but i want to run this script with current logged in user privileges , i am using runasspc tool to make professional runas but it request user &pass for the user want to run with , and i dont have credentials for all users , can any one help me .
ASKER
but i said i dont have credentials for all domain users to run script as .
If you want to run the script as the user, it needs to be a log-in script. On domain computers you can't assume the user that is going to log-on anyway - so you can't runas a user account at startup.
There is no currently logged in user at startup, so what you are trying to do is in fact impossible.
User scripts need to be implemented as logon scripts.
There is no currently logged in user at startup, so what you are trying to do is in fact impossible.
User scripts need to be implemented as logon scripts.
ASKER
ok i mean its login script , how can i do it ?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks purplepomegranite: yes you are righ , but my case si speceific and i clarify it at this thread
https://www.experts-exchange.com/questions/23592022/Logon-Scripts-and-cached-logon-problem.html
thanks for your help
https://www.experts-exchange.com/questions/23592022/Logon-Scripts-and-cached-logon-problem.html
thanks for your help
ASKER
OK Sir , now i see
Open in new window