When using an environment variable in the path of a File Synchronization the file does not sync to the target systems.
Windows Environment Variables that are consistent across most Windows systems in your environment place the file in the expected location for example: %AllUSERSPROFILE%, %PATH%, %SystemRoot%, %SystemDrive%. etc. However other variables that are specific to the user, particularly the %APPData% have unexpected results.
The agent runs as SYSTEM and therefore when synchronizing the file expands %APPData% to C:\Windows\system32\config\systemprofile\appdat.
By enabling debug on a target agent you can use the kdeploy.log to see where the file agent is putting the file.
Search for the file by name and find the entry that shows where the file was copied to. The following log example shows the results of using %AppData%\MyFolder as the path when distributing MyDocument.doc:
(Before 7.1):
[Wed Aug 28 11:44:08 2013] KDeploy InstallFS: FileSync C:\ProgramData\Dell\KACE\downloads\21\MyDocument.doc -> C:\Windows\system32\config\systemprofile\appdata\MyFolder\MyDocument.doc
(After 7.1):
[Wed Aug 28 11:44:08 2018] KDeploy InstallFS: FileSync C:\ProgramData\Quest\KACE\downloads\21\MyDocument.doc -> C:\Windows\system32\config\systemprofile\appdata\MyFolder\MyDocument.doc
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center