OK - so we've been bit by the 1903 update that all of our customers Essentials Connectors (on 2016 servers) stopped working. I've found a fix that I'm happy with that in our testing seems to fix it 100% of the time (you can read up on it here: https://sbsland.me/2019/05/24/windows-10-update-1903-und-der-essentials-connector-fix/ sorry that it's in German - but you can also download his scripts here as well).
I need to deploy this via GPO to various sites, but it's a little tricky as the script, by default, doesn't like to run unless we bypass the security of it first.
So I need to push a computer policy out via GPO that adds a bunch of machine registry entries back in.
What I need to have clarification of, please, is can I simple setup the GPO like I would a script, but all the .reg and the .ps1 file into the GPO's folder directory (SHOW FILES portion of the GPO itself) and for the program be:
powershell.exe
With the parameters of "-ExecutionPolicy ByPass -File Fix-WSeLaunchpad-1903.ps1"
If I'm correct, this should launch powershell and bypass the local security and allow this script to run and install the .reg files also located in the GPO folder? Plus - being a computer GPO object, it'll run, by default, as administrator, correct?
Thanks in advance, Shawn
No GPO and powershell experts out there??? Someone's gotta know... :)