http://trycatch.be/blogs/roggenk/archive/2007/07/18/active-directory-domain-services-fine-grained-password-policies.aspx
A shadow group is a global security group that is logically mapped to an OU to enforce a fine-grained password policy. You add users of the OU as members of the newly created shadow group and then apply the fine-grained password policy to this shadow group. You can create additional shadow groups for other OUs as needed
More information:
http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx
These are just random notes and programs that may have incomplete descriptions. Any scripts or programs use at your risk
Tuesday, September 6, 2011
Monday, September 5, 2011
Active Directory Service command-line tools
High overview
dsadd adding objects.
dsget displaying objects.
dsmod modifying objects.
dsmove moving objects.
dsquery finding objects matching search criteria.
dsrm deleting objects.
dsadd adding objects.
dsget displaying objects.
dsmod modifying objects.
dsmove moving objects.
dsquery finding objects matching search criteria.
dsrm deleting objects.
Friday, September 2, 2011
From http://www.symantec.com/connect/articles/readyfsmo-roles-active-directory-windows-2008-server
Flexibility Schema Operations Master FSOP
1. Forest Roles
Schema Master - As name suggests, the changes that are made while creation of any object in AD or changes in attributes will be made by single domain controller and then it will be replicated to another domain controllers that are present in your environment. There is no corruption of AD schema if all the domain controllers try to make changes. This is one of the very important roles in FSMO roles infrastructure.
Domain Naming Master - This role is not used very often, only when you add/remove any domain controllers. This role ensures that there is a unique name of domain controllers in environment.
2. Domain Roles
Infrastructure Master - This role checks domain for changes to any objects. If any changes are found then it will replicate to another domain controller.
RID Master - This role is responsible for making sure each security principle has a different identifier.
PDC emulator - This role is responsible for Account policies such as client password changes and time synchronization in the domain
Where these roles are configured?
Domain wide roles are configured in Active Directory users and computers. Right click and select domain and here option is operations master.
Forest roles Domain Naming master is configured in active directory domain and trust right click and select operations master. It will let you know the roles.
(c)Forest roles Schema Master is not accessible from any tool as they want to prevent this. Editing schema can create serious problem in active directory environment. To gain access you need to create snap-in and register dll file by regsvr32 schmmgmt.dll.
Seizing of Roles
In case of failures of any server you need to seize the roles. This is how it can be done:
For Schema Master:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize schema master.
After you have Seize the role, type quit to exit NTDSUtil.
For Domain Naming Master:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize domain naming master.
After you have Seize the role, type quit to exit NTDSUtil.
For Infrastructure Master Role:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize infrastructure master.
After you have Seize the role, type quit to exit NTDSUtil.
For RID Master Role:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize RID master.
After you have Seize the role, type quit to exit NTDSUtil.
For PDC Emulator Role:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize PDC.
After you have Seize the role, type quit to exit NTDSUtil.
Flexibility Schema Operations Master FSOP
1. Forest Roles
Schema Master - As name suggests, the changes that are made while creation of any object in AD or changes in attributes will be made by single domain controller and then it will be replicated to another domain controllers that are present in your environment. There is no corruption of AD schema if all the domain controllers try to make changes. This is one of the very important roles in FSMO roles infrastructure.
Domain Naming Master - This role is not used very often, only when you add/remove any domain controllers. This role ensures that there is a unique name of domain controllers in environment.
2. Domain Roles
Infrastructure Master - This role checks domain for changes to any objects. If any changes are found then it will replicate to another domain controller.
RID Master - This role is responsible for making sure each security principle has a different identifier.
PDC emulator - This role is responsible for Account policies such as client password changes and time synchronization in the domain
Where these roles are configured?
Domain wide roles are configured in Active Directory users and computers. Right click and select domain and here option is operations master.
Forest roles Domain Naming master is configured in active directory domain and trust right click and select operations master. It will let you know the roles.
(c)Forest roles Schema Master is not accessible from any tool as they want to prevent this. Editing schema can create serious problem in active directory environment. To gain access you need to create snap-in and register dll file by regsvr32 schmmgmt.dll.
Seizing of Roles
In case of failures of any server you need to seize the roles. This is how it can be done:
For Schema Master:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize schema master.
After you have Seize the role, type quit to exit NTDSUtil.
For Domain Naming Master:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize domain naming master.
After you have Seize the role, type quit to exit NTDSUtil.
For Infrastructure Master Role:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize infrastructure master.
After you have Seize the role, type quit to exit NTDSUtil.
For RID Master Role:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize RID master.
After you have Seize the role, type quit to exit NTDSUtil.
For PDC Emulator Role:
Go to cmd prompt and type ntdsutil
Ntdsutil: prompt type roles to enter fsmo maintenance.
Fsmo maintenance: prompt type connections to enter server connections.
Server connections: prompt, type connect to server domain controller, where
Domain controller is the name of the domain controller to which you are going to transfer the role
Server connections: prompt, type quit to enter fsmo maintenance.
Fsmo maintenance: prompt, type seize PDC.
After you have Seize the role, type quit to exit NTDSUtil.
Thursday, September 1, 2011
Lan Wan Speed Test Iperf
Iperf is a tool i use to determine tcp or udf performance on a network.
The following commands are to be ran on the client(machine connecting from) and servers(Machine connecting to)
Client:
iperf.exe -c 192.168.1.51
Server:
iperf.exe -s
Iperf is opensource.
Download links
Linux
http://code.google.com/p/iperf/
http://sourceforge.net/projects/iperf/
Windows
https://nocweboldcst.ucf.edu/files/iperf.exe - old
http://www.mayoxide.com/iperf/ - newer build fork.
The following commands are to be ran on the client(machine connecting from) and servers(Machine connecting to)
Client:
iperf.exe -c 192.168.1.51
Server:
iperf.exe -s
Iperf is opensource.
Download links
Linux
http://code.google.com/p/iperf/
http://sourceforge.net/projects/iperf/
Windows
https://nocweboldcst.ucf.edu/files/iperf.exe - old
http://www.mayoxide.com/iperf/ - newer build fork.
Friday, August 26, 2011
using logman to start monitoring counters in perfmon
Create a batch file

create a schedule task to run that batch file at system start up
http://technet.microsoft.com/en-us/library/cc755366(WS.10).aspx
To start daily collections with sample intervals, account names and passwords, type:
Logman start daily_perf_log -s \\%computer_name% -u admin "adminpassword"
To start manual data collections, type:
Logman start daily_perf_log
To stop data collections, type:
Logman stop daily_perf_log
To delete data collections, type:
Logman delete daily_perf_log
To display the status of collection queries, type the following commands:
logman start test create a schedule task to run that batch file at system start up
http://technet.microsoft.com/en-us/library/cc755366(WS.10).aspx
To start daily collections with sample intervals, account names and passwords, type:
Logman start daily_perf_log -s \\%computer_name% -u admin "adminpassword"
To start manual data collections, type:
Logman start daily_perf_log
To stop data collections, type:
Logman stop daily_perf_log
To delete data collections, type:
Logman delete daily_perf_log
To display the status of collection queries, type the following commands:
Performance log
http://technet.microsoft.com/en-us/library/cc737657(WS.10).aspx
Monitoring performance from the command line
Updated: January 21, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
Monitoring performance from the command line
In addition to using the Performance graphical interface, you can use the following command line utilities:
Logman manages and schedules performance counter and event trace log collections on local and remote systems.
Perfmon allows you to open a Performance console configured with the System Monitor ActiveX control and Performance Logs and Alerts Service.
Relog extracts performance counters from performance counter logs into other formats, such as text file (tab delimited), text file (comma delimited), binary-BIN, or SQL.
Tracerpt processes event trace logs or real-time data from instrumented event trace providers and allows you to generate trace analysis reports and CSV (comma-delimited) files for the events generated.
Typeperf writes performance counter data to the command window, or to a supported log file format.
Lodctr registers new Performance counter names and Explain text for a service or device driver, and saves and restores counter settings and Explain text.
Unlodctr removes Performance counter names and Explain text for a service or device driver from the system registry.
For more information about incorporating these Performance commands into your Windows Management Instrumentation (WMI), see "Part One: Operating System Performance" in the System Performance and Troubleshooting Guide, available at the Microsoft Windows Resource Kits Web site.
For information about other command-line utilities, see Command-line reference. For more information about manageability, see Management Strategies and Tools.
Monitoring performance from the command line
Updated: January 21, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
Monitoring performance from the command line
In addition to using the Performance graphical interface, you can use the following command line utilities:
Logman manages and schedules performance counter and event trace log collections on local and remote systems.
Perfmon allows you to open a Performance console configured with the System Monitor ActiveX control and Performance Logs and Alerts Service.
Relog extracts performance counters from performance counter logs into other formats, such as text file (tab delimited), text file (comma delimited), binary-BIN, or SQL.
Tracerpt processes event trace logs or real-time data from instrumented event trace providers and allows you to generate trace analysis reports and CSV (comma-delimited) files for the events generated.
Typeperf writes performance counter data to the command window, or to a supported log file format.
Lodctr registers new Performance counter names and Explain text for a service or device driver, and saves and restores counter settings and Explain text.
Unlodctr removes Performance counter names and Explain text for a service or device driver from the system registry.
For more information about incorporating these Performance commands into your Windows Management Instrumentation (WMI), see "Part One: Operating System Performance" in the System Performance and Troubleshooting Guide, available at the Microsoft Windows Resource Kits Web site.
For information about other command-line utilities, see Command-line reference. For more information about manageability, see Management Strategies and Tools.
Monday, August 15, 2011
Subscribe to:
Posts (Atom)
Powershell: Microsoft Graph to add new roles to application registration
PowerShell Script Bulk add new roles to application registration in azure. Update $roles with ,Us...
-
Here is an excel document I created that will ping a list of nodes in column A and give results in column B. There are much better tools th...
-
#reads event logs for filter and exports to $Date = ( Get-Date ).AddMinutes(-30) $LogName = 'Security' $ProviderName = ...
-
Running solidcore you may run into a problem where you have to disable it with out using epo or the local CLI Here are the steps. ...