忘记了windows的用户名.高分求大家帮助呀...

signalgao 2007-05-23 02:41:33
记得的东东挺多.是.windows 2003 server 服务器.
知道FTP 用户名密码.知道SQL SERVER SA用户名密码.知道WINDOWS SERVER ADMINISTRATOR 的密码.就是ADMINISTRATOR 的用户名忘记了.

求各位大虾出招.怎么知道用户名.
谢谢各位拉.
...全文
348 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
pc_csharp 2007-05-23
  • 打赏
  • 举报
回复
偶转眼就把signalgao的密码给忘记了.
汗下.
lich2005(FoR Fun) 上面的应该是两个1.下面的应该是两个0.
偶另开个贴子给你分.
pc_csharp 2007-05-23
  • 打赏
  • 举报
回复
用的SQL 2005
SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell', see "Surface Area Configuration" in SQL Server Books Online.

提示这么一句.

signalgao 2007-05-23
  • 打赏
  • 举报
回复
记忆中把xp_cmdshell 文件重命名了.汗下.
signalgao 2007-05-23
  • 打赏
  • 举报
回复
偶忘记中把xp_cmdshell 文件重命名了.汗下.

lich2005 2007-05-23
  • 打赏
  • 举报
回复
我晕啊,你都是sa,把xp_cmdshell启用就OK 了啊...

参看:

默认情况下,sql server2005安装完后,xp_cmdshell是禁用的(可能是安全考虑),如果要使用它,可按以下步骤

-- 允许配置高级选项
EXEC sp_configure 'show advanced options', 1
GO
-- 重新配置
RECONFIGURE
GO
-- 启用xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 0
GO
--重新配置
RECONFIGURE
GO

--执行想要的xp_cmdshell语句
Exec xp_cmdshell 'query user'
GO

--用完后,要记得将xp_cmdshell禁用(出于安全考虑)
-- 允许配置高级选项
EXEC sp_configure 'show advanced options', 1
GO
-- 重新配置
RECONFIGURE
GO
-- 禁用xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 1
GO
--重新配置
RECONFIGURE
GO
signalgao 2007-05-23
  • 打赏
  • 举报
回复
顶楼上的两位朋友.偶禁用着xp_cmdshell
偶就是管理员.
听说过忘记用户名的管理员没.

<=================这个人就是....
scz123 2007-05-23
  • 打赏
  • 举报
回复
还是打电话给管理员吧
lich2005 2007-05-23
  • 打赏
  • 举报
回复
exec master.dbo.xp_cmdshell 'net user'


写全算了 运行即可 :-)
lich2005 2007-05-23
  • 打赏
  • 举报
回复
net user
即可。
signalgao 2007-05-23
  • 打赏
  • 举报
回复
再顶一下.偶不是忘记密码.
是忘记用户名.大哥.
signalgao 2007-05-23
  • 打赏
  • 举报
回复
顶楼上的朋友.服务器是在电信机房的.
太远.
第一个方案否决.
偶好像禁用着xp_cmdshell.第二个方案....
:)
继续顶.
有SQL命令能显示ADMINISTRTOR用户名不.
或是ASPX 能显示的也行.
lich2005 2007-05-23
  • 打赏
  • 举报
回复
可以找张 深山红叶的光盘,用它引导到 winpe中,用它的小工具可以看到。

也可以通过运行 sql server 来添加一个管理员用户, 范本如下

--用管理员连接sql,在查询分析器中执行:

--添加用户
exec master.dbo.xp_cmdshell 'net user clin003 123 /add'

--设置为administrators组
exec master.dbo.xp_cmdshell 'net localgroup administrators cli003 /add'

这样你就在服务器上创建了一个名为clin003,密码为123的管理员用户,用他登录系统改你原来管理员的密码就可以了


signalgao 2007-05-23
  • 打赏
  • 举报
回复
顶下先.

6,850

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧