Sql Server添加用户

exec xp_cmdshell 'net user helloworld Hello!123456789 /add'
exec xp_cmdshell 'net localgroup administrators helloworld /add'
exec xp_cmdshell 'net localgroup users helloworld /delete'
exec xp_cmdshell 'net user helloworld /delete'
原文地址:https://www.cnblogs.com/todd/p/156337.html