分秒必争

个人技术博客,笔记,杂谈之地

« 使用ShellExecute函数运行其他程序python os模块 »
Nov
28

解决系统登陆后自动注销

单位一电脑登陆输入密码后注销,安全模式和最后一次正确配置都不能解决,其实登陆后注销的原因就2个,系统文件破坏被删除,注册被修改,而此中的系统文件主要为三个Explorer.exe      %SystemRoot%\system32\logonui.exe       C:\WINDOWS\system32\userinit.exe,而注册表的键值就如下所示

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Shell"="Explorer.exe"
"Userinit"="C:\\WINDOWS\\system32\\userinit.exe,"
"UIHost"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
  00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6c,00,\
  6f,00,67,00,6f,00,6e,00,75,00,69,00,2e,00,65,00,78,00,65,00,00,00


从安装光盘里面提取userinit.exe文件(在安装光盘i386目录下,文件名是USERINIT.EX_,
用expand命令即可把userinit.exe解压出来),然后放到%systemroot%\system32目录里面即可
注意:expand命令这样使用
expand 光盘盘符:\i386\USERINIT.EX_ 系统盘盘符:\Windows\system32

或者用深度的系统进入Win PE,然后再提取这几个系统文件到系统中,打开系统的注册表,修改即可

Share
« 使用ShellExecute函数运行其他程序python os模块 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

Channels

Categories

Comments

Previous

Powered By Z-Blog 1.8 Walle Build 100427  Copyright www.djhui.net. Some Rights Reserved. 浙ICP 9017588