I was running a script just fine on my PC. It crashed and I got a new one and I keep getting this error. (File C:\Users\19257\Desktop\DriveMaps.ps1 cannot be loaded because running scripts is disabled on this system.) So, I know the script if good. It runs on other people's computers.
WHAT I HAVE TRIED.
- Verified my PC is in the correct AD OU. Same as everyone else that can run the script.
 - I ran PowerShell as admin and tried these commands and get the same error.
 
Set-ExecutionPolicy RemoteSignedSet-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy UnrestrictedSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
- My setting are currently like this:
 
Scope ExecutionPolicy
----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser       Undefined
 LocalMachine       Undefined