Page 1 of 1 1
Topic Options
#35651 - 2003-01-24 11:34 AM DelKey Problem
N00NchieS Offline
Fresh Scripter

Registered: 2002-09-23
Posts: 7
Hi,

When i use DelKey to try and delete a key from the HKEY_CLASSES_ROOT hive i get an errorlevel 5 "Access Denied", i really want to find a way of deleting the key from that hive, i know security is tight on that hive but i have even tried altering the security on it as a test to allow Everyone full control but to no avail DelKey just doesn`t want to do it, does ne1 hav ne ideas on a new approach to this or a solution?

Cheers guys [Smile]

Top
#35652 - 2003-01-24 11:45 AM Re: DelKey Problem
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
don't think KiX can do if you aren't able to do it interactively with Registry Editors ... CLASSES_ROOT is kind of 'extremely system vital' and therefore in some Subkeys protected in a 'protect from User' - way [Wink]

Please tell us what the key is anyways
_________________________



Top
#35653 - 2003-01-25 12:31 AM Re: DelKey Problem
N00NchieS Offline
Fresh Scripter

Registered: 2002-09-23
Posts: 7
The Key in question is a messenger installer key as i am working on a messenger removal addon for our logon scripts to stop users messin about on it hehe here is the key:

HKEY_CLASSES_ROOT\Installer\Products\C838BEBA7A1AD5C47B1EB834410B5034

If i can eva get rid of it via the logon script since i`ve also looked at regedit and regedt32`s command line switches and can`t find one as such yet to delete keys, guess i`m gonna hav to search for a third-party app that does hehe Oh joy [Razz]

Top
#35654 - 2003-01-24 02:46 PM Re: DelKey Problem
N00NchieS Offline
Fresh Scripter

Registered: 2002-09-23
Posts: 7
Its ok its kool now if i import a reg file using Shell and regedit which has all the keys that would normally be present in the location above buuut i changed all the values to " " (space) which in effect prevents MSN Messenger 5.0 install outright with a crash error code of:

( MSN Messenger setup has failed with error code "1638" )

Hahahahaha oh well problem solved [Smile]

Thanx for the help neways

Top
#35655 - 2003-01-24 03:36 PM Re: DelKey Problem
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You will need to use an account with administrative privileges in order to delete that key. You can use REGEDT32 to take a look at the registry key's ACL.
_________________________
There are two types of vessels, submarines and targets.

Top
#35656 - 2003-01-24 03:58 PM Re: DelKey Problem
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that is actually shortcut.
you would need to have rights on the whole path:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\C838BEBA7A1AD5C47B1EB834410B5034
_________________________
!

download KiXnet

Top
#35657 - 2003-01-24 04:39 PM Re: DelKey Problem
N00NchieS Offline
Fresh Scripter

Registered: 2002-09-23
Posts: 7
Cheers 4 the shortcut info Lonkero that info helped alot, means i don`t have to use external reg file now, ta!
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1452 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.08 seconds in which 0.04 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org