Hi!I'm trying to create a roaming profile thing without the usual nt server stuff. I created a home directory for my users. Now, i'd like to set the registry values under
HKEY_CURRENT_USER\software\microsoft\windows\currentversion\Explorer\Shell Folders.
I tried to set the desktop value to point to a directory on the user's home directory. During testing the script works perfectly. It sets the desktop value to the required folder. BUT! During the login process it just does not work! The user logs in, sripts runs without an error, but the registry is not changed, everything is set to the default values.
Here is the code that i'm using:
$result = WriteValue ("HKEY_CURRENT_USER\software\microsoft\windows\currentversion\Explorer\Shell Folders","Desktop","h:\desktop","REG_SZ")
h: is the home dir.
As I said this works if it's not called from the login script.
Any ideas???
I'm new to kixtart so please excuse my lack of knowledge:).
Thanx in advance!