/build/static/layout/Breadcrumb_cap_w.png

K1000 Agent install through GPO

I setup the K1000 Agent to be installed through GPO. About half the office got the agent and the other half have not gotten the agent. All the PCs are in the same OU, there all live, I can ping them, I can RDP to them. Not sure why the agent is not being installed.


HelpĀ 


0 Comments   [ + ] Show comments

Answers (1)

Posted by: JordanNolan 9 years ago
10th Degree Black Belt
0

If the MSI file is on a share that replicates like a DFS or the Netlogon folder some client may have issues because they are trying to lock the file when replication does not allow this.  You can reboot a client and look in the Event viewer for these GPO and installation events.  The event will mention that it could not find or access the file.

One of the ways to avoid this is put it on a non-dfs server share that allows access to Everyone.  Remember, the GPO install will run as the local computer account, not a domain user or anyone individual.  The draw back of this is when you are on a WAN and want to deploy from a single GPO.

At one point I worked around this by utilizing a GPO that had a startup script (Not user logon script).  I created a script that checked the registry key to see if the package was installed and if it was not it would copy the package down to the %TEMP% folder (Windows\Temp) and run the MSI silently.

-------------------

@Echo Off

REM check for the existence of some registry key.  If it is there go to All_Set

reg query HKLM\some\registry\key && goto All_Set || goto Install_This

:Install_This

REM Copy the file down to temp and run. Send N to the copy command if the file exists

echo n| copy %logonserver%\netlogon\mymsi.msi %TEMP%  

REM Run the command silently

msiexec.exe /i %TEMP%\mymsi.msi /qn /noreboot

:All_Set

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ