Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Startup Script doesn't run through / Schedulded Task

$
0
0

Hello Guys

I have an issue with using a Startup Script to install a program. The script is really simple:

IF EXIST "C:\Program Files (x86)\G Data\AVKClient\GdAgentUi.exe" (exit /b) ELSE (C:\Users\g_buehler\Desktop\GDClientPck.exe /@_QuietInstallation="true" /@SelectedLanguage="DE" /@HostName=hostname /@GroupName="RAUSE02") 


But unfortunately, it doesn't run through. The script itself works, the credentials for the access are set correctly as well (Full Accecss for Authenticated users and Interactive) and GPResult tells me that it is applying the GPO, but the installation still doesn't run through.

So I tried to run the same Script as a Schedulded task (Immediate Task for Windwos 7 Machines), but the script still won't run through. GPResult also tells me, that the GPO has been applied.

So what am I doing wrong?

Thanks for your help.

Kind regards

Gabe

Edit: I was using GPResult again and got the following error message:

Result: Failure (Error Code: 0x80070005)


Viewing all articles
Browse latest Browse all 19997


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>