Introduction
Encrypting File System (EFS) is a feature that is included in Microsoft Windows Server operating systems starting from Windows Server 2003 and later versions. EFS enables users and administrators to encrypt files and folders on a Windows Server to protect them from unauthorized access. The Encrypting File System can be deployed via Group Policy Object (GPO) in an Active Directory (AD) environment.
Installing CA Functionality
Before setting up EFS, you will need to install the Certification Authority (CA) functionality on your Windows Server. To do this, follow these steps:
- Open Server Manager from the Start Menu.
- Click on
Add Roles and Featuresfrom the menu on the right. - Select
Active Directory Certificate Servicesfrom the list of roles and clickNext >. - Select
Certificate Authorityfrom the list of services and clickNext >. - Select the type of CA that you want to install and click
Next >. - Enter a name for the CA and select the CA database location, and then click
Install.
Setting up EFS via GPO
After installing the CA functionality on your Windows Server, you can proceed to set up EFS via GPO. Here are the steps:
- Open Group Policy Management from the Start Menu.
- Create a new GPO or edit an existing one.
- Navigate to
Computer Configuration > Policies > Windows Settings > Security Settings > Public Key Policies. - Right-click on
Encrypting File Systemand selectProperties. - Click on the
Addbutton under theSecurity Settingstab. - Enter the name or the distinguished name (DN) of the user or group and click
Check Names. - Check the
Encrypt data stored on this computeroption and clickOk.
Adding EFS Recovery Agents
After configuring EFS on a Windows Server via GPO, it is recommended to add EFS recovery agents to ensure that the encrypted data can be accessed by domain administrators in case the user forgets the password or leaves the organization.
- Open Certificate Templates from the Start Menu.
- Right-click on
EFS Recovery Agentand selectDuplicate Template. - Enter a name for the template and select
Publish to Active Directoryand clickOk. - Open Group Policy Management from the Start Menu.
- Edit the GPO that was created or edited earlier.
- Navigate to
Computer Configuration > Policies > Windows Settings > Security Settings > Public Key Policies. - Right-click on
Encrypting File Systemand selectAdd Data Recovery Agents. - Click
Addand select the certificate that was created earlier and clickOk.
- Encrypting File System (EFS) is a feature that is included in Microsoft Windows Server operating systems starting from Windows Server 2003 and later versions. EFS enables users and administrators to encrypt files and folders on a Windows Server to protect them from unauthorized access.
- The Encrypting File System can be deployed via Group Policy Object (GPO) in an Active Directory (AD) environment.
- Before setting up EFS, you will need to install the Certification Authority (CA) functionality on your Windows Server.
- Adding EFS recovery agents is recommended to ensure that the encrypted data ```kotlin can be accessed by domain administrators in case the user forgets the password or leaves the organization. ```