Map a network drive via group policy is a much easier and faster process than manually or logon scripts. user does not have to wait for the logon script to load or if the network path changes it automatically updates. It makes admin and user’s life much better and makes changes to the network without having to update each user. It should plan out the process, users, or groups it’s going to apply this network drive.
These days most of us using virtual storage drives for a server, most of the time these virtual storage disks are configured dynamically, so it grows as we use it, but does not shrink when you delete data unless you do compact. If you are using Hyper-V servers, it’s very easy to do, other hypervisors also offer similar compacting, you may just have to look around.
Here is screenshot of before compacting drive:
To compact in Microsoft Hyper-V hypervisor:
Open the Hyper-V Manager Select the VM Right-click on VM, click Settings Select the Hard Drive that you want to compact, then click Edit It will give you the location of the Disk and warning, please make sure you have a good backup, just in case something goes wrong Click Next
If you only see Expand option, that means your VM is running, you can’t Compact Click Next
Summary of Disk, click Finish and it will start compacting, time it takes to compact are depends on speed of drive and how much data you have deleted.
This is what it looks like after compacting, the size will vary depends on how much of your data being deleted.
That’s it, if you don’t get the drive space back, make sure to do the Drive Optimization first then re-do the compacting
To drive Optimize:
Login into server and right click on the drive select Properties
Click on Tools tab Click on Optimize
Then select the drive if you have more then one and click on Optimize
There may be a number of reasons you can’t delete some users from Active Directory, one of them could be domain admin or enterprise admin privileges. Another could be some objects are still in use or not sync up with an exchange, they both have some many references, so can’t delete active directory user with exchange ActiveSync
I had come across one after migration to Office 365, some user account that may have old Exchange attributes that cannot be deleted and you will have to manually give your self full access. here is how to delete those account that has privilege issues.
First you need to change the view to: use the “view -> users, Contacts, Groups, and Computers as containers”
Then go to the user you are having issue deleting, give you self full permission to object then you should be able to delete it
Most servers have 3rd party Antivirus solution, so you don’t need or want Windows Defender on your server. Here is how to uninstall it, so you can free up the resources of your server. You can remove via server manager or using PowerShell.
You can run this command to check if Windows Defender is running: