Following are few Good Sysinternals Tools
1: PsList and PsKill
I listed these together because I typically use them in this order. The goal here is to see processes on a machine — with PsList, I find the process ID, and then use PsKill to terminate the process.
There are quite a few ways to return information with PsList, and the best part is that it works on local and remote machines. PsKill works similarly to PsList except it is used to terminate processes by process ID.
2: Process Explorer
Process Explorer is a great tool for digging into open files or resources. Trying to open a file, but getting a notification that it’s already open? Process Explorer can help determine which application or process has the file open. It is a GUI-based utility and can be used as a Task Manager replacement. The utility has two panes of information. The top pane shows currently active processes on your system and includes information about the name, the account that owns the process, and the CPU usage of the process.
The bottom pane has two modes of operation, handle mode and DLL mode. When handle mode is enabled, selecting a process in the top portion of the window will show you the handles that the process has open. In DLL mode, the pane displays the DLLs and memory-mapped files loaded by the selected process.
3: ZoomIt
ZoomIt is a utility for the public speaker in all of us. When presenting information, sometimes it is helpful to show a certain area of the screen, magnified to call attention to a dialog box or other item. This is what ZoomIt does. When configured, it will integrate with PowerPoint to allow macro keys to trigger functions during a presentation.
4: PsLoggedOn
PsLoggedOn uses a registry scan to look through the HKEY_USERS key to see which profiles are loaded. Looking at the keys with a user ID SID, PsLoggedOn looks up the username of the SID and displays it. This shows you who is logged on in any session to a PC. When querying remote systems, your userid will be found as a connected user session as well. The remote and local users are returned separately to help distinguish logon types.
5: Autoruns
You know how malware likes to invade the startup folder and other locations on infected systems? Seems that these are the hardest things to find and get rid of when trying to clean up spyware/malware/ infections. Autoruns can help with that. It looks through all possible locations where applications can be listed to automatically launch when Windows starts. Then, it displays them in a tabbed, easy-to-follow GUI. You can hide Microsoft-signed entries to eliminate the good items from the list of things that start up on your system.
6: Contig
Some files have trouble with disk defragmenting applications and for one reason or another, can’t be corrected. This is where you might use Contig. It is a single file defrag utility, which can be helpful if you use a file often and suspect it might be suffering from performance issues due to fragmentation.
7: Disk2vhd
Disk2vhd creates a virtual hard disk file from a physical system for use with Hyper-V or even with Windows 7 or Server 2008 R2. Disk2vhd supports Windows XP SP2 and Windows Server 2003 SP1 and higher, including 64-bit versions of these systems.
A great use of this utility might be to create a snapshot of an entire disk for backup purposes. There are also options that allow Disk2vhd to be run at the command line. You can use these options to script vhd creation. Using the utility in this way would allow you to use Task Scheduler and Disk2vhd to create a snapshot of your PC at scheduled intervals with no user intervention. One caveat: When creating vhds, be sure not to attach them to the same system you created them from if you are going to boot from the vhd.
8: MoveFile
As we all know, there are times when files need to be moved or deleted to help get things cleaned off a PC (malware/bots/viruses). Sometimes, this can’t be done because files are in use, which prevents actions on the files until they are closed or the computer is rebooted. MoveFile provides an API that marks files for move/rename/delete at the next restart of the Windows system. Doing this allows the file to be acted on before it is referenced by the system.
9: PSFile
The PStools utilities are all popular and useful, but one that I recently discovered is PSFile. This utility shows files on a system that are open by remote systems by default but that can be passed parameters to return information about remote systems as well. This tool is a good way to check for open files on file servers when users might report read-only issues or have problems getting files to open properly.
10: Sync
This utility was created to mirror a UNIX utility that will allow you to flush cached file system data to disk. Doing this can help prevent problems with lost system information in the event of a system failure and helps to ensure live system information is getting written to disk.
The way I see this being useful depends on how stable your system is. If your computer tends to crash more than you would like (or if you are testing some scenarios), you might create a scheduled task to ensure that the system info is flushed back to disk once per hour or some other predefined timeframe. Another cool thing about this sync utility is that USB or ZIP drives or other removable drives can be flushed. You will need administrative privileges to use Sync.
Wednesday, December 8, 2010
Wednesday, August 25, 2010
10 Tips for effective AD design
1: Keep it simple
The first bit of advice is to keep things as simple as you can. Active Directory is designed to be flexible, and if offers numerous types of objects and components. But just because you can use something doesn’t mean you should. Keeping your Active Directory as simple as possible will help improve overall efficiency, and it will make the troubleshooting process easier whenever problems arise.
2: Use the appropriate site topology
Although there is definitely something to be said for simplicity, you shouldn’t shy away from creating more complex structures when it is appropriate. Larger networks will almost always require multiple Active Directory sites. The site topology should mirror your network topology. Portions of the network that are highly connected should fall within a single site. Site links should mirror WAN connections, with each physical facility that is separated by a WAN link encompassing a separate Active Directory site.
3: Use dedicated domain controllers
we have seen a lot of smaller organizations try to save a few bucks by configuring their domain controllers to pull double duty. For example, an organization might have a domain controller that also acts as a file server or as a mail server. Whenever possible, your domain controllers should run on dedicated servers (physical or virtual). Adding additional roles to a domain controller can affect the server’s performance, reduce security, and complicate the process of backing up or restoring the server.
4: Have at least two DNS servers
Another way that smaller organizations sometimes try to economize is by having only a single DNS server. The problem with this is that Active Directory is totally dependent upon the DNS services. If you have a single DNS server, and that DNS server fails, Active Directory will cease to function.
5: Avoid putting all your eggs in one basket (virtualization)
One of the main reasons organizations use multiple domain controllers is to provide a degree of fault tolerance in case one of the domain controllers fails. However, this redundancy is often circumvented by server virtualization. I often see organizations place all their virtualized domain controllers onto a single virtualization host server. So if that host server fails, all the domain controllers will go down with it. There is nothing wrong with virtualizing your domain controllers, but you should scatter the domain controllers across multiple host servers.
6: Don’t neglect the FSMO roles (backups)
Although Windows 2000 and every subsequent version of Windows Server have supported the multimaster domain controller model, some domain controllers are more important than others. Domain controllers that are hosting Flexible Single Master Operations (FSMO) roles are critical to Active Directory health. Active Directory is designed so that if a domain controller that is hosting FSMO roles fails, AD can continue to function — for a while. Eventually though, a FSMO domain controller failure can be very disruptive.
I have heard some IT pros say that you don’t have to back up every domain controller on the network because of the way Active Directory information is replicated between domain controllers. While there is some degree of truth in that statement, backing up FSMO role holders is critical.
I once had to assist with the recovery effort for an organization in which a domain controller had failed. Unfortunately, this domain controller held all of the FSMO roles and acted as the organization’s only global catalog server and as the only DNS server. To make matters worse, there was no backup of the domain controller. We ended up having to rebuild Active Directory from scratch. This is an extreme example, but it shows how important domain controller backups can be.
7: Plan your domain structure and stick to it
Most organizations start out with a carefully orchestrated Active Directory architecture. As time goes on, however, Active Directory can evolve in a rather haphazard manner. To avoid this, I recommend planning in advance for eventual Active Directory growth. You may not be able to predict exactly how Active Directory will grow, but you can at least put some governance in place to dictate the structure that will be used when it does.
8: Have a management plan in place before you start setting up servers
Just as you need to plan your Active Directory structure up front, you also need to have a good management plan in place. Who will administrator Active Directory? Will one person or team take care of the entire thing or will management responsibilities be divided according to domain or organizational unit? These types of management decisions must be made before you actually begin setting up domain controllers.
9: Try to avoid making major logistical changes
Active Directory is designed to be extremely flexible, and it is possible to perform a major restructuring of it without downtime or data loss. Even so, I would recommend that you avoid restructuring your Active Directory if possible. I have seen more than one situation in which the restructuring process resulted in some Active Directory objects being corrupted, especially when moving objects between domain controllers running differing versions of Windows Server.
10: Place at least one global catalog server in each site
Finally, if you are operating an Active Directory consisting of multiple sites, make sure that each one has its own global catalog server. Otherwise, Active Directory clients will have to traverse WAN links to look up information from a global catalog.
The first bit of advice is to keep things as simple as you can. Active Directory is designed to be flexible, and if offers numerous types of objects and components. But just because you can use something doesn’t mean you should. Keeping your Active Directory as simple as possible will help improve overall efficiency, and it will make the troubleshooting process easier whenever problems arise.
2: Use the appropriate site topology
Although there is definitely something to be said for simplicity, you shouldn’t shy away from creating more complex structures when it is appropriate. Larger networks will almost always require multiple Active Directory sites. The site topology should mirror your network topology. Portions of the network that are highly connected should fall within a single site. Site links should mirror WAN connections, with each physical facility that is separated by a WAN link encompassing a separate Active Directory site.
3: Use dedicated domain controllers
we have seen a lot of smaller organizations try to save a few bucks by configuring their domain controllers to pull double duty. For example, an organization might have a domain controller that also acts as a file server or as a mail server. Whenever possible, your domain controllers should run on dedicated servers (physical or virtual). Adding additional roles to a domain controller can affect the server’s performance, reduce security, and complicate the process of backing up or restoring the server.
4: Have at least two DNS servers
Another way that smaller organizations sometimes try to economize is by having only a single DNS server. The problem with this is that Active Directory is totally dependent upon the DNS services. If you have a single DNS server, and that DNS server fails, Active Directory will cease to function.
5: Avoid putting all your eggs in one basket (virtualization)
One of the main reasons organizations use multiple domain controllers is to provide a degree of fault tolerance in case one of the domain controllers fails. However, this redundancy is often circumvented by server virtualization. I often see organizations place all their virtualized domain controllers onto a single virtualization host server. So if that host server fails, all the domain controllers will go down with it. There is nothing wrong with virtualizing your domain controllers, but you should scatter the domain controllers across multiple host servers.
6: Don’t neglect the FSMO roles (backups)
Although Windows 2000 and every subsequent version of Windows Server have supported the multimaster domain controller model, some domain controllers are more important than others. Domain controllers that are hosting Flexible Single Master Operations (FSMO) roles are critical to Active Directory health. Active Directory is designed so that if a domain controller that is hosting FSMO roles fails, AD can continue to function — for a while. Eventually though, a FSMO domain controller failure can be very disruptive.
I have heard some IT pros say that you don’t have to back up every domain controller on the network because of the way Active Directory information is replicated between domain controllers. While there is some degree of truth in that statement, backing up FSMO role holders is critical.
I once had to assist with the recovery effort for an organization in which a domain controller had failed. Unfortunately, this domain controller held all of the FSMO roles and acted as the organization’s only global catalog server and as the only DNS server. To make matters worse, there was no backup of the domain controller. We ended up having to rebuild Active Directory from scratch. This is an extreme example, but it shows how important domain controller backups can be.
7: Plan your domain structure and stick to it
Most organizations start out with a carefully orchestrated Active Directory architecture. As time goes on, however, Active Directory can evolve in a rather haphazard manner. To avoid this, I recommend planning in advance for eventual Active Directory growth. You may not be able to predict exactly how Active Directory will grow, but you can at least put some governance in place to dictate the structure that will be used when it does.
8: Have a management plan in place before you start setting up servers
Just as you need to plan your Active Directory structure up front, you also need to have a good management plan in place. Who will administrator Active Directory? Will one person or team take care of the entire thing or will management responsibilities be divided according to domain or organizational unit? These types of management decisions must be made before you actually begin setting up domain controllers.
9: Try to avoid making major logistical changes
Active Directory is designed to be extremely flexible, and it is possible to perform a major restructuring of it without downtime or data loss. Even so, I would recommend that you avoid restructuring your Active Directory if possible. I have seen more than one situation in which the restructuring process resulted in some Active Directory objects being corrupted, especially when moving objects between domain controllers running differing versions of Windows Server.
10: Place at least one global catalog server in each site
Finally, if you are operating an Active Directory consisting of multiple sites, make sure that each one has its own global catalog server. Otherwise, Active Directory clients will have to traverse WAN links to look up information from a global catalog.
Brien Posey
Wednesday, August 4, 2010
10 must-have Windows server tools
Over the years, Microsoft has given us a staggering number of tools to help with server administration. Since there are so many tools available, I decided to talk about some of my favorites.
1: System Center Capacity Planner
It might seem strange to start out by talking about a tool that Microsoft has discontinued. But I've found System Center Capacity Planner to be so helpful, I wanted to mention it anyway. In case you are not familiar with this tool, it's designed to help make sure your proposed server deployment will be able to handle the anticipated workload.
According to Microsoft, the System Center Capacity Planner is being replaced by the System Center Configuration Manager Designer . The end of life announcement for System Center Capacity Planner indicates that it is no longer available, but at the time of this writing, you can still download it from TechNet, as well as from other third-party sites.
2: PowerShell
Microsoft's Server products have evolved to the point that you can perform almost any administrative action from the command line by using PowerShell Most of the newer Microsoft Server products include management tools that are actually built on top of PowerShell. This means that any management tasks that can be performed through the GUI can also be performed from the command line or performed through a PowerShell Script. You can download PowerShell 2.0 from Microsoft.
3: Best Practices Analyzer
The Best Practices Analyzer isn't really a single tool, but rather a series of tools designed to analyze your server deployments and ensure that they adhere to Microsoft's recommended best practices. Microsoft provides versions of the Best Practices analyzer for Exchange, SQL, Small Business Server, and other Microsoft server products.
4: Security Configuration Wizard
The Security Configuration Wizard is designed to help you to reduce the attack surface of your servers. It analyzes the way in which your servers are configured and then recommends how you can change various aspects of the configuration to make them more secure. The Security Configuration Wizard is included with Windows Server 2008 and Windows Server 2008 R2, but you can also download a Windows Server 2003 version.
5: ADSI Edit
Another of my favorite tools is ADSI Edit ADSI Edit allows you to manually edit the Active Directory database. Whenever someone asks me about ADSI Edit, I usually compare it to the registry editor. The registry editor allows you to manually change various configuration parameters within a system, but if you use it incorrectly, you can destroy Windows. ADSI Edit is similar: It gives you free rein over Active Directory, but if you make a mistake you can destroy it.
I have found ADSI Edit most useful for working with Exchange Server deployments. It is sometimes impossible to remove Exchange public folders through conventional means. When this happens, you can use ADSI Edit to get rid of the folders that the Exchange Server management tools leave behind.
6: DCDIAG
Although domain controllers are usually fairly reliable, problems do occasionally occur -- particularly with regard to Active Directory replication. The DCDIAG utility which is included with Windows Server, lets you run a full series of diagnostic tests against malfunctioning domain controllers.
7: Microsoft File Server Migration Wizard
As time goes on, server hardware continues to improve. Some organizations are finding that they can decrease management costs by consolidating their aging file servers. The Microsoft File Server Migration Wizard (which is included in the File Server Migration Toolkit) helps organizations merge the contents of aging file servers into DFS root.
8: LDIF Directory Exchange
The LDIF Directory Exchange utility isn't exactly a tool I use every day. But it has gotten me out of a couple of jams, so I wanted to include it on my list of favorite tools. LDIF Directory Exchange is a command-line tool for importing and exporting Active Directory objects. As with ADSI Edit, you have to be careful when using this tool because you can really mess up your Active Directory if you use it incorrectly. Even so, it's worth its weight in gold because it allows you to do some amazing things. For example, you can export all the user accounts from a domain and then use the resulting text file to create those same user accounts in a different domain.
The LDIF Directory Exchange utility is built into Windows Server. You can access it by entering LDIFDE in a command prompt window. Windows will display the command's full syntax along with the various command-line switches you can use.
9: Server Core Configurator
So far, all the tools I've talked about are provided by Microsoft. However, there is one third-party tool I want to mention. Server Core Configurator is an open source tool written by Guy Teverovsky.
Any time you perform a server core installation of Windows Server 2008, you must perform certain post installation tasks before the server is ready to use. Microsoft offers some PowerShell scripts, but performing the initial configuration process from a command line can be tedious. The Server Core Configurator simplifies the provisioning process by providing a simple GUI you can use for the initial
10: Microsoft Application Compatibility Manager
The Microsoft Application Compatibility Manager is part of the Application Compatibility Toolkit. It's designed to ease the transition from one version of Windows to the next by compiling an inventory of the applications running on your desktops and determining whether each one is compatible with the new version of Windows.
1: System Center Capacity Planner
It might seem strange to start out by talking about a tool that Microsoft has discontinued. But I've found System Center Capacity Planner to be so helpful, I wanted to mention it anyway. In case you are not familiar with this tool, it's designed to help make sure your proposed server deployment will be able to handle the anticipated workload.
According to Microsoft, the System Center Capacity Planner is being replaced by the System Center Configuration Manager Designer . The end of life announcement for System Center Capacity Planner indicates that it is no longer available, but at the time of this writing, you can still download it from TechNet, as well as from other third-party sites.
2: PowerShell
Microsoft's Server products have evolved to the point that you can perform almost any administrative action from the command line by using PowerShell Most of the newer Microsoft Server products include management tools that are actually built on top of PowerShell. This means that any management tasks that can be performed through the GUI can also be performed from the command line or performed through a PowerShell Script. You can download PowerShell 2.0 from Microsoft.
3: Best Practices Analyzer
The Best Practices Analyzer isn't really a single tool, but rather a series of tools designed to analyze your server deployments and ensure that they adhere to Microsoft's recommended best practices. Microsoft provides versions of the Best Practices analyzer for Exchange, SQL, Small Business Server, and other Microsoft server products.
4: Security Configuration Wizard
The Security Configuration Wizard is designed to help you to reduce the attack surface of your servers. It analyzes the way in which your servers are configured and then recommends how you can change various aspects of the configuration to make them more secure. The Security Configuration Wizard is included with Windows Server 2008 and Windows Server 2008 R2, but you can also download a Windows Server 2003 version.
5: ADSI Edit
Another of my favorite tools is ADSI Edit ADSI Edit allows you to manually edit the Active Directory database. Whenever someone asks me about ADSI Edit, I usually compare it to the registry editor. The registry editor allows you to manually change various configuration parameters within a system, but if you use it incorrectly, you can destroy Windows. ADSI Edit is similar: It gives you free rein over Active Directory, but if you make a mistake you can destroy it.
I have found ADSI Edit most useful for working with Exchange Server deployments. It is sometimes impossible to remove Exchange public folders through conventional means. When this happens, you can use ADSI Edit to get rid of the folders that the Exchange Server management tools leave behind.
6: DCDIAG
Although domain controllers are usually fairly reliable, problems do occasionally occur -- particularly with regard to Active Directory replication. The DCDIAG utility which is included with Windows Server, lets you run a full series of diagnostic tests against malfunctioning domain controllers.
7: Microsoft File Server Migration Wizard
As time goes on, server hardware continues to improve. Some organizations are finding that they can decrease management costs by consolidating their aging file servers. The Microsoft File Server Migration Wizard (which is included in the File Server Migration Toolkit) helps organizations merge the contents of aging file servers into DFS root.
8: LDIF Directory Exchange
The LDIF Directory Exchange utility isn't exactly a tool I use every day. But it has gotten me out of a couple of jams, so I wanted to include it on my list of favorite tools. LDIF Directory Exchange is a command-line tool for importing and exporting Active Directory objects. As with ADSI Edit, you have to be careful when using this tool because you can really mess up your Active Directory if you use it incorrectly. Even so, it's worth its weight in gold because it allows you to do some amazing things. For example, you can export all the user accounts from a domain and then use the resulting text file to create those same user accounts in a different domain.
The LDIF Directory Exchange utility is built into Windows Server. You can access it by entering LDIFDE in a command prompt window. Windows will display the command's full syntax along with the various command-line switches you can use.
9: Server Core Configurator
So far, all the tools I've talked about are provided by Microsoft. However, there is one third-party tool I want to mention. Server Core Configurator is an open source tool written by Guy Teverovsky.
Any time you perform a server core installation of Windows Server 2008, you must perform certain post installation tasks before the server is ready to use. Microsoft offers some PowerShell scripts, but performing the initial configuration process from a command line can be tedious. The Server Core Configurator simplifies the provisioning process by providing a simple GUI you can use for the initial
10: Microsoft Application Compatibility Manager
The Microsoft Application Compatibility Manager is part of the Application Compatibility Toolkit. It's designed to ease the transition from one version of Windows to the next by compiling an inventory of the applications running on your desktops and determining whether each one is compatible with the new version of Windows.
By Brien Posey
Thursday, July 22, 2010
Active Directory Performance
Active Directory Performance
The System Monitor object NTDS is useful for monitoring domain controller performance.
The below counters in the Performance Monitor tool show replication traffic information.
Active Directory Replication Monitor
The Active Directory Replication Monitor is used to monitor Active Directory database replication between domain controllers.
The Active Directory Replication Monitor is run by selecting "Start", "Run", and typing "replmon" on the command line.
You can add monitored servers to its monitor list. Replication can be forced by right clicking on a partition, then selecting "Synchronize this Directory Partition with All Servers".
Some of the following functions can be done with Active Directory Replication Monitor.:
Network Monitor
This tool can be used to observe replication data and help with diagnosis of any replication problems. TCP port 25 is monitored to observe replication using mail transfers. When RPC is used for replication, which is the normal method, the following entry in the registry may be modified to a particular port number to cause RPC traffic to use the same port:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters\TCP/IP Port
Active Directory Queries
LDAP queries are used by Active Directory to find objects and the query is passed from domain controller to domain controller until the object is found. Active directory objects must be in the current tree for an LDAP query to find the object.
Adding more global catalog servers will make searching the forest faster, but more network bandwidth will be required for replication between global catalog servers.
The System Monitor object NTDS is useful for monitoring domain controller performance.
The below counters in the Performance Monitor tool show replication traffic information.
- DRA Inbound Bytes Total/sec
- DRA Outbound Bytes Total/sec
- DRA Inbound Bytes Not Compressed - Replicated uncompressed bytes that are probably from a Directory Services Agent (another controller sending data) in the same site.
- DRA Inbound Bytes Compressed (Before Compression) - Replicated bytes received (as though in uncompressed form).
- DRA Inbound Bytes Not Compressed (After Compression) - Replicated bytes received (as in compressed form).
- DRA Inbound Bytes Total The sum of the DRA Inbound Bytes Not Compressed plus the DRA Inbound Bytes Not Compressed (After Compression).
- DRA Outbound Bytes Not Compressed - Replicated uncompressed bytes that are being sent to another domain controller in the same site.
Active Directory Replication Monitor
The Active Directory Replication Monitor is used to monitor Active Directory database replication between domain controllers.
The Active Directory Replication Monitor is run by selecting "Start", "Run", and typing "replmon" on the command line.
You can add monitored servers to its monitor list. Replication can be forced by right clicking on a partition, then selecting "Synchronize this Directory Partition with All Servers".
Some of the following functions can be done with Active Directory Replication Monitor.:
- Manually make two domain controllers replicate Active Directory database information between each other.
- View replication partner information.
- View unreplicated objects, list object metadata, and find out why a replication attempt may have failed.
- Log and monitor the domain or forest replication state and statistics.
- Change replication time intervals.
- Setup the system response to exceeding replication thresholds. The system response may be to log the event or send an e-mail.
Network Monitor
This tool can be used to observe replication data and help with diagnosis of any replication problems. TCP port 25 is monitored to observe replication using mail transfers. When RPC is used for replication, which is the normal method, the following entry in the registry may be modified to a particular port number to cause RPC traffic to use the same port:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters\TCP/IP Port
Active Directory Queries
LDAP queries are used by Active Directory to find objects and the query is passed from domain controller to domain controller until the object is found. Active directory objects must be in the current tree for an LDAP query to find the object.
Adding more global catalog servers will make searching the forest faster, but more network bandwidth will be required for replication between global catalog servers.
Monday, July 19, 2010
FSMO
FSMO (Flexible Single Master Operations)
Flexible Single Master of Operation, or just single master operation or operations master, is a feature of Microsoft's Active Directory (AD). the term FSMO has been deprecated in favor of operations masters.
FSMOs are specialized domain controller (DC) tasks, used where standard data transfer and update methods are inadequate. AD normally relies on multiple peer DCs, each with a copy of the AD database, being synchronized by multi-master replication. The tasks which are not suited to multi-master replication, and are viable only with a single-master database, are the FSMOs.
The Five FSMO Roles
There are just five operations where the usual multiple master model breaks down, and the Active Directory task must only be carried out on one Domain Controller. FSMO roles:
PDC Emulator - Most famous for backwards compatibility with NT 4.0 BDC's. However, there are two other FSMO roles which operate even in Windows 2003 Native Domains, synchronizing the W32Time service and creating group policies. I admit that it is confusing that these two jobs have little to do with PDCs and BDCs.
RID Master - Each object must have a globally unique number (GUID). The RID master makes sure each domain controller issues unique numbers when you create objects such as users or computers. For example DC one is given RIDs 1-4999 and DC two is given RIDs 5000 - 9999.
Infrastructure Master - Responsible for checking objects in other other domains. Universal group membership is the most important example. To me, it seems as though the operating system is paranoid that, a) You are a member of a Universal Group in another domain and b) that group has been assigned Deny permissions. So if the Infrastructure master could not check your Universal Groups there could be a security breach.
Domain Naming Master - Ensures that each child domain has a unique name. How often do child domains get added to the forest? Not very often I suggest, so the fact that this is a FSMO does not impact on normal domain activity. My point is it's worth the price to confine joining and leaving the domain operations to one machine, and save the tiny risk of getting duplicate names or orphaned domains.
Schema Master - Operations that involve expanding user properties e.g. Exchange 2003 / forestprep which adds mailbox properties to users. Rather like the Domain naming master, changing the schema is a rare event. However if you have a team of Schema Administrators all experimenting with object properties, you would not want there to be a mistake which crippled your forest. So its a case of Microsoft know best, the Schema Master should be a Single Master Operation and thus a FSMO role.
How many FSMO Domain controllers in your Forest?
Three of the FSMO roles (1. 2. and 3.) are held in each domain, whilst two (4. 5.) are unique to the entire forest. Thus, if you have three domains there will be 3 PDC emulators, but only 1 Schema Master.
Flexible Single Master of Operation, or just single master operation or operations master, is a feature of Microsoft's Active Directory (AD). the term FSMO has been deprecated in favor of operations masters.
FSMOs are specialized domain controller (DC) tasks, used where standard data transfer and update methods are inadequate. AD normally relies on multiple peer DCs, each with a copy of the AD database, being synchronized by multi-master replication. The tasks which are not suited to multi-master replication, and are viable only with a single-master database, are the FSMOs.
The Five FSMO Roles
There are just five operations where the usual multiple master model breaks down, and the Active Directory task must only be carried out on one Domain Controller. FSMO roles:
PDC Emulator - Most famous for backwards compatibility with NT 4.0 BDC's. However, there are two other FSMO roles which operate even in Windows 2003 Native Domains, synchronizing the W32Time service and creating group policies. I admit that it is confusing that these two jobs have little to do with PDCs and BDCs.
RID Master - Each object must have a globally unique number (GUID). The RID master makes sure each domain controller issues unique numbers when you create objects such as users or computers. For example DC one is given RIDs 1-4999 and DC two is given RIDs 5000 - 9999.
Infrastructure Master - Responsible for checking objects in other other domains. Universal group membership is the most important example. To me, it seems as though the operating system is paranoid that, a) You are a member of a Universal Group in another domain and b) that group has been assigned Deny permissions. So if the Infrastructure master could not check your Universal Groups there could be a security breach.
Domain Naming Master - Ensures that each child domain has a unique name. How often do child domains get added to the forest? Not very often I suggest, so the fact that this is a FSMO does not impact on normal domain activity. My point is it's worth the price to confine joining and leaving the domain operations to one machine, and save the tiny risk of getting duplicate names or orphaned domains.
Schema Master - Operations that involve expanding user properties e.g. Exchange 2003 / forestprep which adds mailbox properties to users. Rather like the Domain naming master, changing the schema is a rare event. However if you have a team of Schema Administrators all experimenting with object properties, you would not want there to be a mistake which crippled your forest. So its a case of Microsoft know best, the Schema Master should be a Single Master Operation and thus a FSMO role.
How many FSMO Domain controllers in your Forest?
Three of the FSMO roles (1. 2. and 3.) are held in each domain, whilst two (4. 5.) are unique to the entire forest. Thus, if you have three domains there will be 3 PDC emulators, but only 1 Schema Master.
Wednesday, July 14, 2010
It's Microsoft Patch July 2010
Security Patches
MS10-042/KB2229593 - Critical (XP)/Low (2003): This is the patch for the Help bug that was publically disclosed in June. You will want to apply it immediately. 745KB - 2.2MB
MS10-043/KB2032276 - Critical (W7)/Important (2008 R2): A problem with the Canonical Display Driver is allowing remote code execution attacks. Even though Windows’ randomization of memory makes it hard for this attack to execute code, you should install this patch as soon as you can. 475KB - 623KB
MS10-044/KB982335 - Critical (Office 2007, Office 2007): There’s a security problem in the Microsoft Office Access ActiveX controls which can allow remote code execution attacks. This fix resolves the problem. Since you should not be allowing untrusted Web sites to run ActiveX, you can wait until your next patch cycle for this one. 3.7MB - 10.3
MS10-045/KB978212 - Important (Office XP, Office 2003, Office 2007): This patch resolves an issue in Outlook that allows remote code execution attacks with the same rights as the logged in user if the user opens an attachment. Microsoft downgrades this because of the limited rights, but I think it is much more important due to it being an issue with opening attachments. I suggest that you install this patch quickly. 4.2MB - 12.5MB
Other Updates
KB982300 - An update for Windows 7 and Server 2008 R2 to resolve an issue where some computers crash on restart if they have certain LSI 1394 (FireWire) controllers. 160KB - 200KB
MS10-042/KB2229593 - Critical (XP)/Low (2003): This is the patch for the Help bug that was publically disclosed in June. You will want to apply it immediately. 745KB - 2.2MB
MS10-043/KB2032276 - Critical (W7)/Important (2008 R2): A problem with the Canonical Display Driver is allowing remote code execution attacks. Even though Windows’ randomization of memory makes it hard for this attack to execute code, you should install this patch as soon as you can. 475KB - 623KB
MS10-044/KB982335 - Critical (Office 2007, Office 2007): There’s a security problem in the Microsoft Office Access ActiveX controls which can allow remote code execution attacks. This fix resolves the problem. Since you should not be allowing untrusted Web sites to run ActiveX, you can wait until your next patch cycle for this one. 3.7MB - 10.3
MS10-045/KB978212 - Important (Office XP, Office 2003, Office 2007): This patch resolves an issue in Outlook that allows remote code execution attacks with the same rights as the logged in user if the user opens an attachment. Microsoft downgrades this because of the limited rights, but I think it is much more important due to it being an issue with opening attachments. I suggest that you install this patch quickly. 4.2MB - 12.5MB
Other Updates
KB982300 - An update for Windows 7 and Server 2008 R2 to resolve an issue where some computers crash on restart if they have certain LSI 1394 (FireWire) controllers. 160KB - 200KB
Monday, July 5, 2010
Directory Service Commands
Directory Service (DS) built-in tools for Windows Server 2003
The DS (Directory Service) group of commands are split into following two families
1.
DSadd - add Active Directory users and groups
DSmod - modify Active Directory objects
DSrm - to delete Active Directory objects
DSmove - to relocate objects
DSQuery - to find objects that match your query attributes
DSget - list the properties of an object
DS Syntax
These DS tools have their own command structure which you can split into five parts:
1 2 3 4 5
Tool object "DN" (as in LDAP distinguished name) -switch value For example:
DSadd user "cn=billy, ou=managers, dc=cp, dc=com" -pwd cX49pQba
This will add a user called Billy to the Managers OU and set the password to cx49Qba
Here are some of the common DS switches which work with DSadd and DSmod
-pwd (password) -upn (userPrincipalName) -fn (FirstName) -samid (Sam account name).
The best way to learn about this DS family is to logon at a domain controller and experiment from the command line. I have prepared examples of the two most common programs. Try some sample commands for DSadd.
˚
2.
Two most useful Tools: DSQuery and DSGet
The DSQuery and DSGet remind me of UNIX commands in that they operate at the command line, use powerful verbs, and produce plenty of action. One pre-requisite for getting the most from this DS family is a working knowledge of LDAP.
If you need to query users or computers from a range of OU's and then return information, for example, office, department manager. Then DSQuery and DSGet would be your tools of choice. Moreover, you can export the information into a text file
The DS (Directory Service) group of commands are split into following two families
1.
DSadd - add Active Directory users and groups
DSmod - modify Active Directory objects
DSrm - to delete Active Directory objects
DSmove - to relocate objects
DSQuery - to find objects that match your query attributes
DSget - list the properties of an object
DS Syntax
These DS tools have their own command structure which you can split into five parts:
1 2 3 4 5
Tool object "DN" (as in LDAP distinguished name) -switch value For example:
DSadd user "cn=billy, ou=managers, dc=cp, dc=com" -pwd cX49pQba
This will add a user called Billy to the Managers OU and set the password to cx49Qba
Here are some of the common DS switches which work with DSadd and DSmod
-pwd (password) -upn (userPrincipalName) -fn (FirstName) -samid (Sam account name).
The best way to learn about this DS family is to logon at a domain controller and experiment from the command line. I have prepared examples of the two most common programs. Try some sample commands for DSadd.
˚
2.
Two most useful Tools: DSQuery and DSGet
The DSQuery and DSGet remind me of UNIX commands in that they operate at the command line, use powerful verbs, and produce plenty of action. One pre-requisite for getting the most from this DS family is a working knowledge of LDAP.
If you need to query users or computers from a range of OU's and then return information, for example, office, department manager. Then DSQuery and DSGet would be your tools of choice. Moreover, you can export the information into a text file
Wednesday, June 30, 2010
Difference between standalone and fault-tolerant DFS (Distributed File System) installations
The standalone server stores the Dfs directory tree structure or topology locally. Thus, if a shared folder is inaccessible or if the Dfs root server is down, users are left with no link to the shared resources.
A fault-tolerant root node stores the Dfs topology in the Active Directory, which is replicated to other domain controllers. Thus, redundant root nodes may include multiple connections to the same data residing in different shared folders.
A fault-tolerant root node stores the Dfs topology in the Active Directory, which is replicated to other domain controllers. Thus, redundant root nodes may include multiple connections to the same data residing in different shared folders.
Wednesday, June 23, 2010
Account Lockout and Management Tools
ALTools.exe contains tools that assist you in managing accounts and in troubleshooting account lockouts. Use these tools in conjunction with the Account Passwords and Policies white paper.
ALTools.exe includes:
AcctInfo.dll. Helps isolate and troubleshoot account lockouts and to change a user's password on a domain controller in that user's site. It works by adding new property pages to user objects in the Active Directory Users and Computers Microsoft Management Console (MMC).
ALockout.dll. On the client computer, helps determine a process or application that is sending wrong credentials.
Caution: Do not use this tool on servers that host network applications or services. Also, you should not use ALockout.dll on Exchange servers, because it may prevent the Exchange store from starting.
ALoInfo.exe. Displays all user account names and the age of their passwords.
EnableKerbLog.vbs. Used as a startup script, allows Kerberos to log on to all your clients that run Windows 2000 and later.
EventCombMT.exe. Gathers specific events from event logs of several different machines to one central location.
LockoutStatus.exe. Determines all the domain controllers that are involved in a lockout of a user in order to assist in gathering the logs. LockoutStatus.exe uses the NLParse.exe tool to parse Netlogon logs for specific Netlogon return status codes. It directs the output to a comma-separated value (.csv) file that you can sort further, if needed.
NLParse.exe. Used to extract and display desired entries from the Netlogon log files.
ALTools.exe includes:
AcctInfo.dll. Helps isolate and troubleshoot account lockouts and to change a user's password on a domain controller in that user's site. It works by adding new property pages to user objects in the Active Directory Users and Computers Microsoft Management Console (MMC).
ALockout.dll. On the client computer, helps determine a process or application that is sending wrong credentials.
Caution: Do not use this tool on servers that host network applications or services. Also, you should not use ALockout.dll on Exchange servers, because it may prevent the Exchange store from starting.
ALoInfo.exe. Displays all user account names and the age of their passwords.
EnableKerbLog.vbs. Used as a startup script, allows Kerberos to log on to all your clients that run Windows 2000 and later.
EventCombMT.exe. Gathers specific events from event logs of several different machines to one central location.
LockoutStatus.exe. Determines all the domain controllers that are involved in a lockout of a user in order to assist in gathering the logs. LockoutStatus.exe uses the NLParse.exe tool to parse Netlogon logs for specific Netlogon return status codes. It directs the output to a comma-separated value (.csv) file that you can sort further, if needed.
NLParse.exe. Used to extract and display desired entries from the Netlogon log files.
Tuesday, June 22, 2010
4 ways to patch Windows Server 2008 Core Edition
Four ways to patch Windows Server 2008 Core Edition
following are the ways you can go about patching the Core installation.
1. You can use a Microsoft automated solution such as System Center Systems Management Server (SC-SMS) or Windows Software Update Services (WSUS). This is likely the best option because it can be centrally managed, and update approval, installation time, and reboot behavior can be controlled.
2. You can use a four line script like the one below, and it can configure the server to install all updates. The last line will instruct the server to look for updates right away:
script c:\windows\system32\scregedit.wsf /au 4
Net stop wuauserv
Net start wuauserv
Wuauclt /detectnow
3. You can modify the configuration for the local Windows Update via the registry. This is the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
WindowsUpdate\Auto Update
4. You can use a non-Microsoft solution to manage the updates for the Windows Server 2008 system. This may include the Visual Core Configuration tools, Codeplex Windows Server 2008 Core Configuration, and Portlock Windows Update Manager.
following are the ways you can go about patching the Core installation.
1. You can use a Microsoft automated solution such as System Center Systems Management Server (SC-SMS) or Windows Software Update Services (WSUS). This is likely the best option because it can be centrally managed, and update approval, installation time, and reboot behavior can be controlled.
2. You can use a four line script like the one below, and it can configure the server to install all updates. The last line will instruct the server to look for updates right away:
script c:\windows\system32\scregedit.wsf /au 4
Net stop wuauserv
Net start wuauserv
Wuauclt /detectnow
3. You can modify the configuration for the local Windows Update via the registry. This is the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
WindowsUpdate\Auto Update
4. You can use a non-Microsoft solution to manage the updates for the Windows Server 2008 system. This may include the Visual Core Configuration tools, Codeplex Windows Server 2008 Core Configuration, and Portlock Windows Update Manager.
Monday, June 21, 2010
Setting up and Using the Volume Shadow Copy Service
Setting up Shared Folders
Step to share a folder, this is a very important part of VSS
Process:
Setting up and Using the Volume Shadow Copy Service
Steps for configure VSS to take "snapshots" twice a day this way we can revert to files from those different times
Restoring Previous Versions
we will now show you how to restore the previous version of a file.
Process:
Step to share a folder, this is a very important part of VSS
Process:
- Click Start then "My Computer"
- Right click the folder and click "Sharing and Security"
- Click "Share this folder" than if you would like, change the name of the desired share. After you do that, click the "Permissions" button
- Now you can change who will have access to what on this shared resource, but for the sake of this tutorial, we will give "Everyone" "Full Control". After you select "Allow" for "Full Control", Click "OK" and "OK" on the Share window
- Go back to the folder above the shared one in Explorer and you will see a hand under the folder icon which shows that the folder is now shared
- And that's it for the sharing section.
Setting up and Using the Volume Shadow Copy Service
Steps for configure VSS to take "snapshots" twice a day this way we can revert to files from those different times
- Click Start then "My Computer"
- In "My Computer" right click a drive (doesn't matter which) and click "Properties"
- Go to the "Shadow Copies" tab, scroll down to the drive with the share(s) on it that you wish to have VSS'ed and click "Enable". The next process will take some time because it is making the first shadow copy. All other times it makes shadow copies will take about as long, and if more content is added, it will take even longer because it needs to copy that extra as well
- Now we will move onto scheduling copies to be made. You can also change the amount of space devoted to shadow copies if you would like (if it ever exceeds that limit it will automatically delete the oldest copies first). Click "Settings" on the Shadow Copies window
- On the next window, click "Schedule"
- As you can see, some defaults have already been put into place but what if you don't like those? Well, click "Delete" to delete one of the existing (or both) defaults, then click "New" and it will put in one another default, which we can change to our likings. Now you can set it to your liking.
- Click "OK" 3 times and you're back to your desktop.
Restoring Previous Versions
we will now show you how to restore the previous version of a file.
Process:
- Browse to one of your VSS enabled shares over a network from another computer
- Open a file in it's appropriate program.
- Now erase everything in it and save the file
- "WHAT?You erased the contents of that file? We've all said some version of that to ourselves after making an enormous mistake. Lucky us, we'll just restore it to this morning's backup. Back in Explorer, right click the file and click "Properties"
- Go to the "Previous Versions" tab and behold, there is that file in all of it's glory, not the version that was completely whited out! From here you can view, copy and/or restore it. We'll just restore it, so click the "Restore" button
- In the warning, it tells you that you will loose any changes made to the file since that snapshot was taken, but that's ok, because that means we will get the file as it was this morning (in it's original form) and replace the empty one
- And that's it! It works the same for text documents, Word documents, and most other file formats. Now that we have the original file restored
Friday, June 18, 2010
10 Good Features in Windows Server 2008
1. Virtualization:
Although it will not be available with the initial launch of Server 2008, Microsoft's Hyper-V hypervisor-based virtualizationtechnology promises to be a star attraction of Server 2008 for many organisations.
2. Server Core:
Many server administrators, especially those used to working in a Linux environment, instinctively dislike having to install a large, feature-packed operating system to run a particular specialized server. Server 2008 offers a Server Core installation, which provides the minimum installation required to carry out a specific server role, such as for a DHCP, DNS or print server. From a security standpoint, this is attractive. Fewer applications and services on the sever make for a smaller attack surface. In theory, there should also be less maintenance and management with fewer patches to install, and the whole server could take up as little as 3Gb of disk space according to Microsoft. This comes at a price — there's no upgrade path back to a "normal" version of Server 2008 short of a reinstall. In fact there is no GUI at all — everything is done from the command line.
3. IIS:
IIS 7, the Web server bundled with Server 2008, is a big upgrade from the previous version. "There are significant changes in terms of security and the overall implementation which make this version very attractive," said Barb Goldworm, president and chief analyst at Boulder, Colorado-based Focus Consulting. One new feature getting a lot of attention is the ability to delegate administration of servers (and sites) to site admins while restricting their privileges.
4. Role-based installationRole:
based installation is a less extreme version of Server Core. Although it was included in 2003, it is far more comprehensive in this version. The concept is that rather than configuring a full server install for a particular role by uninstalling unnecessary components (and installing needed extras), you simply specify the role the server is to play, and Windows will install what's necessary — nothing more. This makes it easy for anyone to provision a particular server without increasing the attack surface by including unwanted components that will not do anything except present a security risk.
5. Read Only Domain Controllers (RODC):
It's hardly news that branch offices often lack skilled IT staffto administer their servers, but they also face another, less talked about problem. While corporate data centers are often physically secured, servers at branch offices rarely have the same physical security protecting them. This makes them a convenient launch pad for attacks back to the main corporate servers. RODC provides a way to make an Active Directory database read-only. Thus, any mischief carried out at the branch office cannot propagate its way back to poison the Active Directory system as a whole. It also reduces traffic on WAN links.
6. Enhanced terminal services:
Terminal services has been beefed up in Server 2008 in a number of ways. TS RemoteApp enables remote users to access a centralized application (rather than an entire desktop) that appears to be running on the local computer's hard drive. These apps can be accessed via a Web portal or directly by double-clicking on a correctly configured icon on the local machine. TS Gateway secures sessions, which are then tunnelled over https, so users don't need to use a VPN to use RemoteApps securely over the Internet. Local printing has also been made significantly easier.
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 — and that those that are not can be remediated — is useful. However, similar functionality has been and remains available from third parties.
8. Bitlocker:
System drive encryption can be a sensible security measure for servers located in remote branch offices or anywhere where the physical security of the server is sub-optimal. Bitlocker encryption protects data if the server is physically removed or booted from removable media into a different operating system that might otherwise give an intruder access to data which is protected in a Windows environment. Again, similar functionality is available from third-party vendors.
9. Windows PowerShell:
Microsoft's new command line shell and scripting language has proved popular with some server administrators, especially those used to working in Linux environments. Included in Server 2008, PowerShell can make some jobs quicker and easier to perform than going through the GUI. Although it might seem like a step backward in terms of user friendly operation, it's one of those features that once you've gotten used to it, you'll never want to give up.
10. Better security:
We've already mentioned various security features built into Server 2008, such as the ability to reduceattack surfaces by running minimal installations, and specific features like BitLocker and NAP. Numerous other little touches make Server 2008 more secure than its predecessors. An example is Address Space Load Randomization — a feature also present in Vista — which makes it more difficult for attackers to carry out buffer overflow attacks on a system by changing the location of various system services each time a system is run. Since many attacks rely on the ability to call particular services by jumping to particular locations, address space randomization can make these attacks much less likely to succeed.
Although it will not be available with the initial launch of Server 2008, Microsoft's Hyper-V hypervisor-based virtualizationtechnology promises to be a star attraction of Server 2008 for many organisations.
2. Server Core:
Many server administrators, especially those used to working in a Linux environment, instinctively dislike having to install a large, feature-packed operating system to run a particular specialized server. Server 2008 offers a Server Core installation, which provides the minimum installation required to carry out a specific server role, such as for a DHCP, DNS or print server. From a security standpoint, this is attractive. Fewer applications and services on the sever make for a smaller attack surface. In theory, there should also be less maintenance and management with fewer patches to install, and the whole server could take up as little as 3Gb of disk space according to Microsoft. This comes at a price — there's no upgrade path back to a "normal" version of Server 2008 short of a reinstall. In fact there is no GUI at all — everything is done from the command line.
3. IIS:
IIS 7, the Web server bundled with Server 2008, is a big upgrade from the previous version. "There are significant changes in terms of security and the overall implementation which make this version very attractive," said Barb Goldworm, president and chief analyst at Boulder, Colorado-based Focus Consulting. One new feature getting a lot of attention is the ability to delegate administration of servers (and sites) to site admins while restricting their privileges.
4. Role-based installationRole:
based installation is a less extreme version of Server Core. Although it was included in 2003, it is far more comprehensive in this version. The concept is that rather than configuring a full server install for a particular role by uninstalling unnecessary components (and installing needed extras), you simply specify the role the server is to play, and Windows will install what's necessary — nothing more. This makes it easy for anyone to provision a particular server without increasing the attack surface by including unwanted components that will not do anything except present a security risk.
5. Read Only Domain Controllers (RODC):
It's hardly news that branch offices often lack skilled IT staffto administer their servers, but they also face another, less talked about problem. While corporate data centers are often physically secured, servers at branch offices rarely have the same physical security protecting them. This makes them a convenient launch pad for attacks back to the main corporate servers. RODC provides a way to make an Active Directory database read-only. Thus, any mischief carried out at the branch office cannot propagate its way back to poison the Active Directory system as a whole. It also reduces traffic on WAN links.
6. Enhanced terminal services:
Terminal services has been beefed up in Server 2008 in a number of ways. TS RemoteApp enables remote users to access a centralized application (rather than an entire desktop) that appears to be running on the local computer's hard drive. These apps can be accessed via a Web portal or directly by double-clicking on a correctly configured icon on the local machine. TS Gateway secures sessions, which are then tunnelled over https, so users don't need to use a VPN to use RemoteApps securely over the Internet. Local printing has also been made significantly easier.
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 — and that those that are not can be remediated — is useful. However, similar functionality has been and remains available from third parties.
8. Bitlocker:
System drive encryption can be a sensible security measure for servers located in remote branch offices or anywhere where the physical security of the server is sub-optimal. Bitlocker encryption protects data if the server is physically removed or booted from removable media into a different operating system that might otherwise give an intruder access to data which is protected in a Windows environment. Again, similar functionality is available from third-party vendors.
9. Windows PowerShell:
Microsoft's new command line shell and scripting language has proved popular with some server administrators, especially those used to working in Linux environments. Included in Server 2008, PowerShell can make some jobs quicker and easier to perform than going through the GUI. Although it might seem like a step backward in terms of user friendly operation, it's one of those features that once you've gotten used to it, you'll never want to give up.
10. Better security:
We've already mentioned various security features built into Server 2008, such as the ability to reduceattack surfaces by running minimal installations, and specific features like BitLocker and NAP. Numerous other little touches make Server 2008 more secure than its predecessors. An example is Address Space Load Randomization — a feature also present in Vista — which makes it more difficult for attackers to carry out buffer overflow attacks on a system by changing the location of various system services each time a system is run. Since many attacks rely on the ability to call particular services by jumping to particular locations, address space randomization can make these attacks much less likely to succeed.
Thursday, June 17, 2010
Remote Desktop Connection Manager (RDCMan) 2.2
Remote Desktop Connection Manager (RDCMan) manages multiple remote desktop connections. It is useful for managing server labs where you need regular access to each machine such as automated checkin systems and data centers. It is similar to the built-in MMC Remote Desktops snap-in, but more flexible.
System Requirements
Supported Operating Systems: Windows 7; Windows Server 2003; Windows Server 2008; Windows Server 2008 R2; Windows Vista
Users using Windows XP or Windows Server 2003 will need to obtain version 6 or newer of the Remote Desktop Connection client software.
Remote Desktop Connection Manager is now available externally on the Microsoft Download Center
get it from http://go.microsoft.com/?LinkID=9733636.
System Requirements
Supported Operating Systems: Windows 7; Windows Server 2003; Windows Server 2008; Windows Server 2008 R2; Windows Vista
Users using Windows XP or Windows Server 2003 will need to obtain version 6 or newer of the Remote Desktop Connection client software.
Remote Desktop Connection Manager is now available externally on the Microsoft Download Center
get it from http://go.microsoft.com/?LinkID=9733636.
Microsoft licensing, Product Use Rights (PUR)
PUR Licensing Model Categories
Different products use different licensing models. A desktop PC program, such as Microsoft Office, will be licensed quite differently than a server product, such as Windows Server. There are nine licensing model categories.
Desktop Applications – per device license
You must acquire a license for each device on or from which you access or use the software (locally or remotely over a network). You may install any number of copies and any prior version on the device or on a network device to support that use. You may install those copies on the host operating system or in a virtual hardware system.
You may access copies of the software installed on a network device only from a device that has a license for the software.
Desktop Operating Systems – per copy, per device license
You must acquire a license for each device on or from which you access or use the software (locally and remotely). You may install only one copy on the device. You may install that copy on the host operating system or in a virtual (or otherwise emulated) hardware system. In Volume Licensing, the desktop operating system license is an “upgrade license.” You may only acquire upgrade licenses for devices for which you have already licensed a “qualifying operating system.” A list of “qualifying operating systems” that qualify for an upgrade license is contained in the Product List, which can be found at Microsoft Product List for Volume Licensing.
If you acquire “Software Assurance”, you have the right to use Windows Vista Enterprise Edition on the device instead of Windows Vista Business. This also permits you to run up to four additional copies or instances on the device.
Developer Tools – per user license
You must acquire a license for each user you permit to access or use the software. You may install any number of copies on any number of devices for access and use by one user to design, develop, test and demonstrate programs. Only licensed users may access the software.
Online Services – user or device subscription license, services subscription license or add-on subscription license
Online Services are subscription-based and provide access to software and services. Licensing under this model consists of one or more of the following:
User or Device Subscription License (USL or DSL): For offerings that require these, USLs or DSLs are needed for each user or device that accesses the online service.
Services Subscription License (SSL): For offerings that require these, this license applies to the entire organization's use of the online service. User, Device SLs or Add-on SLs may be required as well depending on the service offering.
Add-On Subscription License (Add-on SL):This license sometimes is used instead of or in addition to USLs, DSLs and SSLs. Its purpose varies. For example, it can apply to a specified number of consumed units, such as gigabytes of storage, or it can apply to a single server accessed by external users. Add-on subscription licenses are not always required
Servers – Operating Systems – server license + CAL + optional external connector
With most products, you must assign a license to a server for each instance of the server software that you run on that server. You may run that instance in a physical or virtual operating system environment on that server. By exception to the licensing model, some products provide broader use rights. For example, a Windows Server 2008 Enterprise license permits a running instance in up to 4 virtual operating system environments at a time on the licensed server. With some products, such as Windows Server 2008 Datacenter, you may run any number of instances at the same time as long as you license each physical processor on the licensed server.
Except as outlined in the product use rights, all Server Operating System products require a CAL for each user or device that accesses the server software. There are two types of CALs: Device CALs and User CALs. You may license in either type but that selection must be determined at the time the license is acquired or Software Assurance is renewed.
Device CAL: Licenses a device for use by any user to access instances of the server software
User CAL: Licenses one user to use any device to access instances of the server software
CALs are version specific. They must be the same version or later than the server software being accessed. CALs permit access to servers licensed by the same entity. They do not permit access to another entity's licensed servers.
You may deploy network architectures that use hardware or software to reduce the number of devices or users that directly access the software on a server. This is referred to as multiplexing or pooling. However, this does not reduce the number of CALs required to access or use the server software. A CAL is required for each device or user that is connected to the multiplexing or pooling software or hardware front end.
An External Connector (EC) license is an alternative to CALs for each server that external users will access. External users are users who are not employees or onsite contractors. An EC license assigned to a server permits access by any number of external users, as long as that access is for the benefit of the licensee and not the external user. Each physical server that external users access requires only one EC license regardless of the number of instances running. The right to run instances of the server software is licensed separately; the EC, like the CAL, simply permits access. EC licenses, like CALs, are version and functionality specific. They must be the same version or later than the server software being accessed. The decision on whether to acquire CALs or an EC for external users is primarily a financial one.
Servers – Management Servers – server license + management license
You must assign a license to a server for each instance of the management server software that you run on that server. You may run that instance in a physical or virtual operating system environment on that server.
Except as outlined in these product use rights, all Management Server products require management licenses for each device managed by the server software. There are two categories of management licenses: one for servers and one for non-servers.
A. Licenses required for managed serversFor each server operating system environment (OSE) on a device that you wish to manage, you will need a server management license (ML). If you have more than one OSE, you will need an equivalent number of MLs for that device. A single System Center Server Management Suite Enterprise license may be used to manage any number of OSEs on a server. Server MLs also permit management of non-server OSEs.
B. Licenses required for non-serversFor each non-server OSE on a device that you wish to manage, you will need a client ML. There are two types of client MLs: OSE MLs and User MLs.
OSE MLs: Like Server MLs where the required number of MLs equals the number of OSEs, you will need an OSE client ML for each non-server OSE you wish to manage on a device. Your OSE client MLs permit your instances of the server software to manage an equivalent number of non-server OSEs used by any users of a device.
User MLs: Alternatively, you may choose to use user client MLs. These MLs permit the management of any non-server OSEs used by each user to whom a user client ML is assigned. If you have more than one user using an OSE, and you are not licensing by OSE, you must assign user client MLs to each of the users.
The Core CAL and the Enterprise CAL Suite licenses also permit management of any number of non-server OSEs on a device under one license (per device).
Servers – Server/CAL – server license + CAL + optional external connector
With most Microsoft Server/CAL products, you must assign a license to a server for each instance of server software you run on that server. You may run that instance in a physical or virtual operating system environment on that server. By exception to the licensing model, some products provide broader use rights. For example, a SQL Server Enterprise license permits you to run any number of instances of the server software in one physical and any number of virtual operating system environments on the licensed server.
Except as outlined in the product use rights, all Server/CAL products require a CAL for each user or device that accesses any instance of the server software. There are two types of CALs: Device CALs and User CALs. You may license in either type but that selection must be determined at the time the license is acquired or Software Assurance is renewed.
Servers – Per Processor – per processor license
You must assign a license to a server for each processor on that server that the software uses. For software running in physical operating system environments, you must license each physical processor. For software running in virtual operating system environments, you need to license only the virtual processors the software uses. You do not need CALs or EC licenses because Per Processor licensing allows any number of users to access the software from any number of devices.
You may run any number of instances in licensed physical or virtual operating system environments.
Servers – Specialty Servers – server license
You must assign a license to a server for each instance of the server software that you run on that server. You may run that instance in a physical or virtual operating system environment on that server. By exception, some products provide more specific use rights
Different products use different licensing models. A desktop PC program, such as Microsoft Office, will be licensed quite differently than a server product, such as Windows Server. There are nine licensing model categories.
Desktop Applications – per device license
You must acquire a license for each device on or from which you access or use the software (locally or remotely over a network). You may install any number of copies and any prior version on the device or on a network device to support that use. You may install those copies on the host operating system or in a virtual hardware system.
You may access copies of the software installed on a network device only from a device that has a license for the software.
Desktop Operating Systems – per copy, per device license
You must acquire a license for each device on or from which you access or use the software (locally and remotely). You may install only one copy on the device. You may install that copy on the host operating system or in a virtual (or otherwise emulated) hardware system. In Volume Licensing, the desktop operating system license is an “upgrade license.” You may only acquire upgrade licenses for devices for which you have already licensed a “qualifying operating system.” A list of “qualifying operating systems” that qualify for an upgrade license is contained in the Product List, which can be found at Microsoft Product List for Volume Licensing.
If you acquire “Software Assurance”, you have the right to use Windows Vista Enterprise Edition on the device instead of Windows Vista Business. This also permits you to run up to four additional copies or instances on the device.
Developer Tools – per user license
You must acquire a license for each user you permit to access or use the software. You may install any number of copies on any number of devices for access and use by one user to design, develop, test and demonstrate programs. Only licensed users may access the software.
Online Services – user or device subscription license, services subscription license or add-on subscription license
Online Services are subscription-based and provide access to software and services. Licensing under this model consists of one or more of the following:
User or Device Subscription License (USL or DSL): For offerings that require these, USLs or DSLs are needed for each user or device that accesses the online service.
Services Subscription License (SSL): For offerings that require these, this license applies to the entire organization's use of the online service. User, Device SLs or Add-on SLs may be required as well depending on the service offering.
Add-On Subscription License (Add-on SL):This license sometimes is used instead of or in addition to USLs, DSLs and SSLs. Its purpose varies. For example, it can apply to a specified number of consumed units, such as gigabytes of storage, or it can apply to a single server accessed by external users. Add-on subscription licenses are not always required
Servers – Operating Systems – server license + CAL + optional external connector
With most products, you must assign a license to a server for each instance of the server software that you run on that server. You may run that instance in a physical or virtual operating system environment on that server. By exception to the licensing model, some products provide broader use rights. For example, a Windows Server 2008 Enterprise license permits a running instance in up to 4 virtual operating system environments at a time on the licensed server. With some products, such as Windows Server 2008 Datacenter, you may run any number of instances at the same time as long as you license each physical processor on the licensed server.
Except as outlined in the product use rights, all Server Operating System products require a CAL for each user or device that accesses the server software. There are two types of CALs: Device CALs and User CALs. You may license in either type but that selection must be determined at the time the license is acquired or Software Assurance is renewed.
Device CAL: Licenses a device for use by any user to access instances of the server software
User CAL: Licenses one user to use any device to access instances of the server software
CALs are version specific. They must be the same version or later than the server software being accessed. CALs permit access to servers licensed by the same entity. They do not permit access to another entity's licensed servers.
You may deploy network architectures that use hardware or software to reduce the number of devices or users that directly access the software on a server. This is referred to as multiplexing or pooling. However, this does not reduce the number of CALs required to access or use the server software. A CAL is required for each device or user that is connected to the multiplexing or pooling software or hardware front end.
An External Connector (EC) license is an alternative to CALs for each server that external users will access. External users are users who are not employees or onsite contractors. An EC license assigned to a server permits access by any number of external users, as long as that access is for the benefit of the licensee and not the external user. Each physical server that external users access requires only one EC license regardless of the number of instances running. The right to run instances of the server software is licensed separately; the EC, like the CAL, simply permits access. EC licenses, like CALs, are version and functionality specific. They must be the same version or later than the server software being accessed. The decision on whether to acquire CALs or an EC for external users is primarily a financial one.
Servers – Management Servers – server license + management license
You must assign a license to a server for each instance of the management server software that you run on that server. You may run that instance in a physical or virtual operating system environment on that server.
Except as outlined in these product use rights, all Management Server products require management licenses for each device managed by the server software. There are two categories of management licenses: one for servers and one for non-servers.
A. Licenses required for managed serversFor each server operating system environment (OSE) on a device that you wish to manage, you will need a server management license (ML). If you have more than one OSE, you will need an equivalent number of MLs for that device. A single System Center Server Management Suite Enterprise license may be used to manage any number of OSEs on a server. Server MLs also permit management of non-server OSEs.
B. Licenses required for non-serversFor each non-server OSE on a device that you wish to manage, you will need a client ML. There are two types of client MLs: OSE MLs and User MLs.
OSE MLs: Like Server MLs where the required number of MLs equals the number of OSEs, you will need an OSE client ML for each non-server OSE you wish to manage on a device. Your OSE client MLs permit your instances of the server software to manage an equivalent number of non-server OSEs used by any users of a device.
User MLs: Alternatively, you may choose to use user client MLs. These MLs permit the management of any non-server OSEs used by each user to whom a user client ML is assigned. If you have more than one user using an OSE, and you are not licensing by OSE, you must assign user client MLs to each of the users.
The Core CAL and the Enterprise CAL Suite licenses also permit management of any number of non-server OSEs on a device under one license (per device).
Servers – Server/CAL – server license + CAL + optional external connector
With most Microsoft Server/CAL products, you must assign a license to a server for each instance of server software you run on that server. You may run that instance in a physical or virtual operating system environment on that server. By exception to the licensing model, some products provide broader use rights. For example, a SQL Server Enterprise license permits you to run any number of instances of the server software in one physical and any number of virtual operating system environments on the licensed server.
Except as outlined in the product use rights, all Server/CAL products require a CAL for each user or device that accesses any instance of the server software. There are two types of CALs: Device CALs and User CALs. You may license in either type but that selection must be determined at the time the license is acquired or Software Assurance is renewed.
Servers – Per Processor – per processor license
You must assign a license to a server for each processor on that server that the software uses. For software running in physical operating system environments, you must license each physical processor. For software running in virtual operating system environments, you need to license only the virtual processors the software uses. You do not need CALs or EC licenses because Per Processor licensing allows any number of users to access the software from any number of devices.
You may run any number of instances in licensed physical or virtual operating system environments.
Servers – Specialty Servers – server license
You must assign a license to a server for each instance of the server software that you run on that server. You may run that instance in a physical or virtual operating system environment on that server. By exception, some products provide more specific use rights
source:www.microsoft.com
Tuesday, June 15, 2010
Best possible troubleshooting for WSUS agents that are not reporting to the WSUS server
The WSUS client agent may not report to the WSUS server for many reasons. Here we'll go through some
of the reasons and how you can troubleshoot the process. There are also some situations you may run into where some or all clients stop reporting to the server and these steps will also help for those scenarios as well.
1. Make sure that the client has the proper WSUS settings:
On the client run gpresult or rsop.msc to make sure that the details of the WSUS server exist. If not then a couple possible causes include:
of the reasons and how you can troubleshoot the process. There are also some situations you may run into where some or all clients stop reporting to the server and these steps will also help for those scenarios as well.
1. Make sure that the client has the proper WSUS settings:
On the client run gpresult or rsop.msc to make sure that the details of the WSUS server exist. If not then a couple possible causes include:
- The system does not have the group policy from the Domain.
- The Group Policy is not been targeted to the client system.
2. Make sure that the agent services are up and running:
You need to make sure that the WSUS agent service (Automatic Updates) and BITS (Background Intelligent Transfer Service) are running. The System\Application event viewer events can help you identify and troubleshoot this issue.
3. Make sure the WSUS server is reachable from the client:
Make sure that you can access the site(WSUS Server), If this fails then some possible reasons include:
- There is a name resolution issue on the client.
- There is network related issue (e.g. there's a proxy configuration issue, etc.).
One of the most common issues we see is the proxy issue. For that you can check the windowsupdate.log (C:\windows\) and see if there are any proxy related errors. If yes then you can run the proxycfg command to check the win http proxy settings.
4. Make sure the agent is healthy and working:
If you still have errors you can check the windows update agent version.
How to obtain the latest version of the Windows Update Agent to help manage updates on a computer
For more information see http://technet.microsoft.com/en-us/library/bb932139.aspx
5. Automatic Update Agent Store is corrupted:
When we have issues with the ability to download updates and we're experiencing errors relating to the software distribution store then try the following on the client:
- Stop the Automatic Updates service
- Rename the software distribution folder (i.e. C:\Windows\SoftwareDistribution).
- Restart the Automatic Update service
- Run wuauclt /resetauthorization /detectnow
- Run wuauclt /reportnow
6. Clients with the Same SUSclient ID:
This issue can happen when we image systems and the clients end up having the same SUSclientID. The result is that only one among these clients will appear in the console. You may also see that out of a group of these clients, only one appears at a time but the exact one that does appear may change over time. For those clients that are not registering due to the SUS GUID issue we can use the following:
- Stop the automatic service
- Delete the SUSclientID reg KeyHKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate
- Restart the automatic service
- Run wuauclt /resetauthorization /detectnow
- Run wuauclt /reportnow
7. Conflicts with System Center Configuration Manager:
This can occur if ConfigMgr 2007 had been previously installed on the server as a Software Update Point (SUP) and Automatic Update reporting events was set to "Do not create WSUS reporting events". The solution is to revert the setting back to "Create all WSUS reporting events" unless ConfigMgr 2007 was uninstalled.
Monday, June 14, 2010
New at Microsoft in 2010
Office Web Apps
Microsoft officially turned on the lights of its online version of Microsoft Office on June 7. In any other week, this would have been the top news story in technology. The product is called Office Web Apps and it is a free service available at office.live.com.
Office Web Apps includes four applications: Word, Excel, PowerPoint, and OneNote.
Automatic mobile sync
there’s one thing Microsoft is doing right that other smartphone makers should emulate: Cloud sync. It’s the sole redeeming feature in Microsoft’s KIN.Each Kin phone automatically and transparently uploads virtually everything created with the phone to Microsoft’s servers, from photos and videos to text messages and social media updates. Everything can later be accessed through a single web interface
Free antivirus and malware protection
Microsoft has a free antivirus and anti-malware solution called Security Essentials, which is a very respectable option. It’s based on Forefront, it’s not nearly as much of a resource hog as Norton or McAfee, it catches at least as many threats, and the price is right. For small businesses and entrepreneurs, Security Essentials is a very good option for protecting your PCs.
Outlook 2010
Outlook 2010 brings a bundle of useful improvements, including the ability to work with multiple Exchange accounts, calendar preview within messages, the ability to see other messages from a recipient at the bottom of a message, the “Ignore” button for blocking an entire message thread, and archiving mail without PSTs (when combined with Exchange 2010).
SharePoint
SharePoint has a boatload of features, but it is primarily used as an intranet portal. There are a ton of templates and built-in functionality for running an intranet, including an employee directory, wikis, and employee blogs, for example. The integration with Active Directory and Microsoft Office make SharePoint quick to deploy and easy to work with, especially for IT departments.
Microsoft is now offering hosted SharePoint as a service and is aggressively marketing SharePoint 2010 to the enterprise as a valuable companion to Office 2010.
VBscript for fonts installation
Script Code
VBScript
Dim oFSO, oApp, oFolderCopy, oShell
Dim strFontsPath, strScriptPath
' Create needed Objects
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
Set oApp = CreateObject("Shell.Application")
' Get Path of this Script (i.E. C:\Scripts\ or \\srv\netlogon\)
strScriptPath = WScript.ScriptFullName
strScriptPath = left(strScriptPath,instrrev(strScriptPath,"\"))
' Get Path of Windows Fonts directory
strFontsPath = oShell.ExpandEnvironmentStrings("%WINDIR%") & "\Fonts"
' Get Folder Object of Fonts directory (i.E. C:\Scripts\FontsToInstall or \\srv\netlogon\FontsToInstall)
Set oFolderCopy = oApp.Namespace(strScriptPath & "FontsToInstall")
' Check each Font if it is already installed
For Each oFont In oFolderCopy.Items
If NOT oFSO.FileExists(strFontsPath & "\" & oFont.Name) Then
' Tell Explorer to copy the Font - this correctly installs it.
oApp.Namespace(strFontsPath).CopyHere oFont
End If
Next
' Cleanup Objects
Set oFolderCopy = Nothing
Set oApp = Nothing
Set oShell = Nothing
VBScript
Dim oFSO, oApp, oFolderCopy, oShell
Dim strFontsPath, strScriptPath
' Create needed Objects
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
Set oApp = CreateObject("Shell.Application")
' Get Path of this Script (i.E. C:\Scripts\ or \\srv\netlogon\)
strScriptPath = WScript.ScriptFullName
strScriptPath = left(strScriptPath,instrrev(strScriptPath,"\"))
' Get Path of Windows Fonts directory
strFontsPath = oShell.ExpandEnvironmentStrings("%WINDIR%") & "\Fonts"
' Get Folder Object of Fonts directory (i.E. C:\Scripts\FontsToInstall or \\srv\netlogon\FontsToInstall)
Set oFolderCopy = oApp.Namespace(strScriptPath & "FontsToInstall")
' Check each Font if it is already installed
For Each oFont In oFolderCopy.Items
If NOT oFSO.FileExists(strFontsPath & "\" & oFont.Name) Then
' Tell Explorer to copy the Font - this correctly installs it.
oApp.Namespace(strFontsPath).CopyHere oFont
End If
Next
' Cleanup Objects
Set oFolderCopy = Nothing
Set oApp = Nothing
Set oShell = Nothing
Active Directory Health Verification Script
Checks the health of your Active Directory and exports the results to a text file. You should run the script from a domain controller that has the Windows Support Tools installed.
Script Code
VBScript
DCDIAG /D /C /V > OUTPUT_DCDIAG.TXT
NETDIAG /DEBUG /V > OUTPUT_NETDIAG.TXT
PAUSE
Friday, June 11, 2010
performance and reliability monitoring in windows
In general terms, performance is the measure of how quickly a computer completes application and system tasks. Overall system performance might be limited by the access speed of the physical hard disks, the amount of memory available to all running processes, the top speed of the processor, or the maximum throughput of the network interfaces.
After identifying hardware performance limitations, we can monitor individual applications and processes to assess how much of the available resources they use. we can use a comprehensive analysis of performance of both application impact and overall capacity to help plan for deployment and grow system capacity with increasing demands.
Windows Reliability and Performance Monitor enables us to track the performance impact of applications and services, and to generate alerts or take action when user-defined thresholds for optimum performance are exceeded.
The reliability of a system is the measure of how often the system operates as it is configured and expected to perform. Reliability can be reduced when applications stop responding, services stop and restart, drivers fail to initialize, or in the worst case, when operating systems fail.
Reliability Monitor provides us with a quick, visual view of the average stability of our system. In addition, it tracks events that will help us identify what causes reductions in reliability. By recording not only failures (including memory, hard disk, application, and operating system failures), but also key events regarding the configuration of our system (including the installation of new applications and operating system updates), we can see a timeline of changes in both the system and reliability, and can identify how to get your system back to optimal reliability when it does not behave as expected.
After identifying hardware performance limitations, we can monitor individual applications and processes to assess how much of the available resources they use. we can use a comprehensive analysis of performance of both application impact and overall capacity to help plan for deployment and grow system capacity with increasing demands.
Windows Reliability and Performance Monitor enables us to track the performance impact of applications and services, and to generate alerts or take action when user-defined thresholds for optimum performance are exceeded.
The reliability of a system is the measure of how often the system operates as it is configured and expected to perform. Reliability can be reduced when applications stop responding, services stop and restart, drivers fail to initialize, or in the worst case, when operating systems fail.
Reliability Monitor provides us with a quick, visual view of the average stability of our system. In addition, it tracks events that will help us identify what causes reductions in reliability. By recording not only failures (including memory, hard disk, application, and operating system failures), but also key events regarding the configuration of our system (including the installation of new applications and operating system updates), we can see a timeline of changes in both the system and reliability, and can identify how to get your system back to optimal reliability when it does not behave as expected.
Hyper-V
Hyper-V in Windows Server 2008 and Windows Server 2008 R2 enables you to create a virtualized server computing environment. You can use a virtualized computing environment to improve the efficiency of your computing resources by utilizing more of your hardware resources. This is possible because you use Hyper-V to create and manage virtual machines and their resources. Each virtual machine is a virtualized computer system that operates in an isolated execution environment. This allows you to run multiple operating systems simultaneously on one physical computer.
Hardware requirements
Hyper-V requires specific hardware. To install and use the Hyper-V role, you will need the following:
An x64-based processor. Hyper-V is available in 64-bit editions of Windows Server 2008—specifically, the 64-bit editions of Windows Server 2008 Standard, Windows Server 2008 Enterprise, and Windows Server 2008 Datacenter. Hyper-V is not available for 32-bit (x86) editions or Windows Server 2008 for Itanium-Based Systems. However, the Hyper-V management tools are available for 32-bit editions.
Hardware-assisted virtualization. This is available in processors that include a virtualization option—specifically processors with Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) technology.
Hardware-enforced Data Execution Prevention (DEP) must be available and enabled. Specifically, you must enable Intel XD bit (execute disable bit) or AMD NX bit (no execute bit).
Use of Hyper-V:-
Hyper-V provides software infrastructure and basic management tools that you can use to create and manage a virtualized server computing environment. This virtualized environment can be used to address a variety of business goals aimed at improving efficiency and reducing costs. For example, a virtualized server environment can help you:
Reduce the costs of operating and maintaining physical servers by increasing your hardware utilization. You can reduce the amount of hardware needed to run your server workloads.
Increase development and test efficiency by reducing the amount of time it takes to set up hardware and software and reproduce test environments.
Improve server availability without using as many physical computers as you would need in a failover configuration that uses only physical computers.
Hardware requirements
Hyper-V requires specific hardware. To install and use the Hyper-V role, you will need the following:
An x64-based processor. Hyper-V is available in 64-bit editions of Windows Server 2008—specifically, the 64-bit editions of Windows Server 2008 Standard, Windows Server 2008 Enterprise, and Windows Server 2008 Datacenter. Hyper-V is not available for 32-bit (x86) editions or Windows Server 2008 for Itanium-Based Systems. However, the Hyper-V management tools are available for 32-bit editions.
Hardware-assisted virtualization. This is available in processors that include a virtualization option—specifically processors with Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) technology.
Hardware-enforced Data Execution Prevention (DEP) must be available and enabled. Specifically, you must enable Intel XD bit (execute disable bit) or AMD NX bit (no execute bit).
Use of Hyper-V:-
Hyper-V provides software infrastructure and basic management tools that you can use to create and manage a virtualized server computing environment. This virtualized environment can be used to address a variety of business goals aimed at improving efficiency and reducing costs. For example, a virtualized server environment can help you:
Reduce the costs of operating and maintaining physical servers by increasing your hardware utilization. You can reduce the amount of hardware needed to run your server workloads.
Increase development and test efficiency by reducing the amount of time it takes to set up hardware and software and reproduce test environments.
Improve server availability without using as many physical computers as you would need in a failover configuration that uses only physical computers.
Key features of Hyper-V:-
- The key features of Hyper-V are as follows:
- 64-bit native hypervisor-based virtualization.
- Ability to run 32-bit and 64-bit virtual machines concurrently.
- Uniprocessor and multiprocessor virtual machines.
- Virtual machine snapshots, which capture the state, data, and hardware configuration of a running virtual machine. Because snapshots record system states, you can revert the virtual machine to a previous state.
- Large virtual machine memory support.
- Virtual local area network (VLAN) support.
- Microsoft Management Console (MMC) management snap-in.
- Documented Windows Management Instrumentation (WMI) interfaces for scripting and management.
Hyper-V in Windows Server 2008 R2 adds the following features:
- Live migration
- Dynamic virtual machine storage
- Enhanced processor support
- Enhanced networking support
MS technet
Thursday, June 10, 2010
Microsoft Security Patches : June 2010
MS10-032/KB979559 - Important (2000, XP, 2003, Vista, 7, 2008, 2008 R2): A trio of bugs in the Windows kernel can allow the use of malformed fonts to allow escalation of privileges attacks. It would be a bit hard to sneak a font onto the system without some sort of install privileges anyways, which is why this patch can wait until your next patch cycle. 1.0MB - 4.3MB
MS10-033/KB979902 - Critical (2000, XP, Vista, 7, 2003, 2008, 2008 R2): This patch addresses a pair of vulnerabilities in Windows’ media subsystem which allows specially crafted media files and streaming content to execute remote code execution exploits. One of the vulnerabilities is less serious that the other, but you should patch your systems immediately all the same. Depending on your system, you may need to install up to four separate patches to address of the issues. 105KB - 4.8MB
MS10-034/KB980195 - Critical (2000, XP, Vista, 7)/Moderate (2003, 2008, 2008 R2): This patch updates the ActiveX kill bits and fixes two bugs in ActiveX that could allow remote code execution attacks. If you allow ActiveX on your desktops (which you shouldn’t, other than for internal sites), install this immediately, otherwise, wait until your next patch cycle. 26KB - 1.0MB
MS10-035/KB982381* - Critical (2000, XP, Vista, 7, 2003, 2008, 2008 R2): Five security holes in Internet Explorer 5, 6, 7, and 8 which can allow remote code execution attacks are fixed with this cumulative update. Some of them are rating as “Moderate” but I don’t see any specific combination of IE version and OS that does not make it “critical.” I would install this patch immediately. 3.3MB - 48.4MB
MS10-036/KB983235 - Important (Office XP, Office 2003, Office 2007): COM validation in Office has a bug which can allow remote code execution attacks. Since you should not be allowing COM to be running in Office from outside sources, this is a less risky bug than it could be. Patch your systems on the next scheduled times. 2.9 - 15.5MB
MS10-037/KB980218 - Important (2000, XP, Vista, 7, 2003, 2008, 2008 R2): Another font handling issue is allowing escalation of privileges attacks across all versions of Windows. Like MS10-032, this one can wait until your next regular patch period. 496KB - 1.3MB
MS10-038/KB2027452* - Important (Office XP, Office 2003, Office 2007, Office 2004 for Mac, Office 2008 for Mac, Open XML File Format Converter for Mac, Excel Viewer, Office Compatibility Pack for Office 2007 File Formats): A whopping fourteen security bugs in the way Microsoft Office opens files are fixed with this patch. The worst can result in remote code execution attacks. Microsoft says this one is “Important” but I call it “Critical” due to the widespread use of Office, and I suggest that you patch immediately. 9.7MB - 332.8MB
MS10-039/KB980218 - Important (InfoPath 2003, InfoPath 2007, Office SharePoint Server 2007, Windows SharePoint Services 2.0): Three problems with SharePoint are fixed with this patch. The issues allow an attacker to perform a variety of attacks, including an escalation of privileges attack if a SharePoint user clicks on a malformed link in SharePoint. This is not a burning issue and the patch can wait until your usual patch time. 2.9MB - 109.3MB
Desktop / Server MS10-040/KB982666 - Important (Vista, 7, 2003, 2008, 2008 R2): Computers running IIS 6, 7, and 7.5 are vulnerable to a remote code execution attack that will run with full privileges when an attacker sends a malformed HTTP request. Microsoft calls this patch “Important” but I think that understates the issue for servers. I would patch servers immediately, and leave desktops for the regular path cycle. 43KB - 4.0MB
MS10-041/KB981343* - Important (2000, XP, Vista, 7, 2003, 2008, 2008 R2): A problem affecting all versions of the .NET Framework’s handling of signed XML content could allow the data to be altered without being detected. This is a fairly minor issue, so this patch can wait until you do your normal patching. 123KB - 2.2MB
MS10-033/KB979902 - Critical (2000, XP, Vista, 7, 2003, 2008, 2008 R2): This patch addresses a pair of vulnerabilities in Windows’ media subsystem which allows specially crafted media files and streaming content to execute remote code execution exploits. One of the vulnerabilities is less serious that the other, but you should patch your systems immediately all the same. Depending on your system, you may need to install up to four separate patches to address of the issues. 105KB - 4.8MB
MS10-034/KB980195 - Critical (2000, XP, Vista, 7)/Moderate (2003, 2008, 2008 R2): This patch updates the ActiveX kill bits and fixes two bugs in ActiveX that could allow remote code execution attacks. If you allow ActiveX on your desktops (which you shouldn’t, other than for internal sites), install this immediately, otherwise, wait until your next patch cycle. 26KB - 1.0MB
MS10-035/KB982381* - Critical (2000, XP, Vista, 7, 2003, 2008, 2008 R2): Five security holes in Internet Explorer 5, 6, 7, and 8 which can allow remote code execution attacks are fixed with this cumulative update. Some of them are rating as “Moderate” but I don’t see any specific combination of IE version and OS that does not make it “critical.” I would install this patch immediately. 3.3MB - 48.4MB
MS10-036/KB983235 - Important (Office XP, Office 2003, Office 2007): COM validation in Office has a bug which can allow remote code execution attacks. Since you should not be allowing COM to be running in Office from outside sources, this is a less risky bug than it could be. Patch your systems on the next scheduled times. 2.9 - 15.5MB
MS10-037/KB980218 - Important (2000, XP, Vista, 7, 2003, 2008, 2008 R2): Another font handling issue is allowing escalation of privileges attacks across all versions of Windows. Like MS10-032, this one can wait until your next regular patch period. 496KB - 1.3MB
MS10-038/KB2027452* - Important (Office XP, Office 2003, Office 2007, Office 2004 for Mac, Office 2008 for Mac, Open XML File Format Converter for Mac, Excel Viewer, Office Compatibility Pack for Office 2007 File Formats): A whopping fourteen security bugs in the way Microsoft Office opens files are fixed with this patch. The worst can result in remote code execution attacks. Microsoft says this one is “Important” but I call it “Critical” due to the widespread use of Office, and I suggest that you patch immediately. 9.7MB - 332.8MB
MS10-039/KB980218 - Important (InfoPath 2003, InfoPath 2007, Office SharePoint Server 2007, Windows SharePoint Services 2.0): Three problems with SharePoint are fixed with this patch. The issues allow an attacker to perform a variety of attacks, including an escalation of privileges attack if a SharePoint user clicks on a malformed link in SharePoint. This is not a burning issue and the patch can wait until your usual patch time. 2.9MB - 109.3MB
Desktop / Server MS10-040/KB982666 - Important (Vista, 7, 2003, 2008, 2008 R2): Computers running IIS 6, 7, and 7.5 are vulnerable to a remote code execution attack that will run with full privileges when an attacker sends a malformed HTTP request. Microsoft calls this patch “Important” but I think that understates the issue for servers. I would patch servers immediately, and leave desktops for the regular path cycle. 43KB - 4.0MB
MS10-041/KB981343* - Important (2000, XP, Vista, 7, 2003, 2008, 2008 R2): A problem affecting all versions of the .NET Framework’s handling of signed XML content could allow the data to be altered without being detected. This is a fairly minor issue, so this patch can wait until you do your normal patching. 123KB - 2.2MB
Windows Vista or Windows 7 don't support the following components of earlier Windows releases
Kernel-mode printer driver support. Printer drivers implement two components: user interface and rendering components.
In Windows NT® 4.0, the rendering components had to run in kernel mode. Windows 2000 introduced user mode rendering components; Windows XP required it for new printer installations but supported kernel-mode rendering components for existing printers. Beginning with Windows Vista, all printer drivers must now implement user-mode rendering components.
Windows Help for 32-bit applications (WinHlp32.exe). Support for Windows Help files (.hlp) is no longer provided by the operating system. To view Windows Help files in Windows Vista, Windows Server 2008, and Windows 7, you must download and install Windows Help from the Microsoft Download Center. (A Windows 7–compatible download will be available by RTM of Windows 7.) HTML help files (.chm) are still supported.
Microsoft FrontPage server extensions. Support for FrontPage® Server Extensions 2002 is no longer provided with the operating system. For customers who still require FrontPage Server Extensions (such as web hosting companies), Ready to Run software has partnered with Microsoft to provide Internet Information Services (IIS) compatible versions of the FrontPage Server Extensions 2002.
Direct 3D Retained Mode (D3DRM). D3DRM, a technology introduced in DirectX® 3 to provide a higher-level programming interface on top of Direct 3D Immediate Mode, has been deprecated beginning with Windows Vista because of security concerns.
Web Publishing Wizard. The Web Publishing Wizard, an applet initially designed to simplify the web publishing experience, never saw any significant adoption and was deprecated beginning with Windows Vista.
Windows NT LAN Manager Security Support Provider (NTLMSSSP) Service. The NTLMSSSP Service was removed beginning with Windows Vista and has been replaced by Kerberos authentication.
Network Dynamic Data Exchange (NetDDE). NetDDE was removed from Windows XP, but was still available on the installation CD. For security reasons, beginning with Windows Vista and Windows Server 2008, Windows no longer supports NetDDE at all.
Microsoft Graphical Identification and Authentication (GINA). To simplify the process of developing authentication providers, as well as to simplify combining authentication providers (including biometric authentication), Windows Vista replaced the GINA model for authentication providers and replaced it with a new Credential Provider model. The new model significantly reduces the effort required to create authentication packages.
Windows Gallery applications. Windows 7 deprecates the Windows Mail utility and disables the CoStartOutlookExpress application programming interface (API). Other removals include Messenger, Address Book, Photo Gallery, and Movie Maker. The other e-mail APIs have been marked as deprecated and are slated for removal in a later Windows version. However, publicly documented APIs that are not marked as deprecated or obsolete will continue to function in Windows 7. Binaries will remain on users' systems and will continue to be accessible via the APIs, specifically in the cases mentioned earlier. In addition, the users' e-mail (.eml), news (.nws) and other Windows Gallery–created files will remain on the system.
Windows registry reflection. The registry reflection process copies registry keys and values between two registry views, to keep them synchronized. In earlier 64-bit installations of Windows, the process reflected a subset of the redirected registry keys between the 32-bit and 64-bit views. However, this implementation caused some inconsistencies in the state of the registry. As COM was the only known consumer of the feature, COM was updated to no longer depend on the functionality.
In Windows NT® 4.0, the rendering components had to run in kernel mode. Windows 2000 introduced user mode rendering components; Windows XP required it for new printer installations but supported kernel-mode rendering components for existing printers. Beginning with Windows Vista, all printer drivers must now implement user-mode rendering components.
Windows Help for 32-bit applications (WinHlp32.exe). Support for Windows Help files (.hlp) is no longer provided by the operating system. To view Windows Help files in Windows Vista, Windows Server 2008, and Windows 7, you must download and install Windows Help from the Microsoft Download Center. (A Windows 7–compatible download will be available by RTM of Windows 7.) HTML help files (.chm) are still supported.
Microsoft FrontPage server extensions. Support for FrontPage® Server Extensions 2002 is no longer provided with the operating system. For customers who still require FrontPage Server Extensions (such as web hosting companies), Ready to Run software has partnered with Microsoft to provide Internet Information Services (IIS) compatible versions of the FrontPage Server Extensions 2002.
Direct 3D Retained Mode (D3DRM). D3DRM, a technology introduced in DirectX® 3 to provide a higher-level programming interface on top of Direct 3D Immediate Mode, has been deprecated beginning with Windows Vista because of security concerns.
Web Publishing Wizard. The Web Publishing Wizard, an applet initially designed to simplify the web publishing experience, never saw any significant adoption and was deprecated beginning with Windows Vista.
Windows NT LAN Manager Security Support Provider (NTLMSSSP) Service. The NTLMSSSP Service was removed beginning with Windows Vista and has been replaced by Kerberos authentication.
Network Dynamic Data Exchange (NetDDE). NetDDE was removed from Windows XP, but was still available on the installation CD. For security reasons, beginning with Windows Vista and Windows Server 2008, Windows no longer supports NetDDE at all.
Microsoft Graphical Identification and Authentication (GINA). To simplify the process of developing authentication providers, as well as to simplify combining authentication providers (including biometric authentication), Windows Vista replaced the GINA model for authentication providers and replaced it with a new Credential Provider model. The new model significantly reduces the effort required to create authentication packages.
Windows Gallery applications. Windows 7 deprecates the Windows Mail utility and disables the CoStartOutlookExpress application programming interface (API). Other removals include Messenger, Address Book, Photo Gallery, and Movie Maker. The other e-mail APIs have been marked as deprecated and are slated for removal in a later Windows version. However, publicly documented APIs that are not marked as deprecated or obsolete will continue to function in Windows 7. Binaries will remain on users' systems and will continue to be accessible via the APIs, specifically in the cases mentioned earlier. In addition, the users' e-mail (.eml), news (.nws) and other Windows Gallery–created files will remain on the system.
Windows registry reflection. The registry reflection process copies registry keys and values between two registry views, to keep them synchronized. In earlier 64-bit installations of Windows, the process reflected a subset of the redirected registry keys between the 32-bit and 64-bit views. However, this implementation caused some inconsistencies in the state of the registry. As COM was the only known consumer of the feature, COM was updated to no longer depend on the functionality.
MS Technet
Wednesday, June 9, 2010
Subscribe to:
Posts (Atom)