Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Task 1.5: Configure the workstations

In this task, you’ll create the local C:\Tools folder on workstations and then copy the tools from DC01 to the local folder. Then you will disable Microsoft Defender Antivirus.

  1. Minimize the RDP session to DC01 and open a new RDP session to WIN5 using the WIN5.rdp file in the Downloads folder.

  2. Select More choices, and then select Use a different account to sign in using MSMDI\MSAdmin32 and Passw0rd12!@ as the password.

    This login can take several minutes.

  3. In the Windows Search bar, enter Windows Security, and then open the Windows Security app.

  4. Select Virus & threat protection, and then select Manage settings.

  5. Turn off all protection options, and then close the Windows Security page.

  6. Right-click Start, and then select Windows PowerShell to open a PowerShell window and run the following command:

     # Create the directory if it doesn't exist
     New-Item -Path "C:\Tools" -ItemType Directory -Force
    
     #Exclude C:\Tools from Defender
     Add-MpPreference -ExclusionPath 'C:\Tools'
    
     # Copy the contents from \\DC01\tools to C:\Tools
     Copy-Item -Path "\\DC01\tools\*" -Destination "C:\Tools\" -Recurse -Force
    
  7. Sign out of the RDP session on WIN5.

  8. Open a new RDP session to WIN6 using the WIN6.rdp file in the Downloads folder.

  9. Select More choices, and then select Use a different account to sign in using MSMDI\MSAdmin32 and Passw0rd12!@ as the password.

    This login can take several minutes.

  10. In the Windows Search bar, enter Windows Security, and then open the Windows Security app.

  11. Select Virus & threat protection, and then select Manage settings.

  12. Turn off all protection options, and then close the Windows Security page.

  13. Right-click Start and then select Windows PowerShell to open a PowerShell window and run the following command:

     # Create the directory if it doesn't exist
     New-Item -Path "C:\Tools" -ItemType Directory -Force
    
     #Exclude c:\Tools from Defender
     Add-MpPreference -ExclusionPath 'C:\Tools'
    
     # Copy the contents from \\DC01\tools to C:\Tools
     Copy-Item -Path "\\DC01\tools\*" -Destination "C:\Tools\" -Recurse -Force