Windows Event Log service will not start
When trying to start the Windows Event Log service, I get:
"Windows could not start the Windows Event Log service on Local Computer.
Error 4201: The instance name passed was not recognized as valid by a WMI
data provider."
MSKB and Google searches yield nothing useful - just a few people trying to
get this question answered.
Anyone have a clue? If I can't fix this my only option is to reformat and
reinstall as all repair options have failed.
Re: Windows Event Log service will not start
The way I ended up getting mine to work again was permissions related.
Someone suggested that the permissions on some %systemroot% sub-dirs was
messed up... and when I checked, it was true... when I reset the owner
on a number of them, and rebooted, that fixed it. :)
Note that this might still be the same problem as is resolved by moving
the Logs and Logfiles dirs/files - since that might have been one of the
ones I reset the owner on, and deleting them would probably just cause
them to be re-created with proper permissions.
The -reason- my permissions were messed up is because I set up to
dual-boot Vista 64 and windows XP - and at one point from Win XP I
couldn't get at some files, I did a take owner, at some point on the
Vista system drive, I think probably the root... by the time I realized
the event log wasn't working, I'd forgotten about the take-owner. (I
didn't notice right away...)
Re: Windows Event Log service will not start
Your input, along with the following, worked on my Vista Home Premium 64 - Had used PC mover to migrate from WinXP Pro to Vista and all of the administrative issues, less two minors, were resolved. Prior to utilizing your instructions, here are another set worth review, as this took care of 200k subkeys:
Please perform the following steps to reset the permissions in registry.
1. Download and install the SubInACL utility.
1. Download and install the SubInACL utility.
Link: http://www.microsoft.com/downloads/d...displaylang=en
2. Create a new text file named fix_registry_permissions.bat and add the following text to it and save it. If your program files are on another drive or your Windows directory is somewhere else or with a different name than below, simply substitute what is shown:
----------------
cd c:\program files (x86)\Windows Resource Kits\Tools
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories c:\ /grant=administrators=f /grant=system=f
subinacl /subdirectories c:\Windows\*.* /grant=administrators=f /grant=system=f
----------------
3. Run the file from the elevated command prompt.
You can also try the following command if the above mentioned steps doesnt help you:
a) secedit
b) icacls
In Regedit - You may also try this:
Right-click the Key,
Click Premissions (puts you in Security)
Click Advanced,
Click Owner,
Click Other users or groups,
Click Advanced,
Click Find Now,
Select your account - (the usual one you are signed in as)
Click Ok,
Click Ok,
Select your account,
Click Ok.
Now you can set permissions as you wish.
Do this for every major Key you want (all of the subkeys will follow).
Thanks again for your assist - it was the capper, as the Event Log is it's own animal for admin permission...