Tuesday, June 5, 2012

Execute when any user logs in without Group Policies

Sometimes you just need to have something run for all users that log into a certain box but you don't want a GPO for it.  Local group policies don't work either if they log in with AD credentials.  It used to be that you could just put the .exe or .bat/.vbs into the startup directory. You still can but its a little harder with w2k8/w7.

The easiest way is to click start, all programs, then right click on startup and choose explore all users.  Then just drop a link or the file into that directory and you should be right as rain.  Here is the long UNC for it:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup


No comments: