m-dwyer / CryptoBlocker

A script to deploy File Server Resource Manager and associated scripts to block infected users
GNU General Public License v2.0
53 stars 103 forks source link

GPO #2

Open jersam opened 8 years ago

jersam commented 8 years ago

When viewing the GPOs settings i get...

An error occurred while generating report: Object reference not set to an instance of an object.

I am on a 2012 r2 domain

`New-Object : Cannot find type [Microsoft.GroupPolicy.GPDomain]: verify that the assembly containing this type is loaded. At C:\Users\administrator\Downloads\CryptoBlocker-master (1)\CryptoBlocker-master\BlockFileExtensionsGPO.ps1:13 char:17

New-Object : Cannot find type [Microsoft.GroupPolicy.GPDomain]: verify that the assembly containing this type is loaded. At C:\Users\administrator\Downloads\CryptoBlocker-master (1)\CryptoBlocker-master\BlockFileExtensionsGPO.ps1:13 char:17

New-Object : Cannot find type [Microsoft.GroupPolicy.GPDomain]: verify that the assembly containing this type is loaded. At C:\Users\administrator\Downloads\CryptoBlocker-master (1)\CryptoBlocker-master\BlockFileExtensionsGPO.ps1:13 char:17

Success Restart Needed Exit Code Feature Result


True No NoChangeNeeded {} Get-GPO : The "Block File Extensions - Workstations" GPO was not found in the zzz.int domain. Parameter name: gpoDisplayName At C:\Users\administrator\Downloads\CryptoBlocker-master (1)\CryptoBlocker-master\BlockFileExtensionsGPO.ps1:40 char:20

DisplayName : Block File Extensions - Workstations GpoId : f9b07a59-16c2-4e45-9498-88d118401db1 Enabled : True Enforced : False Order : 2 Target : DC=zzz,DC=int GpoDomainName : zzz.int

True No NoChangeNeeded {} Get-GPO : The "Block File Extensions - 2K3 TS" GPO was not found in the zzz.int domain. Parameter name: gpoDisplayName At C:\Users\administrator\Downloads\CryptoBlocker-master (1)\CryptoBlocker-master\BlockFileExtensionsGPO.ps1:40 char:20

DisplayName : Block File Extensions - 2K3 TS GpoId : f43b6c6b-e6aa-4301-9b42-85a80976e4ec Enabled : True Enforced : False Order : 3 Target : DC=zzz,DC=int GpoDomainName : zzz.int

True No NoChangeNeeded {} Get-GPO : The "Block File Extensions - 2K8+ TS" GPO was not found in the zzz.int domain. Parameter name: gpoDisplayName At C:\Users\administrator\Downloads\CryptoBlocker-master (1)\CryptoBlocker-master\BlockFileExtensionsGPO.ps1:40 char:20

DisplayName : Block File Extensions - 2K8+ TS GpoId : b62b8991-a04a-468b-b266-9efe29ba4737 Enabled : True Enforced : False Order : 4 Target : DC=zzz,DC=int GpoDomainName : zzz.int `