Updated: July 16, 2014 | | Tags: Active Directory, Code, PowerShell, Script, Security
To help detect and prevent malicious behavior I usually implement different scripts or other monitoring features in my customers environments.
One of the snippets I frequently use is one that detects newly created accounts.
Updated: March 5, 2016 | | Tags: Active Directory, Code, Deployment, PowerShell, Windows Server 2012
There are several reasons to change the default organizational unit of computers that join the domain.
The default OU (domain.local\Computers) cannot be linked with GPOs, and should be avoided since its builtin.
Posted: November 20, 2013 | | Tags: Active Directory, dsacls, Fix, Permissions, PowerShell, SPN, Windows Server 2008, WinRM
I was getting an error at startup on a new Windows 2008 R2 Domain Controller. Apparently the WinRM attempts to create two SPNs after the startup process.
Since that WinRM runs under “Network Service” account, I was able to fix this warning by granting the “Validated Write to Service Principal Name” permission to the NETWORK SERVICE…
Updated: December 29, 2013 | | Tags: Active Directory, GPO, Permissions, Security, Windows Server 2008, Windows Server 2012
When setting up Active Directory delegation, you want administrators to be able to maintain Group Policy without being a Domain Admin.
If you read TechNet, Microsoft tells you to use Group Policy Creator Owners. However CO does not have permissions to modify or edit any other group policy objects.
Updated: December 29, 2013 | | Tags: Active Directory, Code, File and Storage Services, PowerShell, Script, Security
Some administrators prefer to do everything manually, other automated. I have always preferred to have as much as possible automated or at least set up with a script so the action can easily be repeated without varying end results.
I have written a script which verifies that all users that should have a home folder has one, and that it has the appropriate permissions.
Updated: April 25, 2014 | | Tags: Active Directory, Code, Deployment, PowerShell, SCCM, Script, System Center
After setting up a new domain and deploying SCCM 2012 I came to realize how much work it actually is to set up new applications.
I have made a script which creates AD groups and Collections.
Updated: December 29, 2013 | | Tags: Active Directory, GPO, Logging, Logs, Security, Windows Server 2008
A customer of ours asked us to look into making their environment more secure. However we noticed that they did not audit Group/User changes in their Active Directory, we adjusted this and here’s a quick guide how to deploy it in your corporation.
Updated: December 29, 2013 | | Tags: Active Directory, Code, HTA, Security
There might come a time where as a IT administrator you get tired of being asked to update peoples personal information in the Active Directory.
Updated: November 16, 2012 | | Tags: Active Directory, Code, Script, VBs
Heres a small VBs script for fast Active Directory group creation.
Paste the following code into a text file and rename it to “CreateADGroups.vbs”.