program stopped during optimization with error log

Asked by fulvio marro

this is the log of the error:

Current Date/Time: 08/04/2010 13.27.39
Exec. Date/Time: 08/04/2010 13.25.37
Build Date: 01/12/2009
OS: Microsoft Windows NT 6.0.6002 Service Pack 2
Language: it-IT
System Uptime: 0 Days 0 Hours 6 Mins 11 Secs
Program Uptime: 00:01:45.8310784
PID: 1356
Executable: C:\Windows\UltraDefrag\Little Registry Optimizer\Little Registry Optimizer.exe
Process Name: System.Diagnostics.Process (Little Registry Optimizer)
Main Module Name: Little Registry Optimizer.exe
Module Count: 54
Thread Count: 20
Thread ID: 12
Is Admin: True
Is Debugged: False
Version: 0.3
CLR Version: 2.0.50727.4200

Type #0 System.ComponentModel.Win32Exception
NativeErrorCode #0: 5
ErrorCode #0: -2147467259
Message #0: Accesso negato
TargetSite #0: Void CompactHive()
Source #0: Little Registry Optimizer

StackTrace:
   in Little_Registry_Optimizer.Hive.CompactHive()
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart()

THANK U VEEERY MUCH!

Question information

Language:
English Edit question
Status:
Solved
For:
Little Registry Optimizer Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nick (ub3rst4r) said :
#1

Hi,

It seems I have pinpointed the reason for this error. Windows uses ACLs (Access Control Lists) to protect files and components so that they can only be accessed if the user has permission. You can read more about it @ http://en.wikipedia.org/wiki/Access_control_list. There is a permission that is denying LRO access to one of the registry keys and thus causing the error. If you would like to try and manually fix this, I have provided instructions below. However, I will see if I can I create a fix for this so all the users of LRO wont be affected by this.

1. Go Start -> All Programs -> Accessories -> Run -> Enter "regedit" and OK
2. Navigate to each of the "registry keys" below
3. Right click on the registry key and go to "Permissions..."
4. Under "Group or user names:" check and see if there is "Administrators". If there is, click on it and make sure "Full Control" is set to allow below.
5. Otherwise, go to "Add..." and in the text box enter "Administrators" and click OK.

Registry keys to check:
HKEY_LOCAL_MACHINE\SECURITY
HKEY_LOCAL_MACHINE\SOFTWARE
HKEY_LOCAL_MACHINE\SYSTEM
HKEY_LOCAL_MACHINE\SAM
HKEY_LOCAL_MACHINE\Schema
HKEY_LOCAL_MACHINE\COMPONENTS
HKEY_USERS\.DEFAULT
HKEY_USERS\S-1-5-18
HKEY_USERS\S-1-5-19
HKEY_USERS\S-1-5-20
HKEY_USERS\S-1-5-21-3526181780-760201759-2376863416-1000 (probably different)
HKEY_USERS\S-1-5-21-3526181780-760201759-2376863416-1000_Classes (probably different)

- Nick

Revision history for this message
Nick (ub3rst4r) said :
#2

Havent recieved response

Revision history for this message
Patrick Hernandez (spookievision) said :
#3

Hello,

I am also getting this problem with the exact same error. I have tried the permissions settings you suggest above but I am still receiving the error. All help is greatly appreciated.

Thanks

- Pat