Hi, You can use a standard regfile, called from usrlogon.cmd with: regfile -s delkey.reg Where delkey.reg (or any other name) uses the following syntax: [-HKEY_CURRENT_USER\Software\xxxxx] The - (minus) in front of the registry key means delete the key. regards, Rick Ulrich Mack rmack@xxxxxxxxxxxxxx <mailto:rmack@xxxxxxxxxxxxxx> Volante Systems 18 Heussler Terrace Milton 4064, Queensland Australia tel +61 7 32467777 -----Original Message----- From: Roger Riggins [mailto:Roger@xxxxxxxxxxxx] Sent: Thursday, January 23, 2003 7:54 To: thin@xxxxxxxxxxxxx Subject: [THIN] what's the best way to remove registry keys? Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I need to remove some registry keys in hkcu for all users. What's the best way to do it? Logon script? How do I do it in a logon script if that's the best way?=20 =20 Roger Riggins, A+ MCSE CCNA CCA ACES Systems Engineer * 319-287-3102 * roger@xxxxxxxxxxxx =20 =20 -- No attachments (even text) are allowed -- -- Type: text/x-vcard -- File: Roger Riggins.vcf -- Desc: Roger Riggins.vcf ******************************************************************** This Week's Sponsor: RTO Software - TScale TScale increases Terminal Server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - Not more servers. If you're using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************************* For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm -------------------------------------------------------------------------------------------------------------------- The information contained in this e-mail is confidential and may be subject to legal professional privilege. It is intended solely for the addressee. If you receive this e-mail by mistake please promptly inform us by reply e-mail and then delete the e-mail and destroy any printed copy. You must not disclose or use in any way the information in the e-mail. There is no warranty that this email or any attachment or message is error or virus free. It may be a private communication, and if so, does not represent the views of Volante group Limited. ******************************************************************** This Week's Sponsor: RTO Software - TScale TScale increases Terminal Server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - Not more servers. If you?re using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************************* For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm