You could launch a vb script, something like: const HKEY_CURRENT_USER =3D &H80000001 strComputer =3D "." Set oReg=3DGetObject("winmgmts:{impersonationLevel=3Dimpersonate}!\\" &_ strComputer & "\root\default:StdRegProv") strKeyPath =3D "SOFTWARE\Microsoft\..Location..\..to..\..delete\.." oReg.DeleteValue HKEY_CURRENT_USER,strKeyPath,"Value to delete" 'Joe -----Original Message----- From: Roger Riggins [mailto:Roger@xxxxxxxxxxxx] Sent: Wednesday, January 22, 2003 2:54 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] what's the best way to remove registry keys? Content-Type: text/plain; charset=3D"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?=3D20 =3D20 Roger Riggins, A+ MCSE CCNA CCA ACES Systems Engineer * 319-287-3102 * roger@xxxxxxxxxxxx =3D20 =3D20 -- 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! =20 Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=3D79 ********************************************************************* For Archives, to Unsubscribe, Subscribe or=20 set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************************** 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