Microsoft Virtualization for Dummies
March 16, 2009 8 Comments
Latest in Technology, Simplified!
March 16, 2009 8 Comments
July 26, 2007 26 Comments
[DCINSTALL]
InstallDNS=yes
NewDomain=forest
NewDomainDNSName=<fully qualified DNS Name>
DomainNetBiosName=<first label of the FQDN, by default>
ReplicaOrNewDomain=domain
ForestLevel=<forest functional level number>
DomainLevel=<domain functional level number>
DatabasePath=<path to a folder on local volume, surrounded by double quotation marks>
LogPath=<path to a folder on a local volume, surrounded by double quotation marks>
RebootOnCompletion=yes
SYSVOLPath=<path to a folder on local volume, surrounded by double quotation marks>
SafeModeAdminPassword=<password>
dcpromo /unattend:"path to the answer file"
Suppose you have an answer file that lists a blank Directory Services Restore Mode password like:
SafeModeAdminPassword=
Then you can supply the value for this password at the command prompt like:
dcpromo /unattend:"path to answer file"SafeModeAdminPassword=C^n3478#9k
Every time you supply the value of a parameter from the command line, the value of the corresponding entry in the answer file gets overwritten by the value given at the command prompt.
You can therefore install a new domain controller for a new forest by entering all required unattended parameters at the command line:
dcpromo /autoConfigDNS:yes /dnsOnNetwork:yes /replicaOrNewDomain:domain /newDomain:forest /newDomainDNSName:contoso.com /DomainNetbiosName:contoso /databasePath:"e:ntds" /logPath:"e:ntdslogs" /sysvolPath:"g:sysvol" /safeModeAdminPassword:GH^&898# /forestLevel:2 /domainLevel:2 /rebootOnCompletion:yes
|
Level Number |
Forest Functional Level |
Supported Domain Controllers |
|
1 |
Windows 2000 |
Windows Server 2008 Windows Server 2003 Windows Server 2000 |
|
2 |
Windows 2003 |
Windows Server 2008 Windows Server 2003 |
|
3 |
Windows 2008 |
Windows Server 2008 |
|
Level Number |
Domain Functional Level |
Supported Domain Controllers |
|
1 |
Windows 2000 native |
Windows 2000 Windows 2003 Windows 2008 |
|
2 |
Windows Server 2003 |
Windows Server 2003 Windows Server 2008 |
|
3 |
Windows Server 2008 |
Windows Server 2008 |
[DCINSTALL]
ParentDomainDNSName=<FQDN of the parent domain>
UserName=<administrative account in the parent domain>
Password=<specify * to have the user be prompted for credentials during
installation>
NewDomain=child
ChildName=<Single-label DNS name for the new domain>
DomainNetBiosName=<first label of the FQDN, by default>
ReplicaOrNewDomain=domain
DomainLevel=<domain functional level number; value cannot be lower than the current
functional level value of the forest >
DatabasePath=<path to a folder on local volume, surrounded by double quotation marks>
LogPath=<path to a folder on a local volume, surrounded by double quotation marks>
RebootOnCompletion=yes
SYSVOLPath=<path to a folder on local volume, surrounded by double quotation marks>
InstallDNS=yes
DNSDelegation=yes
DNSDelegationUserName=<DNS administrator account in the parent domain;specify *
to have the user be prompted for credentials at the run time>
DNSDelegationPassword=<password of the account specified above or *>
SafeModeAdminPassword=<password>
RebootOnCompletion=yes
dcpromo /unattend:"path to the answer file"
References: http://technet2.microsoft.com/windowsserver2008
July 24, 2007 19 Comments
Upgrades to Windows Server 2008
|
From |
To Windows Server 2008 |
|
Windows Server 2003 |
ü |
|
Windows Server 2000 |
ü |
|
Windows NT Server 4.0 Domain Controller |
× |
|
Windows NT Server 4.0 |
× |
Points to Remember:
|
First Win 2008 DC in |
Run |
On |
|
Windows 2003/2000 Forest |
adprep /forestprep |
Operations Master |
|
Windows 2003 Domain |
adprep /domainprep |
Infrastructure Master |
|
Windows 2000 Domain |
adprep /domainprep /gpprep |
Infrastructure Master |
|
Win 2008 RODC in 2003/ 2000 Domain |
adprep /rodcprep |
Any computer in the forest |
|
Win 2008 RODC that will be GC |
adprep /domainprep |
Infrastructure Master In all domains in the forest |
Note: while running adprep /rodcprep command on a computer, you receive an error message informing that not all application partitions have been updated, the rerun adprep /rodcprep command.
|
Option |
In Windows Server 2000/2003 |
In Windows Server 2008 |
|
DNS Server |
Installation offered if needed |
Installation and Configuration is automatic if needed |
|
Global Catalog Server |
Not an option during AD installation |
Can select this option during AD installation in the wizard |
|
RODC (Read-Only Domain Controller) |
– |
- First DC in forest cannot be RODC - RODC must replicate from a writable Windows Server 2008 DC |
April 20, 2006 16 Comments
Using WINSTALL LE to create MSI Packages
Steps:
Enjoy….![]()
April 16, 2006 10 Comments
User Group Policy Looback Processing
As the name suggests, the policy named “User group policy loopback processing mode” if enabled, allows an administrator to decide what a user would be able to do on an important computer.
Important computers in the corporate network may be computers placed in the server room, or laboratory or in the administration department.
Normally a domain user is allowed to logon to any computer which is part of the domain to which the user belongs.
Consider a scenario:
+ABCMarketing.com
+Sales OU
Shankar
Raman
ComputerS1
ComputerS2
+Marketing OU
Shyam
ComputerM1
+Administration OU
Ahmad
SQLServer
Group Policies at Marketing OU:
Computer Configuration
User Configuration: Hide all icons on the desktop Enabled
Allow only following Windows Applications
Winword.exe
Excel.exe
cmd.exe
freecell.exe
Group Policies at Administration OU:
Scenario 1:
Computer Configuration
User Policy Loopback processing Enabled
mode:Replace
User Configuration: Hide My Computer icon from desktop Disabled
Do not allow following Windows Applications
Freecell.exe
Sol.exe
Iexplore.exe
Result for Scenario 1: When Shyam (from Marketing OU) logs on to SQL Server (in Administration OU):
Resultant User Policies for Shyam:
Icons visible on the desktop All
Applications usable All on the computer except freecell,
solitare and internet explorer.
Scenario 2:
Computer Configuration
User Policy Loopback processing Enabled
mode: Merge
User Configuration: Hide My Computer icon from desktop Disabled
Do not allow following Windows Applications
Freecell.exe
Sol.exe
Iexplore.exe
Result for Scenario 2: When Shyam (from Marketing OU) logs on to SQL Server (in Administration OU):
Resultant User Policies for Shyam:
Icons visible on the desktop My Computer
Applications usable Winword.exe
Excel.exe
Cmd.exe
How?
The loopback policy enabled in the Replace mode replaces the Shyam’s User policies from his own OU (Marketing) with the User Configuration Policies of the SQL Server’s OU (Administration).Hence Shaym’s own user policies are not applied at all.
The loopback policy enabled in the Merge mode, appends the User Configuration policies of the Administration OU (Server’s OU) at the end of the User Configuration Policies of the Marketing OU (Shyam’s OU). Hence Shyam gets all his user policies but in case where there is a conflict, the user policies from the Administration OU take precedence as they are applied at the end.![]()