K1000 KScript "Verify Folder Exists" misreporting
I am setting up a script to verify whether a folder exists at c:\Windows\System32\oobe\info\backgrounds. This script also runs a batch file as part of the remediation that creates the folder, then copies an image into that folder.
The issue is kind of strange. When I first run the script it correctly reports that the folder doesn't exist, and runs the batch file. The batch file reports back that the file was sucessfully copied into the new folder. The issue is that the folder never gets created, but the script reports back that the folder exists. Even if I remove the remediation portion and only check if the folder exists, I still get a false positive.
If I run the same "Check" on another machine, it reports correctly until I try to remediate the new machine again. From that point forward it consistently misreports the existence of that folder. Now I have a few machines without the background folder that I can't force remediation on because the KACE doesn't think they need remediation.
Any ideas?
Thanks