Showing posts with label AD. Show all posts
Showing posts with label AD. Show all posts

Thursday, December 6, 2012

Active Directory Recycle Bin (Part 3)

 In Continuation to my Part 2 post where i discussed about How to Restore Deleted User Account From Recycle Bin, now we will discuss the post on How to Restore Deleted OU.

Procedure to Restore Deleted OU:

In this example we have deleted “Test IT1” User account and we will be restoring the same.

Active Directory Recycle Bin (Part 2)

 In Continuation to my Part1 post where i discussed about How to Enable Recycle Bin, now we will discuss the post on How to Restore Deleted User Account From Recycle Bin.

Procedure To Restore Deleted User Account From Recycle Bin:

In this example we have deleted “Test IT1” User account and we will be restoring the same.

Active Directory Recycle Bin (Part 1)


The Objective of this document is to show the implementation steps for Windows 2008 R2 Active Directory features like Active Directory Recycle Bin.

As per the requirement i have divided the post into 3 parts as below.

Part 1 - How to Enable Recycle Bin
Part 2 - How to Restore Deleted User Account From Recycle Bin
Part 3 - How to Restore Deleted OU

Active Directory Fine Grained Password Policy (Part 2)

The Objective of this document is to show the implementation steps for Windows 2008 R2 Active Directory features like Fine Grained Password Policy. 
We have already discussed How to Create Policy in the Part 1 post, now we will discuss the post to apply the policy to user or group.

How to Apply PSO to User or Group:

In this example we are going to apply the above created “Test IT Pwd Policy” to ITING Group which contains “TestIT1” user account.

Active Directory Fine Grained Password Policy (Part 1)

The Objective of this document is to show the implementation steps for Windows 2008 R2 Active Directory features like Fine Grained Password Policy. 

I have divided the post in 2 parts:-
Part 1 - How to Create Fine Grained Password Policy
Part 2 - How to Apply PSO to User or Group

How to Create Fine Grained Password Policy:

Tuesday, November 27, 2012

Monitor Disk Space

In the following script, you monitor the disk space on a server to let you know when it falls below 100000000 bytes. If the free space falls below 100000000, a message is echoed to the screen every 5 seconds.

Tuesday, August 7, 2012

Export Users, Groups and OU’s from one AD to another AD


Export Users, Groups and OU’s from one Windows 2003/2008 Active Directory Domain to other Windows 2003/2008 Active Directory Domain

One of our engagement with client, client wants to upgrade of Windows 2003 Domain Controller to Windows 2008 R2 Domain Controller and to assure that once upgrade, application integrated with Active Directory will have no impact, we want it to test with Windows 2008 R2 Active Directory Domain. We deploy one fresh Windows 2008 R2 Domain from scratch. The next is to create users, groups OU structure similar to the production environment. So we thought to use LDAP export and import to do that. We have to first import OU, then Users and last Groups. Here are steps we followed to achieve the same.

Monday, April 30, 2012

Script to Verify Local administrator credential

One of our client came with very strange requirement. Their Security Policy is to change local administrator password for every 2 months, it should be different for all servers, they have to maintain excel sheet and send it to the Manager. Manager want to verify whether password has changed for all servers and it is according to the excel sheet which is sent to him. There are some hundreds of servers, so they want simple script which will do it for them.
We came with solution which uses PsTools to do this task. PsTools is the Microsoft toolkit which provide bunch of tool to do different task on the remote system. We used PsExec which can be used execute the command on remote system.

Monday, April 16, 2012

Registry to ADM file: Regional and Language Options

Sometimes you come across the situation where you do not find the Group Policy which you want to apply Users & computers. At Deskperts we came with the solution to Create ADM Template , ADM template help you to apply settings which are not predefined in GPO.

 To show this we took example to configure the ‘Regional and Language options’.   Let’s say your Language option is configure to use ‘English US’, and you want it to be ‘English UK’. For a single system, you will go to Control Panel-> Regional And Language Option -> English (United Kingdom).

Monday, April 9, 2012

Delete AD multiple user accounts using PowerShell

Deleting bulk user accounts made easy using Powershell.

We have tested the below script in Windows Server 2008 R2 AD infrastructure.
Users are present in Sales OU as shown below.


Saturday, April 7, 2012

Create AD multiple user accounts using PowerShell

Many times we come across a scenario where we need to create bulk of AD user accounts. But who wants to spend a whole bunch of time for creating users? So we at Deskperts went ahead and made a PowerShell Script that will create users from a CSV file. Hope you find it useful!!!!

We have tested the below script in Windows Server 2008 R2 AD infrastructure.

Azure Policy support for remediating tags for existing resources

Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...