Jun 092013

In Windows 8, you may not be able to edit/delete registry entries even when running as an Administrator. You may be faced with errors like “Access denied” or “unable to delete entries”.

WARNING: Always backup your Windows registry before modifiying or deleting entries as this could render your system unstable. Edit windows registry at your OWN RISK!!!

The easisest way to work around the problem is to use PsExec which is a part of PsTools available from Microsoft Windows SysInternals. PsTools can be downloaded from here. Once downloaded, unzip the tool set.

1. Now, open a command window (search for “cmd”), right-click 'cmd' to select and click “Run as Administrator“.

2. Navigate to the unzipped directory (in my case c:\Users\Winsockfix\Downloads\PSTools) as follows:

cd c:\Users\Winsockfix\Downloads\PSTools

3. Now, run the following commands:

c:\Users\Winsockfix\Downloads\PSTools>psexec -i -d -s c:\windows\regedit.exe

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

This should launch regedit and should now be able to edit/delete registry entries.

In the command above,

-i Run the program so that the process runs in the console session.
-d Don't wait for application to terminate. Only use this option for non-interactive applications.
-s Run the process in system account


Incoming search terms:

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>