Need assistance configuring GPO assigned script to run with admin privileges under normal domain user account
I am attempting to silently run an uninstall script via a GPO when a normal domain user logs into the device.
My understanding is that anything run at startup uses the system account and therefore the script should work fine but that is not my experience. The files copy over fine and the script runs but not with admin (install) privileges.
Any assistance to resolve this is appreciated
(See attached screenshots)
CMD file being executed:
@echo offif not exist "C:\Programdata\install_wim_tweak.exe" xcopy "\\maccrayhs\msiapps\uninstall_edge\*.*" "C:\Programdata\"echo Uninstalling Microsoft Edge...cd /d "%~dp0"echo Uninstalling Microsoft Edge...CLSC:\Programdata\install_wim_tweak.exe /o /lC:\Programdata\install_wim_tweak.exe /o /c Microsoft-Windows-Internet-Browser-Package /rC:\Programdata\install_wim_tweak.exe /h /o /l