You can use the SaveKey and DelKey (or DelTree, if there are subkeys) functions in KixTart. Complete syntax description with examples can be found in the KixTart Reference, but in your example, it would be something like: $ReturnCode = SaveKey("HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\SBCM .Addin.1", "c:\temp\SBCM.reg") If $ReturnCode = 0 ? "Key saved...." $ReturnCode = DelKey("HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\SBCM. Addin.1") If $ReturnCode = 0 ? "Key deleted...." Endif Endif ___________________________________________ Vera Noest MCSE, CCEA, Microsoft MVP - Terminal Server TS troubleshooting: http://ts.veranoest.net/ _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Matthew McComas Sent: 6 november 2006 18:52 To: thin@xxxxxxxxxxxxx Subject: [THIN] kixtart question I'm new to scripting w/ kixtart, and I know there are some of you out there that are quite familiar w/ it, so here goes my question: I need to create a kixtart script that will perform an action similar to the regedit "load hive" command which can be performed on ntuser.dat from the user's profile. I need to load: HKEY_CURRENT_USER And then remove this key and save it: HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\SBCM.Addin.1 It needs to happen during logon. Any suggestions on syntax? Or maybe there's a better way other than kixtart. Thanks, MM _____ I am using the free version of SPAMfighter for private users. It has removed 11196 spam emails to date. Paying users do not have this message in their emails. Try SPAMfighter <http://www.spamfighter.com> for free now!