Depends on what you deem compliant. If a machine is compliant if all profiles on the machine have the file, then that would be easy. Anything otherwise you would need to put the logic into the script.
Daniel Ratliff From: [email protected] [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Wednesday, January 18, 2017 4:23 PM To: [email protected] Subject: [mssms] RE: Configuration baseline possible for %localappdata% content? That makes perfect sense. How would you recommend I get around this? I would assume a PS script would have the same problem? Mike From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Daniel Ratliff Sent: Wednesday, January 18, 2017 11:17 AM To: [email protected]<mailto:[email protected]> Subject: [mssms] RE: Configuration baseline possible for %localappdata% content? %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]> [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Wednesday, January 18, 2017 2:07 PM To: [email protected]<mailto:[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. 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.

