[THIN] Re: what's the best way to remove registry keys?

  • From: "Mark CALLEJA" <Mark.CALLEJA@xxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 23 Jan 2003 10:33:50 +0800

Roger
 
You could try using the hyphen in front of the key in a reg file which
gets called from the usrlogn2.cmd:
 
regedit /s <name of file>.reg
 
[-SOFTWARE\Microsoft\..Location..\..to..\..delete\.]
 
HTH
Mk
 
 
Mark Calleja
Coordinator Network Systems 
Network Systems
Dept Housing and Works
(08) 9222 4941
mark.calleja@xxxxxxxxxxxxx

>>> Roger@xxxxxxxxxxxx 23/01/2003 10:14:36 >>>
On THAT note, does anyone have a recommendation for a beginners' guide
to VB? Should I just get a VB .Net book?

Roger Riggins, A+ MCSE CCNA CCA
ACES Systems Engineer
* 319-287-3102
* roger@xxxxxxxxxxxx 


-----Original Message-----
From: Joe Shonk [mailto:JShonk@xxxxxxxxxxxxxx] 
Sent: Wednesday, January 22, 2003 5:15 PM
To: thin@xxxxxxxxxxxxx 
Subject: [THIN] Re: what's the best way to remove registry keys?


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 

-- 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 


**********************************************************************
This footnote confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

**********************************************************************




********************************************************************
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

Other related posts: