Door deze site te gebruiken, u gaat akkoord met de Privacybeleid.
Accepteren
EnterinITEnterinITEnterinIT
  • THUIS
  • IT-PRO
  • TECH
  • MICROSOFT
    • Azuur
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Lezing: All OUs in this domain should be protected from accidental deletion
Lettergrootte wijzigenAa
EnterinITEnterinIT
Lettergrootte wijzigenAa
  • THUIS
  • IT-PRO
  • TECH
  • MICROSOFT
  • VENSTERS
  • SCCM-queryverzamelingslijst
Zoekopdracht
  • THUIS
  • IT-PRO
  • TECH
  • MICROSOFT
    • Azuur
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Windows-server

All OUs in this domain should be protected from accidental deletion

Gepubliceerd november 28, 2024
2 Min. gelezen
DEEL

All OUs in this domain should be protected from accidental deletion.

Inhoud
With Active Directory Users and Computers consoleWith Windows PowerShell

All OUs in this domain should be protected from accidental deletion.

Severity: Waarschuwing

Problem: Some organizational units (OUs) in this domain are not protected from accidental deletion.

Impact: If all OUs in your Active Directory domains are not protected from accidental deletion, your Active Directory environment can experience disruptions that might be caused by accidental bulk deletion of objects.

Oplossing:Make sure that all OUs in this domain are protected from accidental deletion.

Best Practices Analyzer

With Active Directory Users and Computers console

To “protect an OU from accidental deletion”, do the following:

  1. Open Active Directory Users and Computers troosten;
  2. Right click the OU that you want to protect from accidental deletion, en klik Eigenschappen;
  3. Go to the tab Object, check “Protect object from accidental deletion” and click OK.

OPMERKING: If you don’t see the Object tab you must enable Advanced Features. In the Active Directory Users and Computers, console click View and select Advanced Features.

With Windows PowerShell

1. Loop Windows PowerShell as Admin on Domain Controller;

2. Type the following to list all OU’s where the option “Protect object from accidental deletion” is disabled:

Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | ft

3. Enter the following command in PowerShell:

Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true

4. To verify all OU’s are modified, enter this command in PowerShell:

Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion} | ft

5. The column ProtectFromAccidentalDeletion should be True in all lines.

GETAGD:Active DirectoryMicrosoft Windows-serverPowerShellRamenWindows Server 2012R2Windows-server 2016Windows-server 2019
Vorig artikel How to Migrate WSUS Database between two SQL Servers
Volgend artikel Edge 79
Laat een reactie achter Laat een reactie achter

Laat een reactie achter Antwoord annuleren

Uw e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd *

Deze site gebruikt Akismet om spam te verminderen. Ontdek hoe uw reactiegegevens worden verwerkt.

Vertaling

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
 Vertaling bewerken
door Transposh - Vertaalplugin voor Wordpress

Populaire berichten

Systeemvereisten voor Windows Server 2016
Windows-server
Configuration Manager Queryverzamelingslijst
Configuration Manager Queryverzamelingslijst
ConfiguratieMgr
Gestructureerde/beheerde navigatie ingeschakeld op moderne pagina's in klassieke teamsites
Technologie
SCCM Kan DP-locaties niet ophalen als de verwachte versie van MP
ConfiguratieMgr

Recente berichten

Fail2ban installeren en configureren voor SSH-bescherming op Ubuntu 24.04
Linux
FirewallD inschakelen en configureren op AlmaLinux
Linux
Gebruikers aanmaken en SSH-sleutel instellen in AlmaLinux
Linux
Hoe het wachtwoord op AlmaLinux opnieuw in te stellen
Linux

© 2023 EnterinIT

Ga naar mobiele versie
advertentiebanner
Welkom terug!

Log in op uw account

Gebruikersnaam of e-mailadres
Wachtwoord

Wachtwoord vergeten?