Reg key

funky dredd

OSNN Veteran Addict
Joined
9 Aug 2002
Messages
2,346
Currently we have group policy set to display a certain wallpaper throughout our environment. Right now we are setting up a script to run to change this, but it only changes for the hkey\current user. What registry key is it (hkey\localmachine to change the wallpaper globally so every user will see the new background? The problem with this setting is only the users that log on while the script is running will get the new wallpaper. After the script is removed any new users that log on will receive the old wallpaper.
 
When a new user logs in for the first time a copy of the default user profile (ntuser.dat) is copied into the users profile. To set default settings for a user you can edit the default ntuser.dat file. Anything you define under HKEY_CURRENT_USER can be changed by editing ntuser.dat.

To change default settings for a new user on a workstation perform the following:

Start the registry editor (regedt32.exe)
Select the "HKEY_USERS on Local Machine" window
Select "Load Hive" from the Registry menu
Move to %systemroot%\Profiles\Default User (e.g. d:\winnt\Profiles\Default User)
Select Ntuser.dat and click Open
When it asks for a key name enter anything, e.g. defuser
Now select the username (e.g. defuser) in the "HKEY_USERS on Local Machine" window and make the changes (for example you could change the wallpaper by changing defuser\Control Panel\Desktop\Wallpaper )
Note - If you add new keys make sure everyone has at least read access otherwise it will not be copied
When you have made the changes select "Unload Hive" from the Registry menu
Close the registry editor

+++++++++++++++++++++++++++++++

To configure a default NTUSER.DAT for a domain perform the above and logon as a user to take these settings. You now need to export these out to the PDC.

Logon as an Administrator
Start the System Control Panel Applet (Start - Settings - Control Panel - System)
Click the User Profiles tab
You will see a list of all the profiles stored on the machine. Select the one which has the settings you wish to use as the default for the domain
Click the "Copy to" button
In the "Copy profile to" enter the location of the Netlogon share of the PDC (usually %systemroot%\system32\Repl\Export\Scripts, you want the Export area not Import as anything in Export is copied to the import by the replication process), e.g. h:\winnt\system32\repl\export\scripts (if h was mapped to the c$ drive of the PDC).
In the "Permitted to use" click Change. Select Everyone and click Add, then click OK.
Click OK to start the copy.
You should then check that the file ntuser.dat has been created where you selected.
 
No problem Funky - I have to give credit to Google though. Any way we can give it some rep on here? hehehe
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back