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 

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

Just found this thread outlining my exact issue, with no final resolution

http://www.itninja.com/question/k1000-changing-the-logon-bakground

Answered 04/11/2014 by: jgrotkier
Yellow Belt

Please log in to comment
0

Just found this thread outlining my exact issue, with no final resolution

http://www.itninja.com/question/k1000-changing-the-logon-bakground

Answered 04/11/2014 by: jgrotkier
Yellow Belt

Please log in to comment
0

In the kscript change System32 to SysNative.

Answered 04/11/2014 by: flip1001
Fourth Degree Green Belt

  • Thanks! Finally got it working.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share