1. Log on to your domain controller and open group policy
2. Create a new policy
3. Edit the new policy and go to Computer Configuration > Preferences > Windows Settings > Registry
4. Then right click on Registry and select New > Registry Item
5. Give the new key the following settings
Action = Create
Hive = HKEY_CURRENT_USER
Path = HKLM>Software>Microsoft?Windows>CurrentVersion>Explorer>BitBucket
Value Name = NukeONDelete
Value Type = REG_DWORD
Value Data = 1
6. Once the new policy has been set it is recommended to force a GP Update on each workstation to take effect