The ADSI Schema Cache revealed Part II

Today’s topic: The ADSI Schema Cache revealed Part II We have been talking about the ADSI Schema Cache implementation, it’s benefits and several buts in the first part covering this topic <The ADSI Schema Cache revealed>. The conclusion was – utilize the sample code attached to the blog entry and ‘really, finally it’s cool now…


NTFSSecurity Tutorial 2 – Managing NTFS Inheritance and Using Privileges

Summary In my previous post, NTFSSecurity Tutorial 1 – Getting, adding and removing permissions, I talked about NTFS inheritance. Inheritance is a fundamental feature of NTFS to keep permissions consistent and easy to manage. However, there are some scenarios where you want to disable inheritance on folders or find out where it has been disabled….

7

NTFSSecurity Tutorial 1 – Getting, adding and removing permissions

Summary Managing file and folder permissions in Windows PowerShell is not that easy, and there are numerous articles and blog posts describing how it works by using the .NET classes. This is far from being comfortable, and there is one major and one minor restriction: Path length Generic rights This post introduces the NTFSSecurity module,…


The ADSI Schema Cache revealed

Downloads related to this article:         dSASignatureFlag_Samples.zip Today's topic: The ADSI Schema Cache revealed Like mentioned in the first article of this blog <Active Directory Service Interface (ADSI) and the Read Only Domain Controller (RODC) – Avoiding performance issues> ADSI utilizes a Schema Cache of the LDAP directories it has successfully contacted. In the article mentioned…


AutomatedLab Introduction Part 3 – Working with Predefined Server Roles

Summary The last blog article explained how to create a small lab environment using AutomatedLab. This article covers how to extend the lab created in the previous article by predefined server roles and switch the operating system to Windows 10 Technical Preview.   Installation If you have a pre-2.5 version of AutomatedLab installed, please uninstall…

0

AutomatedLab Introduction – Part 2

Summary This blog article explains how to create a small lab environment using AutomatedLab. After going through this article, you will have AutomatedLab installed on you Hyper-V host and have a lab setup with two machines.   Installation The installation of AutomatedLab itself, is very easy. You can download AutomatedLab from http://automatedlab.codeplex.com/. The download will…

8

AutomatedLab Introduction – Part 1

Introduction Why AutomatedLab We all know the situation: Your Company wants to upgrade some software product or wants to introduce something new, and you need to test this in a lab environment that looks somehow similar like to your production environment. Let’s say you need to test the integration of a software product with Active…

3

Resetting passwords honoring password history (or what’s happening under the hood when changing / resetting passwords)

Todays topic: Resetting passwords honoring password history (or what’s happening under the hood when changing / resetting passwords) You may have already came across the task to programmatically change or reset passwords on user accounts in Active Directory. Thanks to the the ChangePassword() and SetPassword() macros of the Active Directory Service Interface (ADSI) implementation this…


Searching 2003-2012 AD

Ever came across an ‘old’ Active Directory at a customer site and missed the AD PowerShell cmdlets? As a matter of fact, this happens to me all the time working as a PFE (In case you don’t know what a Microsoft PFE is have a look here). So what can you do if you still…