Scripting to find does the file exisit
Does this path exist
I and trying to determine if this specific path exists on all desktop in our system. I have run the script Verify a file exists looking for "C:\Windows\System32\DriverStore\FileRepository\oemsetup.inf_amd64_4ce5f977604e9d93\ricu0qcl.ini". It keeps coming back with it does not exist. I have an other path I tried (that I know does in fact exist) and it still returns a false directory does not exist.
Answers (2)
Sysnative vs Syswow, and KACE being a 32bits application is where the "issue" lies.
read the first pragraphs about Sysnative:
https://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm
And check this:
https://support.quest.com/kace-systems-management-appliance/kb/118892/scripts-or-custom-inventory-rules-not-running-as-expected-on-x64-64-bit-clients
Comments:
-
I had found this information and tried changing it the Sysnative, but received the same result. - jrbartes 4 years ago
If you only need to know if a file exists, I use this Powershell script for a variety of files. As long as the computer is on, you should get a list of computers with the file.
http://robwillis.info/2012/03/powershell-remote-file-query/