Skip to content

1.Practical implementation

Scenario: 1.Disable run 2.Unified background across the domain


Disable run

First on the AD :

  1. Open the Domain Controller
  2. From Start => Search for Group Policy Management Console (GPMC).
  3. Create a new GPO
    1. Right click on the Domain โ†’ choose Create a GPO in this domain, and Link it here.
    2. Name it Disable_Run

  1. Right click on the GPO โ†’ choose Edit
  2. From the Group Policy Management Editor:

    1. open User Configuration :
    2. โ†’ Administrative Templates

    1. โ†’ Start Menu and Taskbar

      1. Locate Remove Run menu from Start Menu :

      2. Double-click on it โ†’ select Enabled โ†’ Apply โ†’ OK :

THE BIG ERRORR And Solved :

  • Here I faced a problem, the user I rented was in an old OU, so I had to make a link between them as follows :
    • Open Group Policy Management (GPMC).
    • Locate the OU containing the user (IT_Department).
    • Right-click on it and select Link to an Existing GPO.

      • Select the GPO you created (Disable_Run)
        • After linking:
      • Open the GPO โ†’ Scope tab โ†’ Make sure Authenticated Users is present in Security Filtering :

Secondly, on the Client :

Go to the Client device and do the following:

  1. open CMD :
  2. This will perform a forced Group Policy update, so that the changes you made to the Domain Controller are immediately applied to the device.

After solving the problem on the client device:

  • On Client VM :

  • After logging back in as User2 โ†’ try:

    • Win + R โ†’ It doesn't open.

DONE

----


Steps to create a unified background across the domain :

  1. Prepare the background image 1. Prepare the image (for example: wallpaper.jpg). 2. Place it in a shared folder on the Domain Controller or any server.

    1. Make it available to users as read-only:
      1. Right click โ†’ Properties โ†’ Sharing โ†’ Advanced Sharing โ†’ Share.
      2. Permissions โ†’ Everyone โ†’ Read โœ….

  2. 2- Create a Group Policy

    • Open Group Policy Management (GPMC).
    • Right-click the Domain (NTI.local) โ†’ Create a GPO in this domain, and Link it here.
    • Name it, for example: Domain_Background :
  3. Edit the policy

    1. Right-click the GPO (Domain_Wallpaper) โ†’ Edit.
    2. From the Group Policy Management Editor, go to:
    3. User Configuration
      1. โ†’ Administrative Templates
      2. โ†’ Desktop โ†’ Desktop
    4. Right-click on Desktop Wallpaper.

    5. Choose: Enabled.

      1. In Wallpaper Name, enter the full path to the image:

  1. In Wallpaper Style โ†’ choose (Fill / Stretch / Center). => Apply โ†’ OK.

  2. Don't forget to link the GPO to the OU

on the Client :

On any Client device :

On the client :

โœ… Lab is Done

---


Abdelwahab Shandy Linkedin GitHub