samba PDC Win98 client with roaming profile importing HKCU "NoDevMgrPage"
I considered carefully if I should post this into a Linux forum or a Microsoft one. Im hoping that one of you Linux boffs have encountered or resolved the same for your samba servers windows clients in an environment where you dont have GPO's at your disposal.
Im running a samba PDC that calls a perl script which generates
a DOS batch file in the NETLOGON folder for each user (%U.BAT) logging in. The script writes lines into the batch file that enable the batch file to create a .REG file(echo [HKEY_.. >> my.reg) which it later imports into the registry using the 'regedit /s'. The contents of the .REG file are specific to various users and groups and are quite dynamic so I can't create a static .REG or have a .POL trying to service everyone.
WIN98 client - It works fine - except when I have roaming profiles enabled and the batch file uses regedit to import the following ..
(Prevents users getting to the device manager tab)
Other HKCU keys import and work fine like the [HKCU..Explorer] ones. Its the [HKCU..System] key that seems to refuse to import until the desktop is fully loaded. If I double click the .REG file created, it imports the keys and they take affect perfectly. It's as if at the point that the client runs the login script, the HKCU..System key is not yet available!
If roaming profiles are not used then it works perfectly!
I feel bad for posting this here cause its Windows Issue. Sorry guys!
Does any one have a clue how I get around my problem, or can anyone tell me what Im missing or being dumb about.