Hi, I am having trouble updateing the ntuser.dat a logged in user from a script. The background to this, is a citrix farm that publishs this script to update the users registry. I'm not entirely sure as to how the whole ntuser.dat roaming profile works but I think that when the user logs in, the ntuser.dat is loaded into HKEY_USERS field of the server. It is from here that all references to HKEY_CURRENT_USER is made. So my script updates this without any trouble. But when this exits, and the whole saving its settings process finishes the ntuser.dat had not been updated. If I check the server the HKEY_USERS has been udpated, but this update has not been passed back to the ntuser.dat. What am I doing wrong? For example: Set WshShell=CreateObject("Wscript.Shell") WshShell.RegWrite "HKCU\SOFTWARE\Tomsoft\Tomkey", "tomval", "REG_SZ" will update the HKEY_CURRENT_USER (stored under HKEY_USERS on the server reg) but on the script finishing the ntuser.dat isn't updated. Any help would be most appreciated. Thanks, Tom *********************************************************** The information contained in this e-mail is intended only for the individual to whom it is addressed. It may contain privileged and confidential information. If you have received this message in error or there are any problems, please notify the sender immediately and delete the message from your computer. The unauthorised use, disclosure, copying or alteration of this message is forbidden. Neither United Utilities PLC nor any of its subsidiaries will be liable for direct, special, indirect or consequential damage as a result of any virus being passed on, or arising from alteration of the contents of this message by a third party. United Utilities PLC (England and Wales No.2366616) registered office: Dawson House, Great Sankey, Warrington, WA5 3LW. *********************************************************** ********************************************************* This Week's Sponsor - ThinPrint Simply the best print solution for Citrix Metaframe and Microsoft Terminal Services! http://www.thinprint.com ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm