Keresés

Új hozzászólás Aktív témák

  • Steph88

    csendes tag

    válasz Döglött Róka #1079 üzenetére

    PS C:\Users\Administrator>Set-ExecutionPolicy Unrestricted -Force
    set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overrid
    policy defined at a more specific scope. Due to the override, your shell will retain its current effective ex
    policy of RemoteSigned. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more infor
    lease see "Get-Help Set-ExecutionPolicy".
    At line:1 char:1
    + set-ExecutionPolicy Bypass
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
    + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand

    Nem engedi szerveren, elutasítja. Pedig adminként vagyok bent, adminként is futtatom, mintha szerveren ez tiltott lenne. Oké, gondolom nem véletlen van ez és nem jó engedni minden jöttment script futtatását. De ha már benne van a logonscriptél a powershell futtatása, miért ilyen bonyolult engedélyezni? Vagy talán ha aláíratom a scriptet, engedni fogja? Mondjuk ezt még kipróbálhatom...

Új hozzászólás Aktív témák