Quantcast
Channel: Windows XP Service Pack 3 (SP3) forum
Viewing all articles
Browse latest Browse all 2088

RunOnce for all existing AND new user

$
0
0

Hi,

I need to add some registry entries under HKEY_CURRENT_USER and this is only required Once for all users (existing and new).

I used the following registry entry to run a command line that will import my predefined registry settings from a .reg file into HKEY_CURRENT_USER

 - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

This works fine, but it only works for 1 user that logs in after rebooting the computer. I need this to happen for all existing users AND new users.

I tried using the following registry entry to run the command line for importing my custom reg entries

- HKEY_USERS\.DEFAULT\Software\Microsoft\Wiindows\CurrentVersion\RunOnce

I thought the above would take care of running my command line once for all the new user that logs in. I tried multiple times, but this isn't seem to be working. Deleted the test user profile from the computer but after logging in as a new user, it turns out that my command line isn't being executed.

And, this doesn't solve my problem of running the my command line for all existing users.

Can you please advise? If you need more info, please let me know.

Thanks,


Pman
http://www.pmansLab.com/



Viewing all articles
Browse latest Browse all 2088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>