积极答复者
如何恢复注册表系统默认的权限,问题具体详见

问题
-
我在装.net 4.0的之前遇到过问题,我就卸载了没有卸干净尝试官方提供的.net清理工具刚开始好用,后来又出现问题了,具体问题是注册表拒绝写入,我的电脑内没有装任何防护软件也就是说,不是软件阻止的写入注册表,而是权限方面的问题,我就逐个去改最后总算把.net 4.0装上了,但是新的问题随之又来了无法在控制面板修复安装.net 4.0之前的拒绝写入注册表的问题还存在。
.net 4.0的补丁几乎都无法装上,全部报错。错误大概如下
"产品: Microsoft .NET Framework 4 Client Profile - 无法安装更新“KB2468871”。错误代码 1603。可以在日志文件 C:\Users\Empyrean\AppData\Local\Temp\KB2468871v2_20120221_230334976-Microsoft .NET Framework 4 Client Profile-MSP0.txt 中找到其他信息。"
然后我就尝试用恢复Windows默认权限的命令
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
运行这个之后也报错了,svesrvl.log
如下:
2012年2月21日 23:11:35
----配置引擎初始化成功。--------正在读取配置模板信息...
----配置用户权限...
SeImpersonatePrivilege 必须被指派给管理员。此设置被调整。
必须将 SeImpersonatePrivilege 分配给 SERVICE。此设置已被调整。
配置 S-1-5-21-2358338560-3722021098-2420278747-1002。
删除 SeDenyBatchLogonRight。
删除 SeDenyInteractiveLogonRight。
配置 S-1-5-21-2358338560-3722021098-2420278747-1013。
删除 SeInteractiveLogonRight。
配置 S-1-5-21-2358338560-3722021098-2420278747-1016。
删除 SeInteractiveLogonRight。
配置 S-1-5-32-568。
删除 SeBatchLogonRight。
删除 SeImpersonatePrivilege。
配置 S-1-5-19。
配置 S-1-5-20。
配置 S-1-5-32-544。
配置 S-1-5-32-551。
配置 S-1-5-32-559。
配置 S-1-5-32-545。
配置 S-1-1-0。
配置 S-1-5-6。
配置 S-1-5-21-2358338560-3722021098-2420278747-501。
配置 S-1-5-32-555。
配置 S-1-5-80-0。
配置 S-1-5-80-3139157870-2983391045-3678747466-658725712-1809340420。用户权限配置成功结束。
----配置组成员身份...
配置 Users。组成员身份配置成功结束。
----配置 64 位注册表项...
配置 users\.default。
配置 machine\software。
配置 machine\software\classes。
警告 5: 拒绝访问。
在 machine\software\classes 上设置安全性的错误。
警告 5: 拒绝访问。
在 machine\software\classes 上设置安全性的错误。
警告 5: 拒绝访问。
在 machine\system\currentcontrolset\control 上设置安全性的错误。
警告 5: 拒绝访问。
在 machine\system\currentcontrolset\control\lsa 上设置安全性的错误。
配置 machine\system\currentcontrolset\control\lsa\data。
配置 machine\system\currentcontrolset\control\lsa\gbg。
配置 machine\system\currentcontrolset\control\lsa\jd。
配置 machine\system\currentcontrolset\control\lsa\skew1。
配置 machine\system\currentcontrolset\control\nsi。
配置 machine\system\currentcontrolset\control\nsi\{eb004a00-9b1a-11d4-9123-0050047759bc}\4。
配置 machine\system\currentcontrolset\control\nsi\{eb004a01-9b1a-11d4-9123-0050047759bc}\4。
配置 machine\system\currentcontrolset\control\nsi\{eb004a1c-9b1a-11d4-9123-0050047759bc}\0。
配置 machine\system\currentcontrolset\control\wmi\security。
配置 machine\system\currentcontrolset\services\appmgmt\security。
配置 machine\system\currentcontrolset\services\scardsvr\security。
配置 machine\system\currentcontrolset\services\stisvc\security。
警告 2: 系统找不到指定的文件。
为 machine\system\currentcontrolset\services\sysmonlog 枚举信息的错误。注册表项配置成功结束。
----配置 32 位注册表项...
配置 machine\software。
警告 1336: 访问控制列表(ACL)结构无效。
在 machine\software\Licenses 上设置安全性的错误。注册表项配置已完成,但有一个或多个错误。
----配置文件安全性...
配置 c:\program files\common files\speechengines\microsoft\tts。
警告 2: 系统找不到指定的文件。
在 c:\program files\common files\speechengines\microsoft\tts 上设置安全性的错误。
配置 c:\programdata\microsoft\windows\drm。
配置 c:\programdata\microsoft\windows\drm\cache。
配置 c:\windows\repair\default。
警告 3: 系统找不到指定的路径。
在 c:\windows\repair\default 上设置安全性的错误。
配置 c:\windows\repair\ntuser.dat。
警告 3: 系统找不到指定的路径。
在 c:\windows\repair\ntuser.dat 上设置安全性的错误。
配置 c:\windows\repair\sam。
警告 3: 系统找不到指定的路径。
在 c:\windows\repair\sam 上设置安全性的错误。
配置 c:\windows\repair\security。
警告 3: 系统找不到指定的路径。
在 c:\windows\repair\security 上设置安全性的错误。
配置 c:\windows\repair\software。
警告 3: 系统找不到指定的路径。
在 c:\windows\repair\software 上设置安全性的错误。
配置 c:\windows\repair\system。
警告 3: 系统找不到指定的路径。
在 c:\windows\repair\system 上设置安全性的错误。
配置 c:\windows\system32\windows media。
警告 2: 系统找不到指定的文件。
在 c:\windows\system32\windows media 上设置安全性的错误。
配置 c:\windows\syswow64\export。
警告 2: 系统找不到指定的文件。
在 c:\windows\syswow64\export 上设置安全性的错误。
配置 c:\windows\syswow64\ias。
警告 2: 系统找不到指定的文件。
在 c:\windows\syswow64\ias 上设置安全性的错误。文件安全性配置成功结束。
----配置常规服务设置...
配置 sysmonlog。
错误 1060: 指定的服务未安装。
打开 sysmonlog 的错误。
配置 SamSs。
配置 ntmssvc。
错误 1060: 指定的服务未安装。
打开 ntmssvc 的错误。
配置 netddedsdm。
错误 1060: 指定的服务未安装。
打开 netddedsdm 的错误。
配置 netdde。
错误 1060: 指定的服务未安装。
打开 netdde 的错误。
配置 dmserver。
错误 1060: 指定的服务未安装。
打开 dmserver 的错误。
配置 clipsrv。
错误 1060: 指定的服务未安装。
打开 clipsrv 的错误。
配置 Browser。常规服务配置成功结束。
----配置可用附加引擎...附件引擎配置成功结束。
----配置安全策略...
配置密码信息。
管理员帐户被禁用。
来宾帐户被禁用。系统访问配置成功结束。
LSA 匿名查找名称设置 : 现有 SD = D:(D;;0x800;;;AN)(A;;0xf1fff;;;BA)(A;;0x20801;;;WD)(A;;0x801;;;AN)(A;;0x1000;;;LS)(A;;0x1000;;;NS)(A;;0x1000;;;S-1-5-17)。
配置 LSA 匿名查找设置。
配置 machine\software\microsoft\windows nt\currentversion\setup\recoveryconsole\securitylevel。
配置 machine\software\microsoft\windows nt\currentversion\setup\recoveryconsole\setcommand。
配置 machine\software\microsoft\windows nt\currentversion\winlogon\scremoveoption。
配置 machine\software\microsoft\windows\currentversion\policies\system\dontdisplaylastusername。
配置 machine\software\microsoft\windows\currentversion\policies\system\legalnoticecaption。
配置 machine\software\microsoft\windows\currentversion\policies\system\legalnoticetext。
配置 machine\software\microsoft\windows\currentversion\policies\system\scforceoption。
配置 machine\software\microsoft\windows\currentversion\policies\system\shutdownwithoutlogon。
配置 machine\software\microsoft\windows\currentversion\policies\system\undockwithoutlogon。
配置 machine\software\policies\microsoft\windows\safer\codeidentifiers\authenticodeenabled。
配置 machine\system\currentcontrolset\control\lsa\auditbaseobjects。
配置 machine\system\currentcontrolset\control\lsa\crashonauditfail。
配置 machine\system\currentcontrolset\control\lsa\disabledomaincreds。
配置 machine\system\currentcontrolset\control\lsa\everyoneincludesanonymous。
配置 machine\system\currentcontrolset\control\lsa\fipsalgorithmpolicy\enabled。
配置 machine\system\currentcontrolset\control\lsa\forceguest。
配置 machine\system\currentcontrolset\control\lsa\fullprivilegeauditing。
配置 machine\system\currentcontrolset\control\lsa\nolmhash。
配置 machine\system\currentcontrolset\control\lsa\restrictanonymous。
配置 machine\system\currentcontrolset\control\lsa\restrictanonymoussam。
配置 machine\system\currentcontrolset\control\print\providers\lanman print services\servers\addprinterdrivers。
配置 machine\system\currentcontrolset\control\session manager\kernel\obcaseinsensitive。
配置 machine\system\currentcontrolset\control\session manager\memory management\clearpagefileatshutdown。
配置 machine\system\currentcontrolset\control\session manager\protectionmode。
配置 machine\system\currentcontrolset\services\lanmanserver\parameters\autodisconnect。
配置 machine\system\currentcontrolset\services\lanmanserver\parameters\enableforcedlogoff。
配置 machine\system\currentcontrolset\services\lanmanserver\parameters\enablesecuritysignature。
配置 machine\system\currentcontrolset\services\lanmanserver\parameters\requiresecuritysignature。
配置 machine\system\currentcontrolset\services\lanmanserver\parameters\restrictnullsessaccess。
配置 machine\system\currentcontrolset\services\lanmanworkstation\parameters\enableplaintextpassword。
配置 machine\system\currentcontrolset\services\lanmanworkstation\parameters\enablesecuritysignature。
配置 machine\system\currentcontrolset\services\lanmanworkstation\parameters\requiresecuritysignature。
配置 machine\system\currentcontrolset\services\ldap\ldapclientintegrity。注册表值配置成功结束。
配置记录设置。审核/记录配置成功结束。
----配置可用附加引擎...附件引擎配置成功结束。
----不初始化配置引擎...
望给予新的思路尝试解决。
答案
-
问题已经解决,修改方法
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components
更改权限
- 已标记为答案 Juke ChouModerator 2012年2月23日 8:34