Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set-ExecutionPolicy -ExecutionPolicy Bypass localmachine
- Set-ExecutionPolicy -ExecutionPolicy Restricted localmachine
- Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" -Name '!UserProfile' -Value "powershell -file C:\Users\Public\Documents\Nastaveni\User_Profile.ps1"
Advertisement
Add Comment
Please, Sign In to add comment