This wouldn't be due to the fact that there is no Current user to get HKEY_CURRENT_USER from because the windows server isn't logged in, is it??
Anyway, I'm sure you noticed that you can take registry entries from a system, right click and add them to the depot.
What do these registry entries do?
Isn't this something that you want to do for all users?
yep your right, can't edit HKEY_Current_User for that reason (a blonde moment).
The registry entries make changes to the windows explorer views (show hidden system files etc). I browsed the net but couldn't find anything similiar that could do it in the local_machine key.
I'm putting a build together for one of our major clients which have a few of these tweaks required to keep them happy - i'm just trying to figure out the best way to do it....
Then, I have to ask, how would this change be persistent across logins anyhow? If it only targets the CURRENT_USER wouldn't that map to the profile of whoever is logged in? In that case could you edit something under HKEY_USERS? (OMG, the Unix guy is talking about Winderz. Check for flying pigs.)
Check out http://www.windowsnetworking.com/kbase/WindowsTips/WindowsNT/AdminTips/Registry/RemoteRegistryEditing.html for a bit of information on a possible solution by using remote registry editing. Not sure if that helps, but it might.