Aller au contenu principal

GPO - Troubleshooting

GPO - Troubleshooting

Pasted image 20230227105130.png

8007071a error https://stefanos.cloud/kb/how-to-resolve-group-policy-error-codes-8007071a-and-800706ba/

  • Désactiver firewall
  • Désactiver le protections Windows Defender

confirmGC was not recognized

The specified argument 'ConfirmGc' was not recognized. https://rdr-it.com/en/active-directory-add-a-domain-controller-to-powershell/

A tester :

- Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
- Install-ADDSDomainController -DomainName 'xxxx' -SafeModeAdministratorPassword $Secure_String_Pwd -Debug
- Install-ADDSDomainController -domainname laine.local -installdns -noglobalcatalog
- Install-ADDSDomainController -domainname laine.local -installdns
- Install-ADDSDomainController -DomainName "domain.tld" -InstallDns:$true -Credential (Get-Credential "DOMAIN\administratreur")

Soucis avec [Active Directory

80070005 Access Denied

  1. Partage avec all rights (a la racine du C dans un dossier dédiée)
  2. Ne pas avoir de dossier parents qui aient des permissions spécifique
  3. Dans le GPO files (pour le wallpaper)
    1. Hiiden, Archive, Create
      1. Source : Dossier partagé
      2. Dest : C:\wallapperclient\image.png
  4. GPO (dans users) Desktop Wallpaper : Mettre un dossier partagé
EVERYONE: read AUTHENTICATED USERS: read DOMAIN COMPUTERS: read MYDOMAIN\MYUSERNAME: read and write other users and groups which is not significant to report here.

**SOLVED**: I understood what the problem was.

The script is at this level: \\<servername>\Share1\Subfolder\Subfolder2\Script.cmd

I set the **AUTHENTICATED USERS** read permission only at **Subfolder2**, but the top-level parent (Share1) had not it. Now it is working, but I must say this solution (create a read permission for all authenticated users for that top-level directory) does not convince me much.