PDA

View Full Version : Win2K RunOnce please help?



stangor
08-15-2000, 06:08 AM
Please help!
I need to RunOnce C:\winnt\system32\notepad.exe for every new user login. For example:
1. As administrator, I created new PowerUser
-USERTEST-. 2. I login with -USERTEST-. and notepad not running?. However, if I login with administrator user name, notepad is running once.
I tried:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\RunOnce
and
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\RunOnce
and
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cur rentVersion\RunOnce
It doesn't work.
How can I setup registry to runonce notepad.exe for -USERTEST-?
Thank you for your help!!!

eric_3
11-17-2000, 02:39 AM
first off i wouldnt have runonce for notepad in both the users and local machine, i'd say just local machine, and wouldnt need it in current user unless current user was USERTEST, but that would erradicate your purpose.....you do know run once means run once at the FIRST logon (ever) and never again?! otherwise just use /Run to run a startup prog , OR you might try /RunOnceEx in LOCAL_MACHINE. if none of that works i'd bet security and permissions are the culprit, make sure security accounts service is automatic, and try en/disabling runas service

hope it helps!