Windows
Windows
I can’t seem to access the Internet, don’t have any access to the corporate network and on
ipconfig my address is 169.254.*.*. What happened?
The 169.254.*.* net mask is assigned to Windows machines running 98/2000/XP if the DHCP server
is not available. The name for the technology is APIPA (Automatic Private Internet Protocol
Addressing).
We’ve installed a new Windows-based DHCP server, however, the users do not seem to be
getting DHCP leases off of it.
The server must be authorized first with the Active Directory.
How can you force the client to give up the dhcp lease if you have access to the client PC?
ipconfig /release
What authentication options do Windows 2000 Servers have for remote clients?
PAP, SPAP, CHAP, MS-CHAP and EAP.
What are the networking protocol options for the Windows clients if for some reason you do
not want to use TCP/IP?
NWLink (Novell), NetBEUI, AppleTalk (Apple).
How do cryptography-based keys ensure the validity of data transferred across the network?
Each IP packet is assigned a checksum, so if the checksums do not match on both receiving and
transmitting ends, the data was modified or corrupted.
What’s the difference between forward lookup and reverse lookup in DNS?
Forward lookup is name-to-address, the reverse lookup is address-to-name.
What is the Difference between Windows 2003 standard Enterprise, Premium, Data center
and Web Edition?
WEB EDITION:
To position windows server 2003 more competitively against other web servers, Microsoft has
released a stripped-down-yet-impressive edition of windows server 2003 designed specially for web
services. the feature set and licensing allows customers easy deployment of web pages, web sites,
web applications and web services.
Web Edition supports 2GB of RAM and a two-way symmetric multiprocessor(SMP). It provides
unlimited anonymous web connections but only 10 inbound server message
block(SMB) connections, which should be more than enough for content
publishing. The server cannot be an internet gateway, DHCP or fax server. Although you can
remotely administer the server with Remote Desktop, the server cannot be a terminal
server in the traditional sense. The server can belong to a domain, but cannot be a domain controller.
The included version of the microsoft SQL server database Engine can support as many as 25
concurrent connections.
How do you recover an object in Active Directory, which is accidentally deleted by you, with
no backup?
Using ntdsutil.exe command,we can restored the AD objects.
logical structure:
Schema partition, configuration partition, domain partition and application partition
How to change the windows xp product key if wrongly installed with other product key but
you have original product key? What you will do to Make your os as Genuine?
Some third party software are available for this function or reinstall this system
If 512mb Ram is there what will be the minimum and maximum Virtual memory for the
system?
To workout the total virtual memory (page file) required for windows XP you should take the amount
of ram in the system and + 25% (512MB + 25% (128MB) = 640MB total virtual memory. by setting
both the min and max to 640MB you can increase the performances of the operating system.
What is LDAP?
LDAP, Lightweight Directory Access Protocol, is an Internet protocol that email and other
programs use to look up information from a server.
The computer will boot into a special safe mode and won’t start the DS. Be aware that during this
time the machine won’t act as a DC and won’t perform functions such as authentication.
1. Start NT Backup.
2. Select the Restore tab.
3. Select the backup media, and select System State.
4. Click Start Restore.
5. Click OK in the confirmation dialog box.
After you restore the backup, reboot the computer and start in normal mode to use the restored
information. The computer might hang after the restore completes; I’ve experienced a 30-minute wait
on some machines.
What domain services are necessary for you to deploy the Windows Deployment Services on
your network?
Windows Deployment Services requires that a DHCP server and a DNS server be installed in the
domain
Ques-:7. FAT/NTFS?
FAT
Fat stands for File Allocation Table
There are two categories in Fat File System
o Fat 16
o Fat 32
In Fat Up To Folder Level Security is available
Compression Option is not available
Encryption Option is not available
Disk Quota Option is not Available
FAT Supported By All Of The Microsoft Based Operating
System
NTFS
NTFS stands for New Technology File System
There are three categories in NTFS file System
o NTFS 4.0 – NT O/S
o NTFS 5.0 – 2000 O/S
o NTFS 6.0 – 2003O/S
In NTFS Up-to File Level Security is available
Compression Option is available
Encryption Option is available
Disk Quota Option is Available
NTFS Supported By only Limited Microsoft Based
Operating System
NT
There is no active directory
There is no tree/forest hierarchical structure are
available
There is no Site Relationship
There is no parent domain and child domain concepts
are available in the network.
NT support NTFS 4.0 File system
NT Support NTLM Version 2 Lan Authentication
Protocol
In NT by default no Trust Relationship are configured
In NT we will use System Policy
In NT specific Client Site Operating System is
available i.e. NT Workstation 4.0 Edition
In NT we will use Exchange 5.5 Server
In NT We Can Create Only One Way Trust
Relationship inside The Network.
2000
There is Active Directory
Tree/Forest Hierarchal Structure are available
There is Site Relationship is available
There is parent domain and child domain concept are
available
2000 support NTFS 5.0 File system
2000 Support Kerberos Version 5 Authentication Protocol
In 2000 by default Two-Way Trust Relationship are
configured
In 2000 we will use Group Policy
2000 support maximum 32 Processor and 64 GB RAM
In 2000 specific Client Site Operating System is available
i.e. 2000 Professional
In 2000 we will use Exchange 2000 Server
In 2000 no Stub Zone is available in DNS
In 2000 Resultant Setup Policy is not available
In 2000 GPMC is not available
In 2000 Conditional Forwarding option is not available
In 2000 Effective Permission option is not available
In 2000 Only some Administrative Command Line Tools
are available
Active Directory Saved Query Option is not available
Shadow Copy Option is not available in Windows 2000 O/S
ASR Option is not available in Windows 2000 O/S
In Windows 2000 We Can Create Maximum 1 DFS Root
On A Single DFS Server in The Network.
In 2000 We Can Create Two Way Trust Relationship inside
The Network.
2003
There is Active Directory
Tree Forest Hierarchal Structure are available
There is Site Relationship is available
There is parent domain and child domain concept are
available
2003 support NTFS 6.0 File system
2003 Support Kerberos Version 5 Authentication Protocol
In 2003 by default Two-Way Trust Relationship are
configured
In 2003 we will use Group Policy
2003 support maximum 64 Processor and 512 GB RAM
In 2003 no specific Client Site Operating System is
available you can use either win 2k Professional either Win
XP Professional in the Network.
In 2003 we will use Exchange 2003 Server
In 2003 Stub Zone is available in DNS
In 2003 Resultant Setup Policy is available
In 2003 GPMC is available
In 2003 Conditional Forwarding option is available
In 2003 Effective Permission option is available
In 2003 more Administrative Command Line Tools are
available
Active Directory Saved Query Option is available
Shadow Copy Option is available in Windows 2003 O/S
ASR Option is available in Windows 2003 O/S
In Windows 2003 We Can Create More Than 1 DFS Root
On A Single DFS Server in The Network.
In 2003 We Can Create Two Way Trust Relationship inside
The Network.
1. Mixed Mode – In this mode NT, win 2k and win 2k3 D.C
are available.
3. Win 2k3 Native Mode – In this mode only win 2k3 D.C
are available.
1. Schema Partition
2. Configuration Partition
3. Domain Partition
Ans :-
1. RIP v.1 – Broadcast – Small Network Use
2. RIP v.2 – Multicast
3. IGMP – Multicast
4. OSPF – Multicast – For Larger Network
Ans :-
1. NTLDR
2. NTDETECT.COM
3. BOOT.INI
4. NTBOOTDD.SYS
5. NTOSKRNL.EXE
Ans :-
1. MSDOS.SYS
1. IO.SYS
2. COMMAND.COM
1. Static Nat
2. Dynamic Nat
3. Overloading Nat—PAT(Port address
Translation)
TCP:-
1. TCP Stands for Transmission Control protocol
2. TCP is a Connection Oriented protocol
3. It Is a unicasting protocol
4. The Rate of Data transmission Is Slow in TCP
5. In TCP The Guarantee Of Data Delivery
6. In TCP Acknowledgement is must.
UDP:-
1. UDP Stands for User Datagram protocol.
2. It Is a Connection Less protocol
3. It Is a Broadcasting protocol
4. The Rate Of Data transmission is Fast
5. In UDP No Guarantee of Data Delivery
6. In UDP No Acknowledgement
DOD model:-
DOD Model Stands For department of defense model. This Model
is also known As TCP/IP Model. There are four Layers in DOD
Model---
1. Application Layer—3 layer of OSI Model
2. Transport layer—transport layer of OSI Model
3. Internet layer—Network layer Of OSI Model
4. Network Interface Layer Or physical Layer—Data link &
Physical Layer of OSI Model.
Safe Mode:-In this mode load only basic devices and drivers that
are require to start the computer. not loading the following
drivers such as VGA card, soundcard, network card etc. Only
load the Basic driver Such as keyboard, mouse, and storage
device.
1. Normal Scope:-
2. Multicast Scope:-
3. Super Scope:-
1. Server Level:-
2. Scope Level:-
3. Class Level:-
1. Push Partner:-
2. Pull Partner:-
A. Log on Locally
B. Change the System Time
C. Shut Down the System
D. Access the Computer from Network
Active Directory is a Meta Data. Active Directory is a data base which stores a data base like your
user information, computer information and also other network object info. It has capabilities to
manage and administer the complete Network which connect with AD.
>What is domain?
Windows NT and Windows 2000, a domain is a set of network resources (applications, printers, and
so forth) for a group of users. The user needs only to log in to the domain to gain access to the
resources, which may be located on a number of different servers in the network. The ‘domain’ is
simply your computer address not to confuse with an URL. A domain address might look something
like 211.170.469.
A Domain controller (DC) is a server that responds to security authentication requests (logging in,
checking permissions, etc.) within the Windows Server domain. A domain is a concept introduced in
Windows NT whereby a user may be granted access to a number of computer resources with the use
of a single username and password combination.
>What is LDAP?
Lightweight Directory Access Protocol LDAP is the industry standard directory access protocol,
making Active Directory widely accessible to management and query applications. Active Directory
supports LDAPv3 and LDAPv2.
>What is KCC?
KCC (knowledge consistency checker) is used to generate replication topology for inter site
replication and for intra-site replication. Within a site replication traffic is done via remote procedure
calls over ip, while between sites it is done through either RPC or SMTP.
>Where is the AD database held? What other folders are related to AD?
The sysVOL folder stores the server’s copy of the domain’s public files. The contents such as group
policy, users etc of the sysvol folder are replicated to all domain controllers in the domain.
>Where are the Windows NT Primary Domain Controller (PDC) and its Backup Domain Controller
(BDC) in Server 2003?
The Active Directory replaces them. Now all domain controllers share a multi master peer-to-peer
read and write relationship that hosts copies of the Active Directory.
Universal groups are allowed only in native-mode Windows Server 2003 environments. Native mode
requires that all domain controllers be promoted to Windows Server 2003 Active Directory.
>What is LSDOU?
Its group policy inheritance model, where the policies are applied to Local machines, Sites, Domains
and Organizational Units.
If the NTConfig.pol file exists, it has the highest priority among the numerous policies.
> What’s the difference between guest accounts in Server 2003 and other editions?
No, As Infrastructure master does the same job as the GC. It does not work together.
> Which is service in your windows is responsible for replication of Domain controller to another
domain controller.
Intrasite is the replication within the same site & intersite the replication between sites.
It’s the folder where you can find the objects missed due to conflict.
Ex: you created a user in OU which is deleted in other DC & when replication happed ADS didn’t find
the OU then it will put that in Lost & Found Folder.
Garbage collection is the process of the online defragmentation of active directory. It happens every
12 Hours.
Registry
AD information
SYSVOL Folder
>What is the difference between Windows 2000 Active Directory and Windows 2003 Active
Directory? Is there any difference in 2000 Group Polices and 2003 Group Polices? What is meant by
ADS and ADS services in Windows 2003?
Windows 2003 Active Directory introduced a number of new security features, as well as convenience
features such as the ability to rename a domain controller and even an entire domain
Windows Server 2003 also introduced numerous changes to the default settings that can be affected
by Group Policy – you can see a detailed list of each available setting and which OS is required to
support it by downloading the Group Policy Settings Reference.
ADS stands for Automated Deployment Services, and is used to quickly roll out identically-configured
servers in large-scale enterprise environments. You can get more information from the ADS
homepage.
>I want to setup a DNS server and Active Directory domain. What do I do first? If I install the DNS
service first and name the zone ‘name.org’ can I name the AD domain ‘name.org’ too?
Not only can you have a DNS zone and an Active Directory domain with the same name, it’s actually
the preferred way to go if at all possible. You can install and configure DNS before installing Active
Directory, or you can allow the Active Directory Installation Wizard (dcpromo) itself install DNS on
your server in the background.
You can use the net local group administrators command on each workstation (probably in a login
script so that it records its information to a central file for later review). This command will
enumerate the members of the Administrators group on each machine you run it on. Alternately, you
can use the Restricted Groups feature of Group Policy to restrict the membership of Administrators to
only those users you want to belong.
In most cases, the inability to print or access resources in situations like this one will boil down to an
issue with name resolution, either DNS or WINS/NetBIOS. Be sure that your Windows XP clients’
wireless connections are configured with the correct DNS and WINS name servers, as well as with
the appropriate NetBIOS over TCP/IP settings. Compare your wireless settings to your wired LAN
settings and look for any discrepancies that may indicate where the functional difference may lie.
Windows 2000 Domain controllers each create Active Directory Replication connection objects
representing inbound replication from intra-site replication partners. For inter-site replication, one
domain controller per site has the responsibility of evaluating the inter-site replication topology and
creating Active Directory Replication Connection objects for appropriate bridgehead servers within
its site. The domain controller in each site that owns this role is referred to as the Inter-Site Topology
Generator (ISTG).
1. Virtualization. (Windows Server 2008 introduces Hyper-V (V for Virtualization) but only on 64bit
versions. More and more companies are seeing this as a way of reducing hardware costs by running
several ‘virtual’ servers on one physical machine.)
2. Server Core (provides the minimum installation required to carry out a specific server role, such as
for a DHCP, DNS or print server)
3. Better security.
4. Role-based installation.
7. Network Access Protection – Microsoft’s system for ensuring that clients connecting to Server
2008 are patched, running a firewall and in compliance with corporate security policies.
8. Power Shell – Microsoft’s command line shell and scripting language has proved popular with
some server administrators.
9. IIS 7.
10. Bit locker – System drive encryption can be a sensible security measure for servers located in
remote branch offices. The main difference between 2003 and 2008 is Virtualization, management.
2008 has more in-build components and updated third party drivers.
6 DNS configuration.
>What is LDP?
LDP: Label Distribution Protocol (LDP) is often used to establish MPLS LSPs when traffic engineering
is not required. It establishes LSPs that follow the existing IP routing, and is particularly well suited
for establishing a full mesh of LSPs between all of the routers on the network.
Security groups: Use Security groups for granting permissions to gain access to resources. Sending
an e-mail message to a group sends the message to all members of the group. Therefore security
groups share the capabilities of distribution groups.
Distribution groups: Distribution groups are used for sending e-main messages to groups of users.
You cannot grant permissions to security groups. Even though security groups have all the
capabilities of distribution groups, distribution groups still requires, because some applications can
only read distribution groups.
Domain Local Group: Use this scope to grant permissions to domain resources that are located in the
same domain in which you created the domain local group. Domain local groups can exist in all
mixed, native and interim functional level of domains and forests. Domain local group memberships
are not limited as you can add members as user accounts, universal and global groups from any
domain. Just to remember, nesting cannot be done in domain local group. A domain local group will
not be a member of another Domain Local or any other groups in the same domain.
Global Group: Users with similar function can be grouped under global scope and can be given
permission to access a resource (like a printer or shared folder and files) available in local or another
domain in same forest. To say in simple words, Global groups can be use to grant permissions to gain
access to resources which are located in any domain but in a single forest as their memberships are
limited. User accounts and global groups can be added only from the domain in which global group is
created. Nesting is possible in Global groups within other groups as you can add a global group into
another global group from any domain. Finally to provide permission to domain specific resources
(like printers and published folder), they can be members of a Domain Local group. Global groups
exist in all mixed, native and interim functional level of domains and forests.
Universal Group Scope: These groups are precisely used for email distribution and can be granted
access to resources in all trusted domain as these groups can only be used as a security principal
(security group type) in a windows 2000 native or windows server 2003 domain functional level
domain. Universal group memberships are not limited like global groups. All domain user accounts
and groups can be a member of universal group. Universal groups can be nested under a global or
Domain Local group in any domain.
>What is REPLMON?
The Microsoft definition of the Replmon tool is as follows; This GUI tool enables
administrators to view the low-level status of Active Directory replication, force
synchronization between domain controllers, view the topology in a graphical
format, and monitor the status and performance of domain controller replication.
>What is ADSIEDIT ?
>What is NETDOM ?
>What is REPADMIN?
For taking backup of active directory you have to do this : first go START ->
PROGRAM ->ACCESORIES -> SYSTEM TOOLS -> BACKUP OR Open run window
and ntbackup and take systemstate backup when the backup screen is flash then
take the backup of SYSTEM STATE it will take the backup of all the necessary
information about the syatem including AD backup , DNS ETC.
A NIC Properly configured TCP/IP (IP address, subnet mask and – optional –
default gateway).
To allow users in one domain to access resources in another, Active Directory uses
trusts. Trusts inside a forest are automatically created when domains are created.
The forest sets the default boundaries of trust, not the domain, and implicit,
transitive trust is automatic for all domains within a forest. As well as two-way
transitive trust, AD trusts can be a shortcut (joins two domains in different trees,
transitive, one- or two-way), forest (transitive, one- or two-way), realm (transitive
or nontransitive, one- or two-way), or external (nontransitive, one- or two-way) in
order to connect to other forests or non-AD domains.
One-way trust – One domain allows access to users on another domain, but the
other domain does not allow access to users on the first domain.
Trusting domain – The domain that allows access to users from a trusted domain.
Trusted domain – The domain that is trusted; whose users have access to the
trusting domain.
Transitive trust – A trust that can extend beyond two domains to other trusted
domains in the forest.
Intransitive trust – A one way trust that does not extend beyond two domains.
Explicit trust – A trust that an admin creates. It is not transitive and is one way
only.
The number of days before a deleted object is removed from the directory services.
This assists in removing objects from replicated servers and preventing restores
from reintroducing a deleted object. This value is in the Directory Service object in
the configuration NIC.
The output will include the text DSA Options: IS_GC if the DC is a GC.
>Can you connect Active Directory to other 3rd-party Directory Services? Name a
few options.
2. The boot device is found, the Master Boot Record (MBR) is loaded into memory,
and its program is run.
1. The Windows 2000 loader switches the processor to the 32-bit flat memory
model.
2. The Windows 2000 loader starts a mini-file system.
3. The Windows 2000 loader reads the BOOT.INI file and displays the operating
system selections (boot loader menu).
4. The Windows 2000 loader loads the operating system selected by the user. If
Windows 2000 is selected, NTLDR runs NTDETECT.COM. For other operating
systems, NTLDR loads BOOTSECT.DOS and gives it control.
5. NTDETECT.COM scans the hardware installed in the computer, and reports the
list to NTLDR for inclusion in the Registry under the
HKEY_LOCAL_MACHINE_HARDWARE hive.
6. NTLDR then loads the NTOSKRNL.EXE, and gives it the hardware information
collected by NTDETECT.COM. Windows NT enters the Windows load phases.
In Windows 2000 Server, you used to have to boot the computer whose password
you wanted to change in Directory Restore mode, then use either the Microsoft
Management Console (MMC) Local User and Groups snap-in or the command net
user administrator * to change the Administrator password.
Win2K Server Service Pack 2 (SP2) introduced the Setpwd utility, which lets you
reset the Directory Service Restore Mode password without having to reboot the
computer. (Microsoft refreshed Setpwd in SP4 to improve the utility?s scripting
options.)
In Windows Server 2003, you use the Ntdsutil utility to modify the Directory
Service Restore Mode Administrator password.
3. Run the Reset Password command, passing the name of the server on which to
change the password, or use the null argument to specify the local machine.
For example, to reset the password on server testing, enter the following argument
at the Reset DSRM Administrator Password prompt: Reset DSRM Administrator
Password: reset password on server testing
To reset the password on the local machine, specify null as the server name:
4. You?ll be prompted twice to enter the new password. You?ll see the following
messages:
ntdsutil: quit
In Windows Server 2003, you can use the dsmod command-line utility with the -
delmbr switch to remove a group member from the command line. You should also
look into the freeware utilities available from www.joeware.net . ADFind and
ADMod are indispensable tools in my arsenal when it comes to searching and
modifying Active Directory.
>Why are my NT4 clients failing to connect to the Windows 2000 domain?
Since NT4 relies on NetBIOS for name resolution, verify that your WINS server
(you do have a WINS server running, yes?) contains the records that you expect for
the 2000 domain controller, and that your clients have the correct address
configured for the WINS server.
>How do you configure a stand-by operation master for any of the roles?
# Expand the site name in which the standby operations master is located to
display the Servers folder.
# Expand the Servers folder to see a list of the servers in that site.
# Expand the name of the server that you want to be the standby operations
master to display its NTDS Settings.
# In the Find Domain Controllers dialog box, select the name of the current role
holder, and then click OK.
# In the New Object-Connection dialog box, enter an appropriate name for the
Connection object or accept the default name, and click OK.
Seizing an FSMO can be a destructive process and should only be attempted if the
existing server with the FSMO is no longer available.
If you perform a seizure of the FSMO roles from a DC, you need to ensure two
things:
the current holder is actually dead and offline, and that the old DC will NEVER
return to the network. If you do an FSMO role Seize and then bring the previous
holder back online, you’ll have a problem.
An FSMO role TRANSFER is the graceful movement of the roles from a live,
working DC to another live DC During the process, the current DC holding the
role(s) is updated, so it becomes aware it is no longer the role holder
>I want to look at the RID allocation table for a DC. What do I do?
>Where is the AD database held and What are other folders related to AD ?
AD Database is saved in %systemroot%/ntds. You can see other files also in this
folder. These are the main files controlling the AD structure.
ntds.dit
edb.log
res1.log
res2.log
edb.chk
During the installation of AD, Windows creates two files: res1.log and res2.log. The
initial size of each is 10MB. These files are used to ensure that changes can be
written to disk should the system run out of free disk space. The checkpoint file
(edb.chk) records transactions committed to the AD database (ntds.dit). During
shutdown, a “shutdown” statement is written to the edb.chk file.
Then, during a reboot, AD determines that all transactions in the edb.log file have
been committed to the AD database. If, for some reason, the edb.chk file doesn’t
exist on reboot or the shutdown statement isn’t present, AD will use the edb.log
file to update the AD database. The last file in our list of files to know is the AD
database itself, ntds.dit. By default, the file is located in\NTDS, along with the
other files we’ve discussed
>What FSMO placement considerations do you know of ?
In most cases an administrator can keep the FSMO role holders (all 5 of them) in
the same spot (or actually, on the same DC) as has been configured by the Active
Directory installation process.
However, there are scenarios where an administrator would want to move one or
more of the FSMO roles from the default holder DC to a different DC.
Windows Server 2003 Active Directory is a bit different than the Windows 2000
version when dealing with FSMO placement.
In this article I will only deal with Windows Server 2003 Active Directory, but you
should bear in mind that most considerations are also true when planning Windows
2000 AD FSMO roles
If you’re installing Windows 2003 R2 on an existing Windows 2003 server with SP1
installed, you require only the second R2 CD-ROM.
Insert the second CD and the r2auto.exe will display the Windows 2003 R2
Continue Setup screen. If you’re installing R2 on a domain controller (DC), you
must first upgrade the schema to the R2 version (this is a minor change and mostly
related to the new Dfs replication engine).
To update the schema, run the Adprep utility, which you’ll find in the Components\
r2\adprep folder on the second CD-ROM.
Before running this command, ensure all DCs are running Windows 2003 or
Windows 2000 with SP2 (or later).
Here’s a sample execution of the Adprep /forestprep
command:
D:\CMPNENTS\R2\ADPREP>adprep /forestprep
ADPREP WARNING:
Before running adprep, all Windows 2000 domain controllers in the forest should
be upgraded to Windows 2000 Service Pack 1 (SP1) with QFE 265089, or to
Windows 2000 SP2 (or later).
QFE 265089 (included in Windows 2000 SP2 and later) is required to prevent
potential domain controller corruption.
[User Action] If ALL your existing Windows 2000 domain controllers meet this
requirement, type C and then press ENTER to continue. Otherwise, type any other
key and press ENT ER to quit.
The command has completed successfully Adprep successfully updated the forest-
wide information.
1. Click the “Continue Windows Server 2003 R2 Setup” link, as the figureshows.
2. At the “Welcome to the Windows Server 2003 R2 Setup Wizard” screen, click
Next.
4. You’ll see the setup summary screen which confirms the actions to be performed
(e.g., Copy files). Click Next.
5. After the installation is complete, you’ll see a confirmation dialog box. Click
Finish
>What is OU ?
Organization Unit is a container object in which you can keep objects such as user
accounts, groups, computer, printer . applications and other (OU).
In organization unit you can assign specific permission to the user’s. organization
unit can also be used to create departmental limitation.
Sites can be used to Assign Group Policy Objects, facilitate the discovery of
resources, manage active directory replication, and manage network link traffic.
Sites can be linked to other Sites. Site-linked objects may be assigned a cost value
that represents the speed, reliability, availability, or other real property of a
physical resource. Site Links may also be assigned a schedule.
c:\windows\system32>regsvr32 schmmgmt.dll
Open mmc –> add snapin –> add Active directory schema
name it as schema.msc
88
3268
389
Windows 2000 and Windows Server 2003 Active Directory uses a database set of
rules called “Schema”. The Schema is defines as the formal definition of all object
classes, and the attributes that make up those object classes, that can be stored in
the directory. As mentioned earlier, the Active Directory database includes a
default Schema, which defines many object classes, such as users, groups,
computers, domains, organizational units, and so on.
These objects are also known as “Classes”. The Active Directory Schema can be
dynamically extensible, meaning that you can modify the schema by defining new
object types and their attributes and by defining new attributes for existing
objects. You can do this either with the Schema Manager snap-in tool included
with Windows 2000/2003 Server, or programmatically.
>How can you forcibly remove AD from a server, and what do you do later? ? Can I
get user passwords from the AD database?
In the event that the NTDS Settings object is not removed correctly you can use
the Ntdsutil.exe utility to manually remove the NTDS Settings object. You will need
the following tool: Ntdsutil.exe, Active Directory Sites and Services, Active
Directory Users and Computers
>What are the FSMO roles? Who has them by default? What happens when each
one fails?
Flexible Single Master Operation (FSMO) role. Currently there are five FSMO
roles:
Schema master
RID master
PDC emulator
Infrastructure master
Domain Trees: A domain tree comprises several domains that share a common
schema and configuration, forming a contiguous namespace. Domains in a tree are
also linked together by trust relationships. Active Directory is a set of one or more
trees.
Trees can be viewed two ways. One view is the trust relationships between
domains. The other view is the namespace of the domain tree.
>What is forests?
A collection of one or more domain trees with a common schema and implicit trust
relationships between them. This arrangement would be used if you have multiple
root DNS addresses.
>How to Select the Appropriate Restore Method?
Active Directory data corruption occurs when the directory contains corrupt data
that has been replicated to all domain controllers or when a large portion of the
Active Directory hierarchy has been changed accidentally (such as deletion of an
OU) and this change has replicated to other domain controllers.
>Where are the Windows NT Primary Domain Controller (PDC) and its Backup
Domain Controller (BDC) in Server 2003?
The Active Directory replaces them. Now all domain controllers share a
multimaster peer-to-peer read and write relationship that hosts copies of the
Active Directory.
The Global Catalog authenticates network user logons and fields inquiries about
objects across a forest or tree. Every domain has at least one GC that is hosted on
a domain controller. In Windows 2000, there was typically one GC on every site in
order to prevent user logon failures across the network.
>How long does it take for security changes to be replicated among the domain
controllers?
Organizations that operate on radically different bases may require separate trees
with distinct namespaces. Unique trade or brand names often give rise to separate
DNS identities. Organizations merge or are acquired and naming continuity is
desired. Organizations form partnerships and joint ventures. While access to
common resources is desired, a separately defined tree can enforce more direct
administrative and security restrictions.
The advantage to this approach is that it provides you with a unique internal
domain name. The disadvantage is that this configuration requires you to manage
two separate namespaces. Also, using a stand-alone internal domain that is
unrelated to your external domain might create confusion for users because the
namespaces do not reflect a relationship between resources within and outside of
your network.
In addition, you might have to register two DNS names with an Internet name
authority if you want to make the internal domain publicly accessible.
C:\>repadmin /showreps
domain_controller
OR
OR
Domain controllers and Sites. Domain controllers are physical computers which
are running Windows Server operating system and Active Directory data base.
Sites are a network segment based on geographical location and which contains
multiple domain controllers in each site.
Domains, Organizational Units, trees and forests are logical components of Active
Directory.
Adding one group as a member of another group is called ‘group nesting’. This will
help for easy administration and reduced replication traffic.
Active Directory is backed up along with System State data. System state data
includes Local registry, COM+, Boot files, NTDS.DIT and SYSVOL folder. System
state can be backed up either using Microsoft’s default NTBACKUP tool or third
party tools such as Symantech NetBackup, IBM Tivoli Storage Manager etc.
Active Directory Recycle bin is a feature of Windows Server 2008 AD. It helps to
restore accidentally deleted Active Directory objects without using a backed up AD
database, rebooting domain controller or restarting any services.
> How do you check currently forest and domain functional levels? Say both GUI
and Command line.
To find out forest and domain functional levels in GUI mode, open ADUC, right
click on the domain name and take properties. Both domain and forest functional
levels will be listed there. TO find out forest and domain functional levels, you can
use DSQUERY command.
> Which version of Kerberos is used for Windows 2000/2003 and 2008 Active
Directory ?
ADAC- Active Directory Administrative Center is a new GUI tool came with
Windows Server 2008 R2, which provides enhanced data management experience
to the admin. ADAC helps administrators to perform common Active Directory
object management task across multiple domains with the same ADAC instance.
> How many objects can be created in Active Directory? (both 2003 and 2008)
As per Microsoft, a single AD domain controller can create around 2.15 billion
objects during its lifetime.
> Explain the process between a user providing his Domain credential to his
workstation and the desktop being loaded? Or how the AD authentication works?
When a user enters a user name and password, the computer sends the user name
to the KDC. The KDC contains a master database of unique long term keys for
every principal in its realm. The KDC looks up the user’s master key (KA), which is
based on the user’s password. The KDC then creates two items: a session key (SA)
to share with the user and a Ticket-Granting Ticket (TGT). The TGT includes a
second copy of the SA, the user name, and an expiration time. The KDC encrypts
this ticket by using its own master key (KKDC), which only the KDC knows. The
client computer receives the information from the KDC and runs the user’s
password through a one-way hashing function, which converts the password into
the user’s KA. The client computer now has a session key and a TGT so that it can
securely communicate with the KDC. The client is now authenticated to the domain
and is ready to access other resources in the domain by using the Kerberos
protocol.
An active directory is a directory structure used on Microsoft Windows based computers and servers
to store information and data about networks and domains. It is primarily used for online information
and was originally created in 1996. It was first used with Windows 2000.
An active directory (sometimes referred to as an AD) does a variety of functions including the ability
to rovide information on objects, helps organize these objects for easy retrieval and access, allows
access by end users and administrators and allows the administrator to set security up for the
directory.
Active Directory is a hierarchical collection of network resources that can contain users, computers,
printers, and other Active Directories. Active Directory Services (ADS) allow administrators to handle
and maintain all network resources from a single location . Active Directory stores information and
settings in a central database
What is LDAP?
The Lightweight Directory Access Protocol, or LDAP , is an application protocol for querying and
modifying directory services running over TCP/IP. Although not yet widely implemented, LDAP should
eventually make it possible for almost any application running on virtually any computer platform to
obtain directory information, such as email addresses and public keys. Because LDAP is an open
protocol, applications need not worry about the type of server hosting the directory.
Can you connect Active Directory to other 3rd-party Directory Services? Name a few
options.
-Yes you can connect other vendors Directory Services with Microsoft’s version.
-Yes, you can use dirXML or LDAP to connect to other directories (ie. E-directory from Novell or NDS
(Novel directory System).
-Yes you can Connect Active Directory to other 3rd -party Directory Services such as dictonaries used
by SAP, Domino etc with the help of MIIS ( Microsoft Identity Integration Server )
Where is the AD database held? What other folders are related to AD?
AD Database is saved in %systemroot%/ntds. You can see other files also in this folder. These are the
main files controlling the AD structure
ntds.dit
edb.log
res1.log
res2.log
edb.chk
When a change is made to the Win2K database, triggering a write operation, Win2K records the
transaction in the log file (edb.log). Once written to the log file, the change is then written to the AD
database. System performance determines how fast the system writes the data to the AD database
from the log file. Any time the system is shut down, all transactions are saved to the database.
During the installation of AD, Windows creates two files: res1.log and res2.log. The initial size of each
is 10MB. These files are used to ensure that changes can be written to disk should the system run out
of free disk space. The checkpoint file (edb.chk) records transactions committed to the AD database
(ntds.dit). During shutdown, a “shutdown” statement is written to the edb.chk file. Then, during a
reboot, AD determines that all transactions in the edb.log file have been committed to the AD
database. If, for some reason, the edb.chk file doesn’t exist on reboot or the shutdown statement isn’t
present, AD will use the edb.log file to update the AD database.
The last file in our list of files to know is the AD database itself, ntds.dit. By default, the file is located
in\NTDS, along with the other files we’ve discussed
What is the SYSVOL folder?
– All active directory data base security related information store in SYSVOL folder and its only
created on NTFS partition.
– The Sysvol folder on a Windows domain controller is used to replicate file-based data among domain
controllers. Because junctions are used within the Sysvol folder structure, Windows NT file system
(NTFS) version 5.0 is required on domain controllers throughout a Windows distributed file system
(DFS) forest.
This is a quote from microsoft themselves, basically the domain controller info stored in files like your
group policy stuff is replicated through this folder structure
Name the AD NCs and replication issues for each NC
Application directory partitions: These are specific to Windows Server 2003 domains.
An application directory partition is a directory partition that is replicated only to specific domain
controllers. A domain controller that participates in the replication of a particular application
directory partition hosts a replica of that partition. Only Domain controllers running Windows Server
2003 can host a replica of an application directory partition.
How do you create a new application partition
http://wiki.answers.com/Q/How_do_you_create_a_new_application_partition
How do you view replication properties for AD partitions and DCs?
The global catalog contains a complete replica of all objects in Active Directory for its Host domain,
and contains a partial replica of all objects in Active Directory for every other domain in the forest.
The global catalog is a distributed data repository that contains a searchable, partial representation of
every object in every domain in a multidomain Active Directory forest. The global catalog is stored on
domain controllers that have been designated as global catalog servers and is distributed through
multimaster replication. Searches that are directed to the global catalog are faster because they do
not involve referrals to different domain controllers.
In addition to configuration and schema directory partition replicas, every domain controller in a
Windows 2000 Server or Windows Server 2003 forest stores a full, writable replica of a single domain
directory partition. Therefore, a domain controller can locate only the objects in its domain. Locating
an object in a different domain would require the user or application to provide the domain of the
requested object.
The global catalog provides the ability to locate objects from any domain without having to know the
domain name. A global catalog server is a domain controller that, in addition to its full, writable
domain directory partition replica, also stores a partial, read-only replica of all other domain directory
partitions in the forest. The additional domain directory partitions are partial because only a limited
set of attributes is included for each object. By including only the attributes that are most used for
searching, every object in every domain in even the largest forest can be represented in the database
of a single global catalog server.
How do you view all the GCs in the forest?
C:\>repadmin/showreps
domain_controller
OR
You can use Replmon.exe for the same purpose.
OR
AD Sites and Services and nslookup gc._msdcs.%USERDNSDOMAIN%
Why not make all DCs in a large forest as GCs?
The reason that all DCs are not GCs to start is that in large (or even Giant) forests the DCs would all
have to hold a reference to every object in the entire forest which could be quite large and quite a
replication burden.
For a few hundred, or a few thousand users even, this not likely to matter unless you have really poor
WAN lines.
Trying to look at the Schema, how can I do that?
adsiedit.exe
c:\windows\system32>regsvr32 schmmgmt.dll
Open mmc –> add snapin –> add Active directory schema
name it as schema.msc
Support Tools are the tools that are used for performing the complicated tasks easily. These can also
be the third party tools. Some of the Support tools include DebugViewer, DependencyViewer,
RegistryMonitor, etc. -edit by Casquehead I beleive this question is reffering to the Windows Server
2003 Support Tools, which are included with Microsoft Windows Server 2003 Service Pack 2. They
are also available for download here:
http://www.microsoft.com/downloads/details.aspx?familyid=96A35011-FD83-419D-939B-
A772EA2DF90&displaylang=en
You need them because you cannot properly manage an Active Directory network without them.
Here they are, it would do you well to familiarize yourself with all of them.
Acldiag.exe
Adsiedit.msc
Bitsadmin.exe
Dcdiag.exe
Dfsutil.exe
Dnslint.exe
Dsacls.exe
Iadstools.dll
Ktpass.exe
Ldp.exe
Netdiag.exe
Netdom.exe
Ntfrsutl.exe
Portqry.exe
Repadmin.exe
Replmon.exe
Setspn.exe
ADSIEdit is a Microsoft Management Console (MMC) snap-in that acts as a low-level editor for Active
Directory. It is a Graphical User Interface (GUI) tool. Network administrators can use it for common
administrative tasks such as adding, deleting, and moving objects with a directory service. The
attributes for each object can be edited or deleted by using this tool. ADSIEdit uses the ADSI
application programming interfaces (APIs) to access Active Directory. The following are the required
files for using this tool:
· ADSIEDIT.DLL
· ADSIEDIT.MSC
A: Replmon is the first tool you should use when troubleshooting Active Directory replication issues.
As it is a graphical tool, replication issues are easy to see and somewhat easier to diagnose than using
its command line counterparts. The purpose of this document is to guide you in how to use it, list some
common replication errors and show some examples of when replication issues can stop other
network installation actions.
for more go to http://www.techtutorials.net/articles/replmon_howto_a.html
NETDOM is a command-line tool that allows management of Windows domains and trust
relationships. It is used for batch management of trusts, joining computers to domains, verifying
trusts, and secure channels
A:
Enables administrators to manage Active Directory domains and trust relationships from the
command prompt.
Netdom is a command-line tool that is built into Windows Server 2008. It is available if you have the
Active Directory Domain Services (AD DS) server role installed. To use netdom, you must run
the netdom command from an elevated command prompt. To open an elevated command prompt,
clickStart, right-click Command Prompt, and then click Run as administrator.
REPADMIN.EXE is a command line tool used to monitor and troubleshoot replication on a computer
running Windows. This is a command line tool that allows you to view the replication topology as seen
from the perspective of each domain controller.
REPADMIN is a built-in Windows diagnostic command-line utility that works at the Active Directory
level. Although specific to Windows, it is also useful for diagnosing some Exchange replication
problems, since Exchange Server is Active Directory based.
REPADMIN doesn’t actually fix replication problems for you. But, you can use it to help determine the
source of a malfunction.
What are sites? What are they used for?
Active directory sites, which consist of well-connected networks defined by IP subnets that help define
the physical structure of your AD, give you much better control over replication traffic and
authentication traffic than the control you get with Windows NT 4.0 domains.
Using Active Directory, the network and its objects are organized by constructs such as domains,
trees, forests, trust relationships, organizational units (OUs), and sites.
What’s the difference between a site link’s schedule and interval?
Schedule enables you to list weekdays or hours when the site link is available for replication to
happen in the give interval. Interval is the re occurrence of the inter site replication in given minutes.
It ranges from 15 – 10,080 mins. The default interval is 180 mins.
What is the KCC?
The KCC is a built-in process that runs on all domain controllers and generates replication topology
for the Active Directory forest. The KCC creates separate replication topologies depending on whether
replication is occurring within a site (intrasite) or between sites (intersite). The KCC also dynamically
adjusts the topology to accommodate new domain controllers, domain controllers moved to and from
sites, changing costs and schedules, and domain controllers that are temporarily unavailable.
What is the ISTG? Who has that role by default?
Intersite Topology Generator (ISTG), which is responsible for the connections among the sites. By
default Windows 2003 Forest level functionality has this role. By Default the first Server has this role.
If that server can no longer preform this role then the next server with the highest GUID then takes
over the role of ISTG.
What are the requirements for installing AD on a new server?
· A NIC
· Properly configured TCP/IP (IP address, subnet mask and – optional – default gateway)
· The Windows 2000 or Windows Server 2003 CD media (or at least the i386 folder)
From the Petri IT Knowledge base. For more info, follow this link:
http://www.petri.co.il/active_directory_installation_requirements.htm
What can you do to promote a server to DC if you’re in a remote location with slow WAN
link?
First available in Windows 2003, you will create a copy of the system state from an existing DC and
copy it to the new remote server. Run “Dcpromo /adv”. You will be prompted for the location of the
system state files
How can you forcibly remove AD from a server, and what do you do later? • Can I get user
passwords from the AD database?
Demote the server using dcpromo /forceremoval, then remove the metadata from Active directory
using ndtsutil. There is no way to get user passwords from AD that I am aware of, but you should still
be able to change them.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions
b. In the right-pane, double-click ProductType.
c. Type ServerNT in the Value data box, and then click OK.
its a member server now but AD entries are still there. Promote teh server to a fake domain
say ABC.com and then remove gracefully using DCpromo. Else after restart you can also use ntdsutil
to do metadata as told in teh earlier post
What tool would I use to try to grab security related packets from the wire?
you must use sniffer-detecting tools to help stop the snoops. … A good packet sniffer would be
“ethereal”
www.ethereal.com
Name some OU design considerations ?
Applying Group Policy An OU is the lowest-level Active Directory container to which you can assign
Group Policy settings.
The number of days before a deleted object is removed from the directory services. This assists in
removing objects from replicated servers and preventing restores from reintroducing a deleted object.
This value is in the Directory Service object in the configuration NIC by default 2000 (60 days) 2003
(180 days)
What do you do to install a new Windows 2003 DC in a Windows 2000 AD?
If you plan to install windows 2003 server domain controllers into an existing windows 2000 domain
or upgrade a windows 2000 domain controllers to windows server 2003, you first need to run
the Adprep.exe utility on the windows 2000 domain controllers currently holding the schema master
and infrastructure master roles. The adprep / forestprer command must first be issued on the windows
2000 server holding schema master role in the forest root doman to prepare the existing schema to
support windows 2003 active directory. The adprep /domainprep command must be issued on the
sever holding the infrastructure master role in the domain where 2000 server will be deployed.
What do you do to install a new Windows 2003 R2 DC in a Windows 2003 AD?
A. If you’re installing Windows 2003 R2 on an existing Windows 2003 server with SP1 installed, you
require only the second R2 CD-ROM. Insert the second CD and the r2auto.exe will display the
Windows 2003 R2 Continue Setup screen.
If you’re installing R2 on a domain controller (DC), you must first upgrade the schema to the R2
version (this is a minor change and mostly related to the new Dfs replication engine). To update the
schema, run the Adprep utility, which you’ll find in the Cmpnents\r2\adprep folder on the second CD-
ROM. Before running this command, ensure all DCs are running Windows 2003 or Windows 2000 with
SP2 (or later)
How would you find all users that have not logged on since last month?
http://wiki.answers.com/Q/How_would_you_find_all_users_that_have_not_logged_on_since_last_mon
th
What are the DScommands?
New DS (Directory Service) Family of built-in command line utilities for Windows Server 2003 Active
Directory
When it comes to choosing a scripting tool for Active Directory objects, you really are spoilt for choice.
The the DS family of built-in command line executables offer alternative strategies to CSVDE, LDIFDE
and VBScript.
It has 5 Roles: –
Schema Master:
The schema master domain controller controls all updates and modifications to the schema. Once the
Schema update is complete, it is replicated from the schema master to all other DCs in the directory.
To update the schema of a forest, you must have access to the schema master. There can be only one
schema master in the whole forest.
Domain naming master:
The domain naming master domain controller controls the addition or removal of domains in the
forest. This DC is the only one that can add or remove a domain from the directory. It can also add or
remove cross references to domains in external directories. There can be only one domain naming
master in the whole forest.
Infrastructure Master:
When an object in one domain is referenced by another object in another domain, it represents the
reference by the GUID, the SID (for references to security principals), and the DN of the object being
referenced. The infrastructure FSMO role holder is the DC responsible for updating an object’s SID
and distinguished name in a cross-domain object reference. At any one time, there can be only one
domain controller acting as the infrastructure master in each domain.
Note: The Infrastructure Master (IM) role should be held by a domain controller that is not a Global
Catalog server (GC). If the Infrastructure Master runs on a Global Catalog server it will stop updating
object information because it does not contain any references to objects that it does not hold. This is
because a Global Catalog server holds a partial replica of every object in the forest. As a result, cross-
domain object references in that domain will not be updated and a warning to that effect will be
logged on that DC’s event log. If all the domain controllers in a domain also host the global catalog, all
the domain controllers have the current data, and it is not important which domain controller holds
the infrastructure master role.
Relative ID (RID) Master:
The RID master is responsible for processing RID pool requests from all domain controllers in a
particular domain. When a DC creates a security principal object such as a user or group, it attaches a
unique Security ID (SID) to the object. This SID consists of a domain SID (the same for all SIDs
created in a domain), and a relative ID (RID) that is unique for each security principal SID created in a
domain. Each DC in a domain is allocated a pool of RIDs that it is allowed to assign to the security
principals it creates. When a DC’s allocated RID pool falls below a threshold, that DC issues a request
for additional RIDs to the domain’s RID master. The domain RID master responds to the request by
retrieving RIDs from the domain’s unallocated RID pool and assigns them to the pool of the requesting
DC. At any one time, there can be only one domain controller acting as the RID master in the domain.
PDC Emulator:
The PDC emulator is necessary to synchronize time in an enterprise. Windows 2000/2003 includes the
W32Time (Windows Time) time service that is required by the Kerberos authentication protocol. All
Windows 2000/2003-based computers within an enterprise use a common time. The purpose of the
time service is to ensure that the Windows Time service uses a hierarchical relationship that controls
authority and does not permit loops to ensure appropriate common time usage.
The PDC emulator of a domain is authoritative for the domain. The PDC emulator at the root of the
forest becomes authoritative for the enterprise, and should be configured to gather the time from an
external source. All PDC FSMO role holders follow the hierarchy of domains in the selection of their
in-bound time partner.
:: In a Windows 2000/2003 domain, the PDC emulator role holder retains the following functions:
:: Password changes performed by other DCs in the domain are replicated preferentially to the PDC
emulator.
Authentication failures that occur at a given DC in a domain because of an incorrect password are
forwarded to the PDC emulator before a bad password failure message is reported to the user.
Account lockout is processed on the PDC emulator.
Editing or creation of Group Policy Objects (GPO) is always done from the GPO copy found in the PDC
Emulator’s SYSVOL share, unless configured not to do so by the administrator.
The PDC emulator performs all of the functionality that a Microsoft Windows NT 4.0 Server-based
PDC or earlier PDC performs for Windows NT 4.0-based or earlier clients.
This part of the PDC emulator role becomes unnecessary when all workstations, member servers, and
domain controllers that are running Windows NT 4.0 or earlier are all upgraded to Windows
2000/2003. The PDC emulator still performs the other functions as described in a Windows 2000/2003
environment.
What FSMO placement considerations do you know of?
Windows 2000/2003 Active Directory domains utilize a Single Operation Master method called FSMO
(Flexible Single Master Operation), as described in Understanding FSMO Roles in Active Directory.
In most cases an administrator can keep the FSMO role holders (all 5 of them) in the same spot (or
actually, on the same DC) as has been configured by the Active Directory installation process.
However, there are scenarios where an administrator would want to move one or more of the FSMO
roles from the default holder DC to a different DC.
Windows Server 2003 Active Directory is a bit different than the Windows 2000 version when dealing
with FSMO placement. In this article I will only deal with Windows Server 2003 Active Directory, but
you should bear in mind that most considerations are also true when planning Windows 2000 AD
FSMO roles
What’s the difference between transferring a FSMO role and seizing one? Which one
should you NOT seize? Why?
Certain domain and enterprise-wide operations that are not good for multi-master updates are
performed by a single domain controller in an Active Directory domain or forest. The domain
controllers that are assigned to perform these unique operations are called operations masters or
FSMO role holders.
The following list describes the 5 unique FSMO roles in an Active Directory forest and the dependent
operations that they perform:
Schema master – The Schema master role is forest-wide and there is one for each forest. This role
is required to extend the schema of an Active Directory forest or to run the adprep
/domainprep command.
Domain naming master – The Domain naming master role is forest-wide and there is one for each
forest. This role is required to add or remove domains or application partitions to or from a forest.
RID master – The RID master role is domain-wide and there is one for each domain. This role is
required to allocate the RID pool so that new or existing domain controllers can create user
accounts, computer accounts or security groups.
PDC emulator – The PDC emulator role is domain-wide and there is one for each domain. This role
is required for the domain controller that sends database updates to Windows NT backup domain
controllers. The domain controller that owns this role is also targeted by certain administration
tools and updates to user account and computer account passwords.
Infrastructure master – The Infrastructure master role is domain-wide and there is one for each
domain. This role is required for domain controllers to run the adprep /forestprep command
successfully and to update SID attributes and distinguished name attributes for objects that are
referenced across domains.
The Active Directory Installation Wizard (Dcpromo.exe) assigns all 5 FSMO roles to the first domain
controller in the forest root domain. The first domain controller in each new child or tree domain is
assigned the three domain-wide roles. Domain controllers continue to own FSMO roles until they are
reassigned by using one of the following methods:
An administrator reassigns the role by using a GUI administrative tool.
An administrator reassigns the role by using the ntdsutil /roles command.
An administrator gracefully demotes a role-holding domain controller by using the Active Directory
Installation Wizard. This wizard reassigns any locally-held roles to an existing domain controller in
the forest. Demotions that are performed by using the dcpromo /forceremoval command leave
FSMO roles in an invalid state until they are reassigned by an administrator.
As replication occurs, non-FSMO domain controllers in the domain or forest gain full knowledge of
changes that are made by FSMO-holding domain controllers. If you must transfer a role, the best
candidate domain controller is one that is in the appropriate domain that last inbound-replicated, or
recently inbound-replicated a writable copy of the “FSMO partition” from the existing role holder. For
example, the Schema master role-holder has a distinguished name path of
CN=schema,CN=configuration,dc=<forest root domain>, and this mean that roles reside in and are
replicated as part of the CN=schema partition. If the domain controller that holds the Schema master
role experiences a hardware or software failure, a good candidate role-holder would be a domain
controller in the root domain and in the same Active Directory site as the current owner. Domain
controllers in the same Active Directory site perform inbound replication every 5 minutes or 15
seconds.
A domain controller whose FSMO roles have been seized should not be permitted to communicate
with existing domain controllers in the forest. In this scenario, you should either format the hard disk
and reinstall the operating system on such domain controllers or forcibly demote such domain
controllers on a private network and then remove their metadata on a surviving domain controller in
the forest by using the ntdsutil /metadata cleanup command. The risk of introducing a former
FSMO role holder whose role has been seized into the forest is that the original role holder may
continue to operate as before until it inbound-replicates knowledge of the role seizure. Known risks of
two domain controllers owning the same FSMO roles include creating security principals that have
overlapping RID pools, and other problems.
Transfer FSMO roles
To transfer the FSMO roles by using the Ntdsutil utility, follow these steps:
1. Log on to a Windows 2000 Server-based or Windows Server 2003-based member computer or
domain controller that is located in the forest where FSMO roles are being transferred. We
recommend that you log on to the domain controller that you are assigning FSMO roles to. The
logged-on user should be a member of the Enterprise Administrators group to transfer Schema
master or Domain naming master roles, or a member of the Domain Administrators group of the
domain where the PDC emulator, RID master and the Infrastructure master roles are being
transferred.
2. Click Start, click Run, type ntdsutil in the Open box, and then click OK.
3. Type roles, and then press ENTER.Note To see a list of available commands at any one of the
prompts in the Ntdsutil utility, type ?, and then press ENTER.
4. Type connections, and then press ENTER.
5. Type connect to server servername, and then press ENTER, where servername is the name of the
domain controller you want to assign the FSMO role to.
6. At the server connections prompt, type q, and then press ENTER.
7. Type transfer role, where role is the role that you want to transfer. For a list of roles that you can
transfer, type ? at the fsmo maintenance prompt, and then press ENTER, or see the list of roles
at the start of this article. For example, to transfer the RID master role, type transfer rid master.
The one exception is for the PDC emulator role, whose syntax is transfer pdc, not transfer pdc
emulator.
8. At the fsmo maintenance prompt, type q, and then press ENTER to gain access to
the ntdsutil prompt. Type q, and then press ENTER to quit the Ntdsutil utility.
To seize the FSMO roles by using the Ntdsutil utility, follow these steps:
1. Log on to a Windows 2000 Server-based or Windows Server 2003-based member computer or
domain controller that is located in the forest where FSMO roles are being seized. We recommend
that you log on to the domain controller that you are assigning FSMO roles to. The logged-on user
should be a member of the Enterprise Administrators group to transfer schema or domain naming
master roles, or a member of the Domain Administrators group of the domain where the PDC
emulator, RID master and the Infrastructure master roles are being transferred.
2. Click Start, click Run, type ntdsutil in the Open box, and then click OK.
3. Type roles, and then press ENTER.
4. Type connections, and then press ENTER.
5. Type connect to server servername, and then press ENTER, where servername is the name of the
domain controller that you want to assign the FSMO role to.
6. At the server connections prompt, type q, and then press ENTER.
7. Type seize role, where role is the role that you want to seize. For a list of roles that you can seize,
type ? at the fsmo maintenance prompt, and then press ENTER, or see the list of roles at the
start of this article. For example, to seize the RID master role, type seize rid master. The one
exception is for the PDC emulator role, whose syntax is seize pdc, not seize pdc emulator.
8. At the fsmo maintenance prompt, type q, and then press ENTER to gain access to
the ntdsutil prompt. Type q, and then press ENTER to quit the Ntdsutil utility.Notes
o Under typical conditions, all five roles must be assigned to “live” domain controllers in the
forest. If a domain controller that owns a FSMO role is taken out of service before its roles
are transferred, you must seize all roles to an appropriate and healthy domain controller.
We recommend that you only seize all roles when the other domain controller is not
returning to the domain. If it is possible, fix the broken domain controller that is assigned
the FSMO roles. You should determine which roles are to be on which remaining domain
controllers so that all five roles are assigned to a single domain controller. For more
information about FSMO role placement, click the following article number to view the
article in the Microsoft Knowledge Base: 223346
(http://support.microsoft.com/kb/223346/ ) FSMO placement and optimization on Windows
2000 domain controllers
o If the domain controller that formerly held any FSMO role is not present in the domain and
if it has had its roles seized by using the steps in this article, remove it from the Active
Directory by following the procedure that is outlined in the following Microsoft Knowledge
Base article: 216498 (http://support.microsoft.com/kb/216498/ ) How to remove data in
active directory after an unsuccessful domain controller demotion
o Removing domain controller metadata with the Windows 2000 version or the Windows
Server 2003 build 3790 version of the ntdsutil /metadata cleanup command does not
relocate FSMO roles that are assigned to live domain controllers. The Windows Server
2003 Service Pack 1 (SP1) version of the Ntdsutil utility automates this task and removes
additional elements of domain controller metadata.
o Some customers prefer not to restore system state backups of FSMO role-holders in case
the role has been reassigned since the backup was made.
o Do not put the Infrastructure master role on the same domain controller as the global
catalog server. If the Infrastructure master runs on a global catalog server it stops
updating object information because it does not contain any references to objects that it
does not hold. This is because a global catalog server holds a partial replica of every object
in the forest.
For more information about FSMO roles, click the following article numbers to view the articles in the
Microsoft Knowledge Base:
How do you configure a “stand-by operation master” for any of the roles?
1. Open Active Directory Sites and Services.
2. Expand the site name in which the standby operations master is located to display
the Servers folder.
3. Expand the Servers folder to see a list of the servers in that site.
4. Expand the name of the server that you want to be the standby operations master to display its
NTDS Settings.
5. Right-click NTDS Settings, click New, and then click Connection.
6. In the Find Domain Controllers dialog box, select the name of the current role holder, and then
click OK.
7. In the New Object-Connection dialog box, enter an appropriate name for the Connection object
or accept the default name, and click OK.
How do you backup AD?
Backing up Active Directory is essential to maintain an Active Directory database. You can back up
Active Directory by using the Graphical User Interface (GUI) and command-line tools that the
Windows Server 2003 family provides.
You frequently backup the system state data on domain controllers so that you can restore the most
current data. By establishing a regular backup schedule, you have a better chance of recovering data
when necessary.
To ensure a good backup includes at least the system state data and contents of the system disk, you
must be aware of the tombstone lifetime. By default, the tombstone is 60 days. Any backup older than
60 days is not a good backup. Plan to backup at least two domain controllers in each domain, one of at
least one backup to enable an authoritative restore of the data when necessary.
Active Directory system state data does not contain Active Directory unless the server, on which you
are backing up the system state data, is a domain controller. Active Directory is present only on
domain controllers.
The SYSVOL shared folder: This shared folder contains Group policy templates and logon scripts.
The SYSVOL shared folder is present only on domain controllers.
The Registry: This database repository contains information about the computer’s configuration.
System startup files: Windows Server 2003 requires these files during its initial startup phase. They
include the boot and system files that are under windows file protection and used by windows to load,
configure, and run the operating system.
The COM+ Class Registration database: The Class registration is a database of information about
Component Services applications.
The Certificate Services database: This database contains certificates that a server running
Windows server 2003 uses to authenticate users. The Certificate Services database is present only if
the server is operating as a certificate server.
System state data contains most elements of a system’s configuration, but it may not include all of the
information that you require recovering data from a system failure. Therefore, be sure to backup all
boot and system volumes, including the System State, when you back up your server.
Active Directory restore can be performed in several ways. Replication synchronizes the latest
changes from every other replication partner. Once the replication is finished each partner has an
updated version of Active Directory. There is another way to get these latest updates by Backup utility
to restore replicated data from a backup copy. For this restore you don’t need to configure again your
domain controller or no need to install the operating system from scratch.
Primary restore: This method rebuilds the first domain controller in a domain when there is no other
way to rebuild the domain. Perform a primary restore only when all the domain controllers in the
domain are lost, and you want to rebuild the domain from the backup.
Members of Administrators group can perform the primary restore on local computer, or user should
have been delegated with this responsibility to perform restore. On a domain controller only Domain
Admins can perform this restore.
Normal restore: This method reinstates the Active Directory data to the state before the backup, and
then updates the data through the normal replication process. Perform a normal restore for a single
domain controller to a previously known good state.
Authoritative restore: You perform this method in tandem with a normal restore. An authoritative
restore marks specific data as current and prevents the replication from overwriting that data. The
authoritative data is then replicated through the domain.
Perform an authoritative restore individual object in a domain that has multiple domain controllers.
When you perform an authoritative restore, you lose all changes to the restore object that occurred
after the backup. Ntdsutil is a command line utility to perform an authoritative restore along with
windows server 2003 system utilities. The Ntdsutil command-line tool is an executable file that you
use to mark Active Directory objects as authoritative so that they receive a higher version recently
changed data on other domain controllers does not overwrite system state data during replication.
How do you restore AD?
In Windows Server 2003 family, you can restore the Active Directory database if it becomes corrupted
or is destroyed because of hardware or software failures. You must restore the Active Directory
database when objects in Active Directory are changed or deleted.
Active Directory restore can be performed in several ways. Replication synchronizes the latest
changes from every other replication partner. Once the replication is finished each partner has an
updated version of Active Directory. There is another way to get these latest updates by Backup utility
to restore replicated data from a backup copy. For this restore you don’t need to configure again your
domain controller or no need to install the operating system from scratch.
Active Directory Restore Methods
You can use one of the three methods to restore Active Directory from backup media: primary restore,
normal (non authoritative) restore, and authoritative restore.
Primary restore: This method rebuilds the first domain controller in a domain when there is no other
way to rebuild the domain. Perform a primary restore only when all the domain controllers in the
domain are lost, and you want to rebuild the domain from the backup.
Members of Administrators group can perform the primary restore on local computer, or user should
have been delegated with this responsibility to perform restore. On a domain controller only Domain
Admins can perform this restore.
Normal restore: This method reinstates the Active Directory data to the state before the backup, and
then updates the data through the normal replication process. Perform a normal restore for a single
domain controller to a previously known good state.
Authoritative restore: You perform this method in tandem with a normal restore. An authoritative
restore marks specific data as current and prevents the replication from overwriting that data. The
authoritative data is then replicated through the domain.
Perform an authoritative restore individual object in a domain that has multiple domain controllers.
When you perform an authoritative restore, you lose all changes to the restore object that occurred
after the backup. Ntdsutil is a command line utility to perform an authoritative restore along with
windows server 2003 system utilities. The Ntdsutil command-line tool is an executable file that you
use to mark Active Directory objects as authoritative so that they receive a higher version recently
changed data on other domain controllers does not overwrite system state data during replication.
METHOD
A.
You can’t restore Active Directory (AD) to a domain controller (DC) while the Directory Service (DS) is
running. To restore AD, perform the following steps.
Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt
Start NT Backup.
Select the Restore tab.
Select the backup media, and select System State.
Click Start Restore.
Click OK in the confirmation dialog box.
After you restore the backup, reboot the computer and start in normal mode to use the restored
information. The computer might hang after the restore completes; Sometimes it takes a 30-minute
wait on some machines.
How do you change the DS Restore admin password?
When you promote a Windows 2000 Server-based computer to a domain controller, you are prompted
to type a Directory Service Restore Mode Administrator password. This password is also used by
Recovery Console, and is separate from the Administrator password that is stored in Active Directory
after a completed promotion.
The Administrator password that you use when you start Recovery Console or when you press F8 to
start Directory Service Restore Mode is stored in the registry-based Security Accounts Manager
(SAM) on the local computer. The SAM is located in the\System32\Config folder. The SAM-based
account and password are computer specific and they are not replicated to other domain controllers in
the domain.
For ease of administration of domain controllers or for additional security measures, you can change
the Administrator password for the local SAM. To change the local Administrator password that you
use when you start Recovery Console or when you start Directory Service Restore Mode, use the
following method.
1. Log on to the computer as the administrator or a user who is a member of the Administrators
group. 2. Shut down the domain controller on which you want to change the password. 3. Restart the
computer. When the selection menu screen is displayed during restar, press F8 to view advanced
startup options. 4. Click the Directory Service Restore Mode option. 5. After you log on, use one of
the following methods to change the local Administrator password: • At a command prompt, type the
following command:
Group Policy gives you administrative control over users and computers in your network. By using
Group Policy, you can define the state of a user’s work environment once, and then rely on Windows
Server 2003 to continually force the Group Policy settings that you apply across an entire organization
or to specific groups of users and computers.
Group Policy Advantages
You can assign group policy in domains, sites and organizational units.
All users and computers get reflected by group policy settings in domain, site and organizational unit.
No one in network has rights to change the settings of Group policy; by default only administrator has
full privilege to change, so it is very secure.
Policy settings can be removed and can further rewrite the changes.
Where GPO’s store Group Policy Information
Group Policy objects store their Group Policy information in two locations:
Group Policy Container: The GPC is an Active Directory object that contains GPO status, version
information, WMI filter information, and a list of components that have settings in the GPO.
Computers can access the GPC to locate Group Policy templates, and domain controller does not have
the most recent version of the GPO, replication occurs to obtain the latest version of the GPO.
Group Policy Template: The GPT is a folder hierarchy in the shared SYSVOL folder on a domain
controller. When you create GPO, Windows Server 2003 creates the corresponding GPT which
contains all Group Policy settings and information, including administrative templates, security,
software installation, scripts, and folder redirection settings. Computers connect to the SYSVOL folder
to obtain the settings.
The name of the GPT folder is the Globally Unique Identifier (GUID) of the GPO that you created. It is
identical to the GUID that Active Directory uses to identify the GPO in the GPC. The path to the GPT
on a domain controller is systemroot\SYSVOL\sysvol.
Managing GPOs
To avoid conflicts in replication, consider the selection of domain controller, especially because the
GPO data resides in SYSVOL folder and the Active Directory. Active Directory uses two independent
replication techniques to replicate GPO data among all domain controllers in the domain. If two
administrator’s changes can overwrite those made by other administrator, depends on the replication
latency. By default the Group Policy Management console uses the PDC Emulator so that all
administrators can work on the same domain controller.
WMI Filter
WMI filters is use to get the current scope of GPOs based on attributes of the user or computer. In this
way, you can increase the GPOs filtering capabilities beyond the security group filtering mechanisms
that were previously available.
Linking can be done with WMI filter to a GPO. When you apply a GPO to the destination computer,
Active Directory evaluates the filter on the destination computer. A WMI filter has few queries that
active Directory evaluates in place of WMI repository of the destination computer. If the set of queries
is false, Active Directory does not apply the GPO. If set of queries are true, Active Directory applies
the GPO. You write the query by using the WMI Query Language (WQL); this language is similar to
querying SQL for WMI repository.
Also consider how you will implement Group Policy for the organization. Be sure to consider the
delegation of authority, separation of administrative duties, central versus decentralized
administration, and design flexibility so that your plan will provide for ease of use as well as
administration.
Planning GPOs
Create GPOs in way that provides for the simplest and most manageable design — one in which you
can use inheritance and multiple links.
1:- Local Group Policy object-each computer has exactly one Group Policy object that is stored locally.
This processes for both computer and user Group Policy processing.
2:- Site-Any GPOs that have been linked to the site that the computer belongs to are processed next.
Processing is in the order that is specified by the administrator, on the Linked Group Policy Objects
tab for the site in Group Policy Management Console (GPMC). The GPO with the lowest link order is
processed last, and therefore has the highest precedence.
3:- Domain-processing of multiple domain-linked GPOs is in the order specified by the administrator,
on the Linked Group Policy Objects tab for the domain in GPMC. The GPO with the lowest link order is
processed last, and therefore has the highest precedence.
4:- Organizational units-GPOs that are linked to the organizational unit that is highest in the Active
Directory hierarchy are processed first, then GPOs that are linked to its child organizational unit, and
so on. Finally, the GPOs that are linked to the organizational unit that contains the user or computer
are processed.
At the level of each organizational unit in the Active Directory hierarchy, one, many, or no GPOs can
be linked. If several GPOs are linked to an organizational unit, their processing is in the order that is
specified by the administrator, on the Linked Group Policy Objects tab for the organizational unit in
GPMC. The GPO with the lowest link order is processed last, and therefore has the highest
precedence.
This order means that the local GPO is processed first, and GPOs that are linked to the organizational
unit of which the computer or user is a direct member are processed last, which overwrites settings in
the earlier GPOs if there are conflicts. (If there are no conflicts, then the earlier and later settings are
merely aggregated.)
Name a few benefits of using GPMC.
Microsoft released the Group Policy Management Console (GPMC) years ago, which is an amazing
innovation in Group Policy management. The tool provides control over Group Policy in the following
manner:
Easy administration of all GPOs across the entire Active Directory Forest
View of all GPOs in one single list
Reporting of GPO settings, security, filters, delegation, etc.
Control of GPO inheritance with Block Inheritance, Enforce, and Security Filtering
Delegation model
Backup and restore of GPOs
Migration of GPOs across different domains and forests
With all of these benefits, there are still negatives in using the GPMC alone. Granted, the GPMC is
needed and should be used by everyone for what it is ideal for. However, it does fall a bit short when
you want to protect the GPOs from the following:
Role based delegation of GPO management
Being edited in production, potentially causing damage to desktops and servers
Forgetting to back up a GPO after it has been modified
Change management of each modification to every GPO
How can you determine what GPO was and was not applied for a user? Name a few ways to
do that.
Simply use the Group Policy Management Console created by MS for that very purpose, allows you to
run simulated policies on computers or users to determine what policies are enforced. Link in sources
What are administrative templates?
Administrative Templates are a feature of Group Policy, a Microsoft technology for centralised
management of machines and users in an Active Directory environment.
Administrative Templates facilitate the management of registry-based policy. An ADM file is used to
describe both the user interface presented to the Group Policy administrator and the registry keys
that should be updated on the target machines. An ADM file is a text file with a specific syntax which
describes both the interface and the registry values which will be changed if the policy is enabled or
disabled.
ADM files are consumed by the Group Policy Object Editor (GPEdit). Windows XP Service Pack 2
shipped with five ADM files (system.adm, inetres.adm, wmplayer.adm, conf.adm and wuau.adm).
These are merged into a unified “namespace” in GPEdit and presented to the administrator under the
Administrative Templates node (for both machine and user policy).
What’s the difference between software publishing and assigning?
Assign Users
The software application is advertised when the user logs on. It is installed when the user clicks on
the software application icon via the start menu, or accesses a file that has been associated with the
software application.
Assign Computers
The software application is advertised and installed when it is safe to do so, such as when the
computer is next restarted.
Publish to users
The software application does not appear on the start menu or desktop. This means the user may not
know that the software is available. The software application is made available via the Add/Remove
Programs option in control panel, or by clicking on a file that has been associated with the application.
Published applications do not reinstall themselves in the event of accidental deletion, and it is not
possible to publish to computers.
Can I deploy non-MSI software with GPO?
http://support.microsoft.com/kb/257718/
You want to standardize the desktop environments (wallpaper, My Documents, Start
menu, printers etc.) on the computers in one department. How would you do that?
Login on client as Domain Admin user change whatever you need add printers etc go to system-User
profiles copy this user profile to any location by select Everyone in permitted to use after copy
change ntuser.dat to ntuser.man and assgin this path under user profile
DNS:
What is DNS?
DNS stands for Domain Name Space. It translates names into IP addresses and IP
addresses into names.
Default Domain Policy is linked to the domain, and it affects all users and computers in
the domain (including computers that are domain controllers) through policy
inheritance. For more information
Default Domain Controllers Policy is linked to the Domain Controllers organizational
unit, and it generally only affects domain controllers, because computer accounts for
domain controllers are kept exclusively in the Domain Controllers organizational unit.
What are User and Computer Policy?
User Policy Settings are stored under User Configuration in Group Policy and they are
obtained when a user logs on.
Computer Policy Settings are stored under Computer Configuration in Group Policy
and they obtained when a computer starts
What is the Order of GP Processing?
1. Local Policy-The unique local Group Policy object on a computer
2. Site Policy
3. Domain Policy
4. Organizational Unit(OU)
Site, Domain and OU are applied as per administratively specified order. This means
Group Policy objects that are linked to the organizational unit that is highest in the
Active Directory hierarchy are processed first, then Group Policy objects that are
linked to its child organizational unit, and so on. Finally, the Group Policy objects that
are linked to the organizational unit that contains the user or computer are processed.
At the level of each organizational unit in the Active Directory hierarchy, one, many, or
no Group Policy objects can be linked. If several Group Policy objects are linked to an
organizational unit, their processing is synchronous and in an order that is specified by
the administrator.
In this processing order sites are applied first but have the least precedence. OUs are
processed last and have the highest precedence.
Group Policy objects, other than the local Group Policy object, are
stored in two locations: the Group Policy container and the Group
Policy template.
Installation.
Group Policy object that is stored locally. This processes for both
2.Site : Any GPOs that have been linked to the site that the
(GPMC). The GPO with the lowest link order is processed last, and
first, then POs that are linked to its child organizational unit, and so
on. Finally, the GPOs that are linked to the organizational unit that
The GPO with the lowest link order is processed last, and therefore
This order means that the local GPO is processed first, and GPOs
there are no conflicts, then the earlier and later settings are merely
aggregated.)
How to backup/restore Group Policy objects?
When you do, the details pane should display all of the group policy
objects that are associated with the domain. In Figure A there are
may have many more. The Group Policy Objects container stores all
the Back Up All command from the shortcut menu. When you do,
Windows will open the Back Up Group Policy Object dialog box.
As you can see in Figure B, this dialog box requires you to provide
the path to which you want to store the backup files. You can either
You must provide the path to which you want to store your backup
the backup process completes, you should see a dialog box that
tells you how many group policy objects were successfully backed
up. Click OK to close the dialog box, and you’re all done.
you have two options. The first option is to right-click on the Group
Policy Object, and choose the Restore From Backup command from
the shortcut menu. When you do this, Windows will remove all of
the individual settings from the Group Policy Object, and then
want to restore, and choose the Import Settings option. This option
Any settings that presently reside within the Group Policy Object
go to Start->programs->Administrative tools->Active
and Taskbar
assigning?
application icon via the start menu, or accesses a file that has been
restarted.
start menu or desktop. This means the user may not know that the
both the interface and the registry values which will be changed if
A user claims he did not receive a GPO, yet his user and
You may also want to check the computers event logs. If you find
event ID 1085 then you may want to download the patch to fix this
Where is secedit ?
inherit.
Make sure you check Block inheritance among the options when
Inheritance’ work ?
you set order for all defined policies but you may want to force
containers
Override’s set.
Computers)
4. Click Options
6. Click OK
A. Group Policy loop back processing can be used to alter the application of
GPOs to a user by including GPOs based on the location of the computer object.
The typical way to use loop back processing is to apply GPOs that depend on
A. The security database in Windows 2000 had a specific table to store local
Windows Server 2003. Local security policy settings are written directly to
Q. What are the differences between Group Policy, Registry-based policy, and
Security policy?
A. Group Policy is an infrastructure in which IT administrators can implement
standard computing environments for groups of users and computers and
includes both Registry-based and Security Policy. Registry-based policy is one
of the many features of Group Policy that uses Administrative templates to
modify the registry settings for policy-enabled components included in
Windows. Security Policy, another feature delivered by Group Policy, includes a
variety of security-related settings for Microsoft Windows.
Q. Are the new Windows Vista features of GPMC available in an update to the
current version of GPMC?
A. You can join a Windows Vista workstation to your existing domains in order
to benefit from the new features in GPMC. GPMC is integrated directly into the
Windows Vista operating system (Business, Enterprise, and Ultimate versions
only) and is the standard tool for managing Group Policy along with Group
Policy Object Editor. New Windows Vista features are not included in the
current version of GPMC, downloadable from the Microsoft Download Center.
Q. How often is Group Policy applied and how do you change it?
A. Group Policy for computers is triggered at computer startup. For users,
Group Policy is triggered when they log on. Versions of Windows before
Windows XP as well as Windows Server 2003 use synchronous processing,
meaning that computer Group Policy is completed before the logon dialog box
is presented. User Group Policy is completed before the shell is active and
available for the user to interact with it. Windows XP defaults to asynchronous
policy processing. By default, Group Policy is refreshed every 90 minutes with
a randomized delay of up to 30 minutes, for a total maximum refresh interval of
up to 120 minutes. This interval can be changed using the computer policy
setting Group Policy refresh interval for Computer located in the Computer
Configuration\Administrative Templates\System\Group Policy namespace. The
processing of Group Policy is explained in the Core Group Policy Technical
Reference.
2. Group policy is not applying to all clients. Step by step to solve the issue?
Ans. A) Check Active Directory Users and Computers to see what site, domain, and OU the user and
the computer are in.
B) In GPMC, expand the Active Directory containers that contain the affected client. In the navigation
pane, scan the list of GPOs for each container for disabled links.
C) GPOs are filtered according to the Active Directory groups that the users and computers belong to.
The Active Directory objects in which you place your Active Directory groups and the ways you group
users or computers affect how GPOs can be distributed and applied.
D) Active Directory and FRS replication lag can affect either part of the GPO.
E)If you have an OU that contains other OUs and you remove Read permissions to the parent OU,
then no policy will be processed by computers or users in that OU hierarchy.
F) If there are conflicting settings in the GPOs that apply to the client, they are resolved according to
the Group Policy inheritance rules.
When a user or computer is added to an OU, two things need to happen before the GPOs that the new
OU links to are applied to the client:
After the replication is complete, you must either log off and log back on again if the user account
moved to the new OU, or restart the computer if the computer moved to the new OU.
Hyper V:
Microsoft virtual server provides virtualization platform that allows the creation of virtual machine
using a windows operating system. It is developed by Connectix. This platform provides the provision
to create and manage the virtual machines using IIS web based interface that keeps all the settings
and configuration at one place. It also allows the management of network configuration for
communicating with host operating system or other guest operating systems.
Hyper-V server is a hypervisor that doesn't require any other operating system to run on. It is a good
platform for organizations that needs one consolidated single server. This is used where the
infrastructure work load is not high. It provides host clustering to produce high availability for virtual
machines. Hyper-V server provides added functionalities like managing, creating and distributing the
virtual machines. It provides flexible and cost effective solutions for enterprise organizations.
Remote site virtualization provides server virtualization and need for remote management for the
virtual machines. It is provided due to limited resources that might not exist. The main challenge is to
apply the server consolidations. Each server is using dedicative service functions and small servers
and not using multiple servers. If single server approach is being given then there will be less power
requirements, space requirements and only one server to manage and backup that will make it prone
to fail and reduce the efficiency.
Microsoft Virtual server is used to access the network application resource that is in a non-clustered
environment. In this clients connected to network must remain connected in case of any failure in
network access to the application and resources get lost or the connection becomes unavailable.
Microsoft Virtual server allows creation of virtual servers. These virtual servers don’t belong to any
particular computer and can be damaged within a group too. The server is used to identify a group
that belongs or communicating with each other in the form of IP addresses.
What are the similarities between the Virtual server and physical server?
The virtual server provided by Microsoft and physical server has few things common in between them
and these are as follows:
• Both allow access to network resources that has to be shared between two computers.
• Both publish the resources to the network clients under a unique server name.
• Both are under same network name and IP address range.
• Both are used to provide same communication option.
• Both provide the same networking modes of operations through which clients can communicate
with each other.
Kerberos is the authentication protocol that is being used by virtual servers. It maintains an active
directory computer object that is involved in clustering. This provides the client security and easy to
use features. It provides the provision of message queuing on a virtual server and allows the clients
to publish the information to other computer systems. It provides clustering as well and by
configuring its properties more options can be found out to be used.
• There is no provision to apply group policies to virtual server. This means that there is no provision
to apply policies on the applications that are running on virtual server. Virtual server object can't
define group policies using this protocol.
• Kerberos protocol provides clustering option but it is limited to a certain server computer object.
This object is being managed by active directory by default.
• There is no provision to rename a network name resource and change the configuration of kerberos
authentication at same time. As the actions will be performed the changes will automatically be
reflected on it.
The benefits that are involved in virtual server host clustering are as follows:
• Server consolidation: allow virtual servers to consolidate multiple servers into one that will be easy
to track and maintain virtual machines at one server together.
• Increased availability: virtual server host clustering increases the availability of consolidated server
due to which if any failure occurs then another server can take up the job that is being served by the
first server. The effect of failure is kept to minimum by providing risk management systems.
• Host clustering keeps the physical host as cluster node and if host stops performing then the
processes can be given to another host to run, whereas guest clustering keeps the guest as cluster
node and if guest stops working then it will fail all other guest that are connected with it.
• Host clustering protects from failure of the computer that is crashed, whereas guest clustering
doesn't provide protection from failure.
• Host clustering protects system from failure due to the fact that guests are configured as clustered
resource group and I consists of generic script resource, whereas standard clustering provide
automatic checks to discover the cause of the failure and recover from it.
• Host clustering doesn't monitor the cluster services, whereas standard clustering monitors the
failure.
To secure Microsoft the virtual server the steps that are required are as follows:
• The configuration file of virtual server services has to be secured
• Individual files that contains the configuration files and resources that are associated with the
virtual server has to be secured
• IIS (Internet information services) has to be secured with the administration website to secure the
virtual platform and the virtual machines.
• Virtual server is configured securely such as the security breaches are lower in number as it only
allows those members that are directly associated with the local administrators. The permissions are
given to those who are associated with it. Virtual network configuration file has to be secured to save
the further transmission over the web and between different systems.
Virtual server consists of virtual network that in turn consists of virtual machines. It allows traffic to
be isolated in virtual network while communicating with the host operating system. It allows the
handling of network devices by virtual machine network service driver. This virtual machine network
service driver come with the virtual server setup that is being performed on the host operating
system. The main function of the network driver is to monitor the traffic and the routing packets. The
virtual network can have several options defined like:
• It is not attached to physical network adapter: it has its own private network with its own DHCP
server.
• It can attach to dedicated physical network adapter: in this case the virtual machines don’t have the
permission to read, monitor or capture the host operating system.
• More than one network can attach to same physical network adapter: in this virtual machines can
read, monitor and capture the inbound network traffic.
• Virtual machines are attached to same virtual network: same case above but in this they can
perform the actions on the other virtual machines that are attached to the one.
A. Virtual machine technology applies to both server and client hardware. Virtual machine technology
enables multiple operating systems to run concurrently on a single machine. In particular, Hyper-V, a
key feature of Windows Server 2008 R2, enables one or more operating systems to run
simultaneously on the same physical system. Today, many operating systems are supported by Virtual
PC 2007, Virtual Server 2005, and Hyper-V.
Server consolidation. If several servers run applications that consume only a fraction of the available
resources, virtual machine technology can be used to enable them to run side by side on a single
server, even if they require different versions of the operating system or middleware.
Consolidation for development and testing environments. Each virtual machine acts as a separate
environment, which reduces risk and enables developers to quickly recreate different operating
system configurations or compare versions of applications designed for different operating systems.
In addition, a developer can test early development versions of an application in a virtual machine
without fear of destabilizing the system for other users.
Legacy application re-hosting. Legacy operating systems and applications can run on new hardware
along with more recent operating systems and applications.
Simplify disaster and recovery. Virtual machine technology can be used as part of a disaster and
recovery plan that requires application portability and flexibility across hardware platforms.
Moving to a dynamic datacenter. Hyper-V, along with systems management solutions, helps you to
now create a dynamic IT environment that not only enables you to react to problems more efficiently
but also to create a proactive and self-managing IT management solution.
A. Our goal is to help customers make their IT systems more self-managing and dynamic so that they
can gain more control of their IT systems, and enable their businesses to respond faster and stay
ahead of the competition. We're doing this by:
Providing a complete set of virtualization products that span from the desktop to the datacenter
We are making broad investments—in the areas of the platform, management, applications,
interoperability, and licensing, and working to enable customers to take advantage of their existing
platform investments, utilize their existing support skills and infrastructure, and to reduce costs
associated with implementing virtualized environments.
HYPER-V
Q. What is Hyper-V?
A. A core component of Hyper-V, Windows hypervisor is a thin layer of software between the
hardware and the OS that allows multiple operating systems to run, unmodified, on a host computer
at the same time. It provides simple partitioning functionality and is responsible for maintaining
strong isolation between partitions. It has an inherently secure architecture with minimal attack
surface, as it does not contain any third-party device drivers.
A. Hyper-V provides customers an ideal platform for key virtualization scenarios, such as production
server consolidation, business continuity management, software test and development, and
development of a dynamic datacenter.
Hyper-V provides key functionality, which an ideal virtualization platform should provide—scalability,
high performance, reliability, security, flexibility, and manageability. It provides scalability and high
performance by supporting features like guest multi-processing support and 64-bit guest and host
support; reliability and security through its hypervisor architecture; flexibility and manageability by
supporting features like quick migration of virtual machines from one physical host to another, and
integration with System Center Virtual Machine Manager.
A. Yes, Microsoft provides integration components and technical support for customers running
select Linux distributions as guest operating systems within Hyper-V. Please check the Supported
Guest Operating Systems page for more information and updates.
A. Some of the capabilities of Hyper-V include x64 host and guest support, ability to run guest
machines in a multi-processor environment, large memory allocation per virtual machine, integrated
virtual switch support, and ability to migrate virtual machines across hosts with minimal downtime.
With the R2 release of Hyper-V, Live Migration, new processor support, and dynamic virtual machine
capabilities were added.
Q. How will customers migrate to Hyper-V?
A. Customers who invest in the .vhd file format—the format used by Virtual Server, as well as a
multitude of vendor licensees—will have a clear path forward to Hyper-V. Customers can leverage
V2V capabilities in System Center Virtual Machine Manager to conveniently migrate from Virtual
Server or VMware to Hyper-V or work with Microsoft's partners who provide migration solutions.
A. Yes, the Microsoft Assessment and Planning (MAP) Toolkit helps you plan for Hyper-V migration by
determining which of your physical servers are underutilized and, therefore, good candidates for
server virtualization.
A.Users can go to Server Manager and install the Hyper-V role. After the Hyper-V role is enabled,
Hyper-V Manager will become available as a part of Administrative Tools. From the Hyper-V Manager
users can easily create and configure virtual machines.
A. Yes, technical support for Hyper-V is part of the support for Windows Server 2008 R2. For more
information on support, please refer to the Windows Server 2008 R2 Support page.
Q. What is the expected performance of Hyper-V? How does it compare to Virtual Server? How does
it compare to ESX server?
A. We are not publishing performance numbers currently. Based on independent reports and
benchmarks from partners like QLogic, we believe that we have a competitive virtualization offering.
Q. What is the list of guests that will be supported on Hyper-V? When can we expect support for key
operating systems like Windows Vista, Windows XP, Linux, etc.?
A. Microsoft supports a number of guest OS environments including Windows Server 2008 R2,
Windows Server 2008, Windows Server 2003, Windows 2000 Server, Windows 7, Windows Vista,
Windows XP and Novell SUSE.
A. Microsoft Virtual Server 2005 R2 is the current server virtualization solution from Microsoft and
is based on a hosted virtualization platform. Hyper-V, a key feature of Windows Server 2008 R2, is a
hypervisor-based virtualization platform that will enable customers to not only consolidate a vast
array of workloads but also enable moving toward a dynamic IT environment. Core feature set
differences include support for 64 guest virtual machines, SMP support, performance improvements,
and other key features in Hyper-V.
LICENSING INFORMATION
Q. How do I know which Windows Server 2008 R2 features or services I am allowed to run on the
host without requiring CALs?
A. When using Windows Server 2008 R2 and Hyper-V to run virtual machines with older versions of
Windows Server, Windows Server 2008 CALs will not be required in certain scenarios.
When the Host OS is only running services related to virtualization, such as Hyper-V and Failover
Clustering, then Windows Server 2008 CALs are not required.
If the Guest OS is Windows Server 2008, or if the Windows Server 2008 host, installs other services,
then Windows Server 2008 CALs would still be required.
A. It is important to understand your licensing rights and obligations when running Microsoft
Windows Server and/or other Microsoft applications in a virtual machine environment.
In addition, it's good to understand the licensing terms offered by independent software vendors
(ISVs) for any software provided by those vendors. For more information on licensing considerations
in these cases, you should consult with your ISV.
Q. Does running Windows NT in a virtual machine mean that Microsoft is extending its support for
the product?
A. No. While you may receive benefit from moving the applications from physical hardware to virtual
machines, running applications in a virtual environment does not extend their support life cycles. For
more information about the support life-cycle timeframes.
TECHNICAL INFORMATION
A. In addition to the systems requirement for Windows Server 2008 R2, the two key requirements for
the Hyper-V platform are the need to ensure that the server is a 64-bit environment and supports
hardware-assisted virtualization (Intel VT or AMD-V) technology.
A. The number of virtual machines running per host depends on many factors, including physical
memory, processor, and workload running in the guest. With Hyper-V, you define the amount of
memory available to a virtual machine, and that memory allocation can be altered to reflect the needs
of the virtual machine.
A. Hyper-V runs on a 64-bit (x64) server platform and requires support of either AMD64 or Intel IA-
32e/EM64T (x64) processors with hardware-assisted virtualization support. Note that Hyper-V does
not support Itanium (IA-64) processors. For the virtual machines, Hyper-V supports both 32-bit and
64-bit systems as guest OSes.
Q. Does Hyper-V support symmetric multiprocessing (SMP) in the virtual machine environment?
A. Hyper-V supports both uniprocessor and multiprocessor configurations in the virtual machine
environment.
A. In addition to the system requirements for Windows Server 2008 R2 as described in the release
notes, a 64-bit system with hardware-assisted virtualization enabled and data execution prevention
(DEP) is required. It is also recommended to ensure that you have a clean install of x64 edition of
Windows Server 2008 R2 to be able to use the Hyper-V technology.
IIS
What is the different version on IIS that you have worked on?
Before answering this question you need to know what
are the different IIS version is available in different OS. Below is the list of
IIS version with different Operating system.
Windows Server 2008 – Windows Vista – Home Premium/ Ultimate – IIS 7.0
Windows Server 2003 – IIS 6.0
Windows XP Professional – IIS 5.1
Now based on your working experience you can say that
you have worked on IIS 5.1 and 6.0 or only IIS 7. Etc. Now, the next
question that can asked after answering this question is “what is the
difference between them ? ” – Well I will come with this later.
Before Giving the Definition: you can say like this, Concept of
Application pool has from IIS 6.0.
Application pools are used to separate sets of IIS worker
processes that share the same configuration and application boundaries.
Application pools used to isolate our web application for better security,
reliability, and availability and performance and keep running without
impacting each other . The worker process serves as the process boundary
that separates each application pool so that when one worker process or
application is having an issue or recycles, other applications or worker
processes are not affected. One Application Pool can have multiple worker
process Also.
2. User Mode
o Web Admin Service
o Virtual Directory
o Application Pool
When we hosted our web Application on multiple web server under a load
balancer call the Web Farm. This is generally used for heavy load web
application where there are many user requests at a time. So When Web
Application is hosted on Different IIS Server over a load balancer, Load
balancer is responsible for distribute the load on different server.
Network Services
What are the different type of application pool available in IIS 7.0 ?
1. DefaultAppPool (Integrated)
2. ClassicAppPool
C:\WINDOWS\system32\LogFiles\W3SVC1
This is used automatically register the .NET Framework with your IIS.
How to check Installed .Net Version on IIS
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis.exe –lv
If there are multiple worker process running on IIS, then how can you
attach a particular worker process for application ?
run cscript iisapi.vbs script to find out the process ID and Application Pool
name . Based on the process Id for particular application I have to attache
the process from Visual studio IDE.
Tools is : msvsmon.exe
1. www services
2. FTP services
3. SMTP services
4. NNTP services
What is App Pool and App Domain? What is the difference between these
two?
1.Recycling
2.Perfomance
3.Health
4.Identity
1.In IIS Manager, right-click the Web site, and click Properties.
Visual studio having It own ASP.NET Engine which is capable enough to run
Asp.net web application from visual studio. So we just click on Run button
to start the application.
Note only Hosting of Site we can create our FTP Server, SMTP Server using
IIS itself.
There are different version of IIS available like 5.1, 6.0, 7.0 etc
What are the different version on IIS that you have worked on ?
Before answering this question you need to know what are the different IIS
version is available in different OS. Below is the list of IIS version with
different Operating system.
Windows Server 2008 - Windows Vista - Home Premium/ Ultimate - IIS 7.0
Now based on your working experience you can say that you have worked
on IIS 5.1 and 6.0 or only IIS 7. Etc.
Now, the next question that can asked after answering this question is
“what is the difference between them ? ” – Well I will come with this later.
Before Giving the Definition : you can say like this, Concept of Application
pool has from IIS 6.0 .
Application pools are used to separate sets of IIS worker processes that
share the same configuration and application boundaries. Application pools
used to isolate our web application for better security, reliability, and
availability and performance and keep running with out impacting each
other . The worker process serves as the process boundary that separates
each application pool so that when one worker process or application is
having an issue or recycles, other applications or worker processes are not
affected.
4. Better Performance
Though we can create new application pool IIS with different settings, but
IIS having its own default application pool named : DefaultAppPool
1. Local System
2. Local Services
3. NetworkServices
Which is having very minimum rights on your system. The user can only
have the read access of the site.
IIS having mainly two layer Kernel Mode and User Mode
1. Kernel Mode
o HTTP.SYS
2. User Mode
o Web Admin Service
o Virtual Directory
o Application Pool
HTTP.SYS is the kernel level components of IIS. All client request comes
from client hit the HTTP.Sys of Kernel level. HTTP.SYS then makes a queue
for each and every request for each and individual application pool based on
the request.
1 Anonymous
3. Basic Authentication
4. Digest Authentication
5. Passport Authentication
For Set security permission you need to go to Virtul Directory > Right Click
> Properties > Directory Security
Click on Edit Button .
Generally its not recommended to use InProc Session mode while we are
using Web Garden.
For creating web graden we need to go to Application Pool, then Right Click
on Application Pool > Properties > Goto Performance Tab
First of all Right Click on Default web sites > New > Virtual Directory .
What are the permission settings are available for Virtual Directory ?
Below are the list of permission that can be set during virtaul directory
creation
1. Read
2. Run Scripts
3. Execute:
4. Write:
5. Browse
What is the folder location for Virtual Directory ?
<Drive>:\inetpub\wwwroot
IIS should periodically monitor the health of a worker process [ Idle or not ,
Time for recycle or not, All Worker process are running properly or not ] .
No. Every Web Application should have one Application Pool. Bydefault it is
"DefaultAppPool ".
IIS 7.0 .
Even Vista Home Premium and Ultimate edition is also having IIS 7.0
Right Click on Application Pool > All Task > Save Configuration to a File .
This will save all the settings of Application Pool as an XML file.We can
make it password protected also.
What are the different authentication mode available for IIS Remote
Debugging ?
1. Windows Authentication
2. No-Authentication
How can we get the list of worker process running in IIS along with the
Application pool name
If there are multiple worker process running on IIS, then how can you
attach a particular worker process for application ?
Well, If there are multiple worker process running in IIS, it means I have to
know the name of my application pool. Then I can run cscript iisapi.vbs
script to find out the process ID and Application Pool name . Based on the
process Id for particular application I have to attache the process from
Visual studio IDE.
Yes. This is one of the great features of msvsmon.exe . Each instance of the
remote debugger has a unique server name.we can give an instance of the
remote debugger any server name. Now multiple user can able to access
the server instance.
This is used automatically register the .NET Framework with your IIS.
Yes. IIS Can have multiple web sites and Each and every web sites can have
multiple virtual Directory.
C:\WINDOWS\system32\LogFiles\W3SVC1
What is ISAPI Filter ?
http://msdn.microsoft.com/en-us/library/ms524610.aspx
FYI : You can find out many of them, just go thorugh Microsoft IIS web site.
What are the different type of application pool available in IIS 7.0 ?
1. DefaultAppPool (Integrated)
2. ClassicAppPool
NOTE: This is objective type question, Please click question title for correct
answer.
NOTE: This is objective type question, Please click question title for correct
answer.
NOTE: This is objective type question, Please click question title for correct
answer.
What are the worker process for IIS 5.1 and IIS 6.0 ?
NOTE: This is objective type question, Please click question title for correct
answer.
This is one of the most question in IIS. And along with that interviewer can
as what is the different between Web farm and Web Garden ?
When we hosted our web Application on multiple web server under a load
balancer call the Web Farm. This is generally used for heavy load web
application where there are many user request at a time. So When Web
Application is hosted on Different IIS Server over a load balancer, Load
balancer is responsible for distribute the load on different server.
http://www.dotnetfunda.com/articles/article713-difference-between-web-
farm-and-web-garden.aspx
NetworkServices
How can we set the default page for any web application ?
We can set the default page for a web site from the Virtual Directory
Setting.
How To :
IIS Manager > Virtual Directory > Right Click > Properties > GoTo
Document Tab.
We can set the Idle time out for an worker process from Application Pool
Properties.
In Performance Tab of Application pool, we can set the Idle Time out of the
worker process. This means worker process will shut down after that given
time period if it stay idle. And will again wake up again if a new request
comes.
Is there any alternative way to host site on IIS rather than opening IIS
Manager ?
Yes, We can directly host any site from the physical location of directory
itself.
There you need to select > "Share This Folder" Option Button. Then it will
ask for alias name and other setting. Then Click on OK.
To Validate : Run > Inetmgr > Check there should an virtual directory with
the same "Alias" name that you have given.
If there are already one Virtual directory exist it will showing you the error
message while you providing the "Alias" name.
Yes. We can.
While creating Application Application Pool From IIS, there should have two
option available first one is for Default Setting and Another is for Existing
Setting as template.
We can select the second one and from the drop down listed below we can
select any on the Application Pool as Template,.
What are the different way that we can hosted site on IIS ?
We can hosted site on IIS either creating Virtual Directory through IIS
manager or Using Folder Web Sharing .
Apart from that Visual studio provide some inbuilt features to host the site
on IIS like using Publishing the web site , Using Copy web Tool or Creating
Virtual directory during the creating the project by choosing Location as
HTTP
When client request for an aspx pages, request comes to kernel level off IIS
means to HTTP.SYS . HTTP.SYS receives the request and based on the
application pool name [ Which is already registred with the HTTP.SYS ] it
send the request to worker process. Windows Activation process works as
mediator of them. w3wp.exe loads "aspnet_isapi.dll" files to start the
HTTPRuntime . HTTPRuntime creates HTTPApplication objects and all
request are passed through HTTPModule and finally reached to
HttpHandler . This is the request pipeline. After end of Request pipeline
ASP.NET Page lifecycle starts.
We can set the Session time out settings from the Virtual Directory for that
site.
Right Click on Virtual Directory > Properties > Click on "Configuration"
Button
Goto the "Option" Tab. There in Enable Session State Section you can
configure the Session Timeout .
What are the different "Execution Permission" available for IIS for an virtual
directory ?
1. None
2. Scripts Only
This can be change from Virtual Directory properties. First open Properties
of Virtual Directory > GoTo ASP.NET Version Tab.
Step 1 : In the IIS (inetmgr), right click on the "Computer" icon under
"Internet Information Services" . Click "All Tasks" and select
"Backup/Restore Configuration".
Step 2 : Click on button "Create backup". Give Name for your backup file. If
you want encryption enable encryption option and give UserName and
Password and then click OK.
IIS metabase is a special databse which is used to maintain the settings and
configurations data for IIS. In simple term, it is a configuration base for IIS
(Metabase.xml).
2. appcmd.exe is the command line tool for IIS7, you will find this tool at
following location :
%systemroot%\system32\inetsrv\appcmd
By this way we could make our web page as SSL protected. !!!
NOTE: This is objective type question, Please click question title for correct
answer.
Details : http://techprudent.com/the-windows-process-activation-service/
and
MSDN :
http://technet.microsoft.com/en-us/library/cc735229%28WS.10%29.aspx
Anonymous Method
If we select this method, the user who access the application should provide
windows username and password to access the application. Although this is
sent through a network by transmitting direct text so it it very insecure.
Digest Method
This method is almost equal to Basic method but the difference is the
password is hashed before it is transmitted through out a network.
So that you can have your IIS installed in your system if it is not installed.
The impact will depend on the server load. If you are doing 10,000 requests/second,
you will sorely miss kernel caching; however, if you are doing 100 requests/second you
probably will not notice. It depends heavily on the content being served, IIS 5.0 did not
have a kernel mode component and it worked well for most customers.
What support does Windows Server® 2008 have for Ruby on Rails?
There is basic ruby support. See following link for more information:
http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on-Rails-
running-on-Windows-with-IIS-FastCGI.aspx
If you are installing via the Server Manager GUI ("Add Features"), order of installation
does not matter. The Add Features wizard checks all dependencies and will alert you if
you are missing any required modules. In addition, Add Features wizard knows the
correct ordering of modules.
If you are installing from a command line or using an unattended installation, the order
of modules doesn't matter (again, Setup knows the correct ordering of modules), but
you are responsible for identifying all dependencies. If you fail to include a required
dependency, unattended/ command-line setup will fail.
Note: As opposed to the order of modules during setup, the order in which modules
are arranged in the common pipeline (i.e., the order in which modules subscribe to
notifications) is important. For example, if two modules subscribe to the same
notification, the one first on the list gets notified first (With one exception-- the default
IIS 7.0 modules should not have issues with reordering). For the authentication
modules, it is advisable to keep the existing ordering because this will determine with
which authentication scheme IIS challenges first. We order it from most secure to less
secure. IE uses the first authentication scheme it understands and if you put a less
secure authentication scheme first, IE chooses it instead of the more secure one.
What is the memory footprint of an application pool? Does it load the CLR?
An Application Pool that only serves static files with all features installed will have a
footprint of 3 MB private bytes, 5 MB page file. (This is larger than IIS 6.0). Windows
Server 2008 handles multiple application pools better than WS03. When ASP.NET
requests are made we pre-load a small amount of the CLR during startup (~100kb) .
The preload is configurable by a property on the ApplicationPool. It is called
managedRuntimeVersion. The rest of the CLR (~8mb) will be loaded on the first ASPX
request.
Access only works in 32-Bit application pools. Loading the user profile (loadUserProfile
property on the AppPool) is an issue when Classic ASP is used because Access is using
the temp directory which doesn't allow access to the anonymous user when the user
profile is loaded.
What are the limitations for Windows Server 2008 Web Edition?
Windows Server 2008 web edition is much improved, and we have focused hard on
removing the artificial limits. The final licensing is not yet complete, but we are
planning to remove all hardware restrictions, allow 4x processors and 32GB RAM (on
x64). SQL is allowed, and SharePoint will be installable on the SKU.
What support will Windows Server 2008 have for Front Page Server
Extensions?
FPSE is no longer a part of Windows Server. We are working with a third party to
create a download package for FPSE to run on Windows Server 2008/IIS 7.0. It does
not have any new features or enhancements, only fixes to make it compatible.
We recommend that Windows Server 2008 be installed fresh and migrated to; or, just
put new customers on new servers. We suggest that a well managed list of third party
components and configurations is documented for each server, so that the current
environment can be replicated on the new server. See the recommendations in the
shared hosting paper for site and application pool configuration. A tool to assist in the
migration will be released in the near future.
Windows Server 2008 Beta3 can be upgraded to WS2K8 Beta3, and WS2K8 RC0
Windows Server 2008 RC0 can be upgraded to WS2K8 RC0, WS2K8 RC1, and
WS2K8 RTM
Windows Server 2008 RC1 can be upgraded to WS2K8 RC1, and WS2K8 RTM
If the server is in Shared Configuration mode, it must be reverted to standalone
configuration before the upgrade is run. To do so, disable shared config, copy down the
applicationhost.config and encrypted keys to the local machine, run the upgrade on
each server, then re-enable shared config.
Both the log files that setup is writing and the iis7.log are always on. It is not granular
about what gets logged.
We do not provide any way to configure modules other than Windows modules during
setup. There may be a way through generic unattend setup to run something after
setup is done, and in that a user could do some coding.
No, but there is memory-based recycling, which will recycle AppPools that exceed
configured memory limits.
Will the credentials encrypted with the machine key will be lost as a result of
sysprep? Is there any workaround for this?
Encryptions made before sysprep are lost after sysprep. There is no workaround.
You can export the machine keys and import them into all the servers so that
decryption works. The UI for Server Beta 3 includes a feature called Shared
Configuration which will allow you to do that. Click Export... and it will encrypt the
machine keys, copy them along with applicationHost.config and administration.config
to a path. After that, from all the other machines you can select "Import..." and it will
import the machine keys and point the config to the shared configuration.
Can both Classic and Integrated Managed Pipeline Mode be enabled at the
same time? If so, can it be configured such that some applications use one,
and some use the other?
Different AppPools can have different values for this setting. Applications can be
assigned to different AppPools
The default file for handling this error is contained in \inetpub\custerr\en-us. The
footer of the error contains "Server Version Information: Internet Information Services
7.0.", which of course can be removed or edited directly from the .htm file.
Can a remote IIS 7.0 server be provisioned using the Managed API?
The managed API (Microsoft.Web.Administration) has access to all of the settings that
the native API does and has DCOM remoting support by using
ServerManager.OpenRemote static method. You can set any configuration settings but
for Beta 3 there is no support for runtime information such as the State of an AppPool
or the list of requests or workerprocess.
What is URL Authorization? Why would it be used?
In previous IIS versions you had to control access via file system ACLs. This is tedious
and there is no web interface to do it. With URL authorization, you can control access
to URLs using the IIS User Interface or using web.config directly. Additionally, you can
use non-windows identities, e.g. Membership users and roles provided by forms
authentication.
Any data in the applicationPool section relevant to that app-pool (so either in
applicationPoolDefaults or specific to that app-pool) will cause WAS to recycle the app-
pool. Worker process can ask WAS to recycle app-pools based on certain config
changes, currently the only one we do it for is globalModules, but this is not a closed
list (as modules can ask for recycle based on config change).
NLB is part of Windows Server 2008. It is essentially the same as it was in Windows
2003. To install NLB, go to Server Manager > Features > "Add Features" and select
"Network Load Balancing" from the list. To configure NLB, you need to open a
command prompt and run nlbmgr. This is the UI that existed in Windows 2003.
If the system-wide CPU exceeds a threshold dynamic, compression will stop occurring,
freeing up the CPU it was using. If the system-wide CPU drops below a different limit,
dynamic compression will resume, saving bandwidth.
Different users have different opinions on optimal CPU utilization. Some think a 20%
average is perfect, others think 75%. If you want X and you're consistently above X,
you might as well completely remove dynamic compression, as it is never going to be
used.
How does dynamic compressions factor in consistent CPU spiking vs. constant
CPU usage?
It factors in average usage over the 30 second window since the last sample - so, even
with irregular spikes, you will have dynamic compression on for at most 30 seconds
after the spike - and if your spikes are instantaneous (and so do not affect average CPU
usage over 30 seconds much) - they will not affect dynamic compression.
The 500.19 error is caused by the IIS 7.0 feature delegation mode. When a feature is
delegated to site owners, and the site owners modify the feature, then their changes
are persisted in web.config. If the server administration revokes the delegated
management on that feature, then the web site owner has the responsibility of
cleaning up the feature details from web.config. Otherwise, all sites that had modified
that delegated feature will immediately give an "Http Error: 500.19 - Internal Server
Error" message. In order to avoid this issue, we recommend that hosters do not revoke
delegated features once they are published to end customers.
If the hosted site does not have a web.config, IIS 7.0 will create one. If the site has a
web.config, IIS 7.0 modifies it. If the web.config is modified, then the site owners have
the responsibility of merging the changes and ensuring that the changes are manually
merged and maintained.
At IIS 7.0 install time, we did not install the management service. What are
the impacts of installing this service now that we are using shared
configuration?
Does installing the management service make any changes to the shared
configuration ACLing to make it work with the administration service?
For the most part, it works out of the box since we use the redirection.config settings
for reading apphost/admon.config. However, for a detailed answer, it really depends on
what scenarios you will be using:
Shared Config using Local Content: Regular Windows or IIS users connecting to
modify their local content and their web.config's - there is nothing to do,
everything should work out of the box.
Shared Config using Remote Content using Windows Users: It should work,
provided the Windows accounts have access to their content.
Shared Config using Remote Content using IIS Users: For this scenario you must
change the Identity of the service (WMSVC) to an account that has access to the
remote content, since we use the process identity for accessing content. Note
that apphost.config/admon.config will work, since we use redirection.config
See the following link for information about creating sites in IIS 7.0.
http://technet2.microsoft.com/windowsserver2008/en/library/f6c26eb7-ad7e-4fe2-
9239-9f5aa4ff44ce1033.mspx?mfr=true
Is CLR loaded automatically for each w3wp/apppool?
An Application Pool that only serves static files with all features installed occupies 3
MB private bytes, 5 MB page file. When ASP.NET requests are made we pre-load a
small amount of the CLR during startup (~100kb) . The preload is configurable by a
property on the ApplicationPool. It is called managedRuntimeVersion. The rest of the
CLR (~8mb) will be loaded on the first ASPX request.
When IIS 7.0 provisions a new web site, it creates folders like W3SVC1,
FTPSVC2, etc and assigns permissions: Administrators - Full Control, SYSTEM
- Full Control. As a result, those folders (and log files inside) are unavailable
to the site user for download. Is it possible to override this IIS 7.0 behavior
and force it to create log directories with permissions inherited from parent
directory?
Http.sys creates these folders automatically if they do not exist. If you override the
permissions with something else, it should preserve the new permissions.
We have tested it internally and it seems to work well if ISAPI and Metabase are
installed. There are some blogs online as well that give instructions on how to make it
work. For more information see the following link:
http://blogs.iis.net/bills/archive/2007/03/06/coldfusion-on-iis7.aspx.
After setting up IIS 7.0 with WSS3 and using central administration to create
a site collection,why does the following error occurs "The page cannot be
displayed because your server's current configuration does not support it. To
perform this task, use the command line operations in Stsadm.exe."?
Are there FrontPage server extensions available for Windows Server 2008 64
bit? I only find a download for I386.
There are currently no FPSE for x64. Our shared hosting recommended architecture is
64bit OS with 32bit AppPools. Unfortunately there is currently a bug that prevents
FPSE from installing on 64bit for this scenario.
Windows Server 2008 was installed without a Product Key and is now asking
for an activation code. The Product Key is not available right now, how can I
re-activate Windows Server 2008?
You may re-arm your system three times by completing the following steps:
After verifying that the "skiprearm" registry value equals zero (0), run slmgr /rearm
from an elevated command prompt. Wait for the notice that the process has completed.
This can take a minute or two. Once complete, follow the prompt to shutdown the
computer. Upon restart, the computer will be running in OOB Grace and will have
another 30 days in which to activate. No other changes will be made to the system by
this process.
IIS.CertObj COM-object is still there in IIS 7.0 and we think it is still the best option for
deploying certificates on multiple web servers. This component behavior remains the
same, so all old script should work (if ABOMapper is enabled).
Note: In LH RC0 there will be a new feature of this object that allows specifying
secure bindings as an instance name:
set iiscertobj = CreateObject("IIS.CertObj")
iiscertobj.InstanceName = "0.0.0.0:443"