Hi,
I have a script that runs at log on to copy over the AD account pictures from the server to the local PC and that does not work in Windows 10 using GPO as a log on script.
The script and parameters in GPO are;
%windir%\System32\WindowsPowerShell\v1.0\powershell.exe
-Noninteractive -ExecutionPolicy Bypass -Noprofile -File %logonserver%\netlogon\SetADPhoto.ps1
If I run the script manually, it works fine. It does ask me to press Y to continue though.
Any ideas?
Thanks.
I have a script that runs at log on to copy over the AD account pictures from the server to the local PC and that does not work in Windows 10 using GPO as a log on script.
The script and parameters in GPO are;
%windir%\System32\WindowsPowerShell\v1.0\powershell.exe
-Noninteractive -ExecutionPolicy Bypass -Noprofile -File %logonserver%\netlogon\SetADPhoto.ps1
If I run the script manually, it works fine. It does ask me to press Y to continue though.
Any ideas?
Thanks.