We want to use compliance management to know if anybody has modified a configuration .xml file in the user profile under %userprofile%\appdata\roaming\appname\common
I created a configuration item with these properties:
File or folder name: Configuration.xml
For the compliance rule I have tried checking Modify Date between two dates, and I have also tried checking file size equals, the problem is no matter what I do the compliance check always comes back compliant. I have tried copying non-compliant files into the folder and refreshing policy. But when I re-run evaluation it still thinks my system is compliant.
I am starting to think it might have a problem interpreting the variable %userprofile% in my path? Is there a better way to do this?
Thanks for reading