09-25-2018 08:39 AM
Hi,
I am creating a "File Condition" requirement and facing unexpected behaviour.
I am using "FileExistense" in "User_Profile" for Windows 10. By the default, Windows user profiles directory is C:\Users\%username%, where %username% is the username of the current logon user.
Which folder is "User_Profile" being reference during ISE posture? I have also tried "User_Desktop" without luck too.
Thanks
Wing Churn
Solved! Go to Solution.
09-25-2018 09:25 AM
'User_Profile' will put you in the C:\Users\%username% (Assuming C: is the system drive). From there you can add '\Desktop\test.txt' if you want to look for 'test.txt' file on the desktop.
09-25-2018 09:25 AM
'User_Profile' will put you in the C:\Users\%username% (Assuming C: is the system drive). From there you can add '\Desktop\test.txt' if you want to look for 'test.txt' file on the desktop.
09-25-2018 06:01 PM
Hi Hosuk,
I have tried putting in \test.txt and test.txt without luck. The full path of the file is c:\users\%username%\text.txt. Anything i should be checking?
Thanks
Wing Churn
09-25-2018 07:28 PM
I would check the posture policy starting from the condition > requirement > posture policy to make sure it is setup correctly. Check out the posture report to see if your requirement is being checked for the user. The condition like the following should work for your test:
Also, I suggest going through the posture deployment guide:
https://community.cisco.com/t5/security-documents/ise-posture-deployment-guide/ta-p/3680273
09-25-2018 07:41 PM
By the way, I just noticed that your example shows 'test.txt', but your file name is 'text.txt' (Notice the 's' vs. 'x'). Can you check the spelling of the file?
09-30-2018 11:44 PM
Hi Hosuk,
Thanks for the info, test.txt is just an example. I have tested in the lab and it works, previous issue was Windows UAC.
Thanks
Wing Churn
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide