There are thousands of hidden files on your workstation that were installed with your applications and operating system that you probably are not aware exist. Deleting these hidden files could be catastrophic, so keeping these files safe and hidden is important. If you discover certain hidden files and attempt to delete or alter them, there could be a number of unforeseen consequences for the operating system and applications, including data loss and completely crashing the system.
To safeguard against such a system crash, be certain hidden files are in fact hidden. In a domain environment it is best to use group policy to disable showing hidden files to quickly ensure all workstations comply with this policy.
To test this GPO, you will need to bypass it by setting the folder options on the workstation.
After this commands runs the workstation will apply the Group Policy settings from the domain controller. Once this happens the file you created on the desktop should disappear.
Although a user can manually show hidden files it is rare that one will have any desire or reason to do so. If a user does manually circumvent the GPO it will reapply each time the user logs in or reboots the workstation. You can also manually force the update by running gpupdate /force from the command line.
Creating the new GPO should keep all of your hidden files safe from users who might try to delete them preventing data loss and crashed applications or workstations.
Additional Tips You May Enjoy Reading
A Free Tool For Testing Anti-Ransomware Defenses
Lessor Known File Extension Tricks Used By Hackers
Enumerate File Shares With Powershell
Recover Windows Activation Key
Password Expiry Email Notification
Brute Force Attack Detection and Blacklisting with Powershell
Account Lockout Detection and Notification
Employee Emergency Notifications
Using NMAP to Find and Close Open Server Ports