在服务器上运行:

EXEC sp_configure 'show advanced options', 1; GO RECONFIGURE; GO EXEC sp_configure 'xp_cmdshell',1 GO RECONFIGURE GO

EXEC XP_CMDSHELL 'net use B: \\RemoteServerName\ShareName password /user:domain\username'


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2021-10-06
  • 2021-05-04
  • 2021-10-29
  • 2021-09-16
  • 2021-12-11
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2021-12-20
  • 2021-11-30
  • 2021-07-19
  • 2022-12-23
相关资源
相似解决方案