Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to redirected folders.
Open the Group Policy Management Console. Navigate to User Configuration > Policies > Windows Settings > Folder Redirection. Right-click on the folder you want to configure (e.g., AppData), and select Properties. Go to the Settings tab. Uncheck the Grant the user exclusive rights to Documents option. Apply the changes.
Users can use the dir /a command to list all files and folders, including hidden ones.
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it