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

Comments

Please log in to comment

Answers

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

Answered 04/11/2015 by: JordanNolan
Third Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity