%localappdata% is a user profile environment variable. When running as SYSTEM, as SCCM does, it will check the SYSTEM profile in system32. You need a script to parse each users %localappdata% directory.
Daniel Ratliff From: [email protected] [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Wednesday, January 18, 2017 2:07 PM To: [email protected] Subject: [mssms] Configuration baseline possible for %localappdata% content? I want to be able to check for compliance of a file located in the logged in user's %localappdata%\XXX\ directory. I just need to know if the file exists. Computers are reporting non-compliant even though I've verified the file exists. I'm guessing it doesn't like using %localappdata%? Would a better method be to use a PowerShell script to check the existence of the file instead? Best Regards, Mike Murray Desktop Engineer/IT Consultant - IT Support Services California State University, Chico 530.898.4357 [email protected]<mailto:[email protected]> Remember, Chico State will NEVER ask you for your password via email! For more information about recognizing phishing scam emails go to: http://www.csuchico.edu/isec/basics/spam-and-phishing.shtml The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.

