Hey, I'm trying to write a script that will add permissions to the HKEY_CURRENT_USER hive to the Interactive User has Full Control, what has happened when we created staff user profiles the profile they were created from had this missing. Meaning when the logged onto a machine it couldn’t write to there personal registry. So to fix this program I’m hoping to write a script which will run at logon to fix this problem. But I’m having trouble getting the script to run and was hoping someone here to help me please! Set wshNetwork = CreateObject("WScript.Network") strUser = wshNetwork.Username strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objAccount = objWMIService.Get _ ("Win32_UserAccount.Name="""& strUser &""",Domain=""dnt1""") strSID = objAccount.SID Set objShell = CreateObject("WScript.Shell") objShell.Run "E:\regini\regini '\Registry\User\' & strSID & '\ [1 5 13 17 21]'" I'm not brilliant at scripts to please don’t slaughter me!! lol. Any help would be appreciated!! Rob