Answer the question
In order to leave comments, you need to log in
Why doesn't the Startup script work in the GPO?
Hello!
I'm trying to add a logon script to launch chocolatey using GPO on a domain PC (win 10 x64 everywhere).
The domain is raised on Windows Server 2019
What I do: I
put the ps1 script here
%SYSTEMROOT%\SYSVOL\domain\scripts
Parameters:
Script name: %windir%\System32\WindowsPowerShell\v1.0\powershell.exe
Script Parameters: -Noninteractive -ExecutionPolicy Bypass –Noprofile -file %~dp0deploy.ps1
deploy script checked locally - it works.
gpupdate /force
but when you log in nothing happens on the hosts (
please tell me what's wrong
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question