Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. What does this Package Manager Console Message mean?

What does this Package Manager Console Message mean?

Scheduled Pinned Locked Moved Visual Studio
visual-studiowindows-adminlinuxhelpquestion
5 Posts 2 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #1

    I'm getting this message, and the console window won't let me type any commands. I checked the execution policy and they're all set to "RemoteSigned". The admin tried running VS as admin and he gets it too. I do not have and cannot get admin rights on the box. Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of RemoteSigned. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy".

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    Richard DeemingR 1 Reply Last reply
    0
    • realJSOPR realJSOP

      I'm getting this message, and the console window won't let me type any commands. I checked the execution policy and they're all set to "RemoteSigned". The admin tried running VS as admin and he gets it too. I do not have and cannot get admin rights on the box. Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of RemoteSigned. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy".

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Sounds like it's being overridden by Group Policy.

      Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Powershell
      Turn on Script Execution = ...

      Issues With Configuring Powershell ExecutionPolicy via Group Policy[^] Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope!!! – Paresh's blog[^]


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      realJSOPR 2 Replies Last reply
      0
      • Richard DeemingR Richard Deeming

        Sounds like it's being overridden by Group Policy.

        Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Powershell
        Turn on Script Execution = ...

        Issues With Configuring Powershell ExecutionPolicy via Group Policy[^] Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope!!! – Paresh's blog[^]


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        It seems that the IT idiots propagated a new group policy across the DoD that (I assume) turns off all ability to execute powershell scripts (among other pointless changes).

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        1 Reply Last reply
        0
        • Richard DeemingR Richard Deeming

          Sounds like it's being overridden by Group Policy.

          Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Powershell
          Turn on Script Execution = ...

          Issues With Configuring Powershell ExecutionPolicy via Group Policy[^] Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope!!! – Paresh's blog[^]


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          realJSOPR Offline
          realJSOPR Offline
          realJSOP
          wrote on last edited by
          #4

          Richard Deeming wrote:

          Sounds like it's being overridden by Group Policy.

          ExecutionPolicy in registry is set to "RemoteSigned". When my admin runs the tool to change the local policy, he set all five(?) of the execution policies to "RemoteSigned". I can understand that even though the registry policy is the same , it thinks, "Hey I have a policy set in the registry, so it must be an override of whatever is set locally" (without actually checking to see what the override is), so it displays that message. But WHY does it preclude me from doing anything in the console window after the message is displayed?

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          Richard DeemingR 1 Reply Last reply
          0
          • realJSOPR realJSOP

            Richard Deeming wrote:

            Sounds like it's being overridden by Group Policy.

            ExecutionPolicy in registry is set to "RemoteSigned". When my admin runs the tool to change the local policy, he set all five(?) of the execution policies to "RemoteSigned". I can understand that even though the registry policy is the same , it thinks, "Hey I have a policy set in the registry, so it must be an override of whatever is set locally" (without actually checking to see what the override is), so it displays that message. But WHY does it preclude me from doing anything in the console window after the message is displayed?

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

            Richard DeemingR Offline
            Richard DeemingR Offline
            Richard Deeming
            wrote on last edited by
            #5

            Not sure, but you're not the only one: Visual Studio Extension appears to fail to run PowerShell if execution policy set in GPO, 2.8.6 and 3.0 · Issue #974 · NuGet/Home · GitHub[^] Towards the bottom, there's a link to a NuGet hotfix (v3.1.1 for VS2015; v2.8.7 for VS2013) which is supposed to solve the problem.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups