SQL Server establishes this unit user account

xiaoxiao2021-03-06  70

Use the command:

NET User User Name Password / Add

NET localgroup group name username / add

SQL Server executes command

Execute XP_cmdshell 'Command String'

Execute XP_cmdshell "Command String"

Instructions

Execute XP_cmdshell 'Net User XYWQ Zerg / Add'

Execute XP_cmdshell 'Net localgroup administrators xywq / add'

Successfully use SQL Server to add a Windows administrator account

转载请注明原文地址:https://www.9cbs.com/read-109651.html

New Post(0)