Windows 10: Cannot Set Execution Policy in Powershell Solved

Page 2 of 2 FirstFirst 12

  1. Posts : 276
    Windows 10 Insider Program, Linux Mint 19, Arcolinux, MX-17
    Thread Starter
       06 Jun 2015 #11

    Cliff S said: View Post
    One reminder though, after you set the ExePol to unrestricted and have run your script don't forget to reset it to either Remote Signed(to execute simple everyday scripts such as powershell"(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey"
    Or better yet if you don't use it often,, set it back to restricted. There is malware that can get access to PowerShell and then it'll have total access to your system.
      My ComputerSystem Spec

  2. Posts : 276
    Windows 10 Insider Program, Linux Mint 19, Arcolinux, MX-17
    Thread Starter
       08 Jun 2015 #12

    Solved Explanation

    Finally found link below which used "gpedit" and was my salvation. Can now run my script! :)

      My ComputerSystem Spec

  3. Cliff S's Avatar
    Posts : 21,737
    Win10 Pro, Win10 Pro N, Win10 Home, Win10 Pro Insider Fast Ring, Windows 8.1 Pro, Ubuntu
       08 Jun 2015 #13

    Good to hear:)
      My ComputersSystem Spec

Page 2 of 2 FirstFirst 12

Related Threads
Many of the Universal Apps cannot be uninstalled because the button is inactive (grayed out). This might be 'by design' for the Technical Preview since Microsoft wants users to test the Apps. The preferred method is to use the uninstall button...
Group policy :/ in General Support
Thanks to topgundcp Which got me piddling around with the whole group/ user policy crap I have found to get rid of the silly lock screen at startup...
I am currently having an issue with OneDrive using all my bandwidth when syncing large files. As in, if I were to turn syncing on right now, I wouldn't be able to load a single webpage. I don't know if its mostly a OneDrive issue, or maybe an ISP...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 00:58.
Find Us