Guest User

Untitled

a guest
Mar 14th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. @echo off
  2. cls
  3.  
  4. cmdkey /add:mydomain /user:mydomainadministrator /pass:administrator_password
  5. net use z: \myservermyshare /savecred
  6. z:
  7. runas /savecred /user:mydomainadministrator mybatch.bat
  8.  
  9. -2147467259: not specified
Add Comment
Please, Sign In to add comment