Windows Tips & Tricks UPDATE, May 3, 2004, —brought to you by the Windows & .NET Magazine Network and the Windows 2000 FAQ site
This Issue Sponsored By
Sponsor: Interactive Intelligence
Want to take advantage of the benefits of an all-Microsoft VoIP system while virtually eliminating start-up costs? Now you can with FREE Microsoft-based IP PBX communications software from Interactive Intelligence. This free software runs on the Windows operating system and supports Microsoft Business Solutions applications, such as Great Plains, Solomon, and MS CRM. In addition to providing built-in SIP-based switching, the system also comes with a host of productivity-enhancing features, including desktop softphone, voice mail, auto-attendant, work group routing, and hot-desking for mobile users. It's perfect for the small to mid-sized business looking to future-proof its technology investment with a reliable and complete converged communications system from the leader in all-software IP telephony solutions. For details, visit
- Q. Why are some Microsoft Remote Installation Services (RIS) images not displayed on my RIS OS selection menu?
- Q. How can I add a new adapter to the list of supported Microsoft Remote Installation Services (RIS) adapters?
- Q. How can I avoid having to press F12 during a Microsoft Remote Installation Services (RIS) boot?
- Q. How can I avoid receiving an 0x2015 error when I use Ntdsutil to delete a nonexistent domain?
- Q. How can I create an Automated Deployment Services (ADS) set?
by John Savill, FAQ Editor, [email protected]
This week, I tell you why some Microsoft Remote Installation Services (RIS) images aren't displayed on the RIS OS selection menu and how to solve the problem, how to add a new adapter to the list of supported RIS adapters, and how to avoid having to press F12 during a RIS boot. I also explain how to avoid receiving an 0x2015 error when you use Ntdsutil to delete a nonexistent domain and how to create an Automated Deployment Services (ADS) set.
Sponsor: Exchange & Outlook Administrator
Try a Sample Issue of Exchange & Outlook Administrator!
Q. Why are some Microsoft Remote Installation Services (RIS) images not displayed on my RIS OS selection menu?
A. When a RIS client computer boots so it can install an OS from the RIS server, the client displays a list of OS images that are applicable to it. A problem occurs when the image's hardware abstraction layer (HAL) differs from the HAL that the local machine should use (e.g., single-processor HAL versus multiprocessor HAL). I experienced this problem recently when I used the Remote Installation Preparation (RIPrep) utility to create an image from a client workstation. When I booted another computer so it could install an OS from the RIS server, the computer didn't display the image. The problem was that the computer I used to create the image had hyperthreading enabled, which means the HAL is a multiprocessor version (although the machine actually has only one CPU), whereas the destination machine didn't have hyperthreading and required a single-CPU HAL. If the HAL is the same on both the imaged and local systems, compare the NTFS permissions on the RIS server's image folder with the permissions on an image that you know works. If the permissions aren't the same, adjust them on the image folder so they match the permissions on the folder of the working image.
Q. How can I add a new adapter to the list of supported Microsoft Remote Installation Services (RIS) adapters?
A. To add a new adapter, perform the following steps on the RIS server:
- If the driver isn't digitally signed, you must configure the installation to ignore the driver-signing policy. To do so, open the RIS image's .sif file (e.g. Ristndrd.sif) and add the following line to the file's \[Unattended\] section:
DriverSigningPolicy = Ignore
- Expand the NIC driver and copy the .inf and .sys files to the RemoteInstall\Setup\language\Images\image\i386 folder.
- Within the image's \i386 folder, create the folder structure $oem$\$1\Drivers\Nic. For example, create the folder
- Copy the .inf and .sys files that you copied earlier to the new folder.
- Open the .sif file for the RIS image, and add the following lines in the \[Unattended\] section. (If the OemPreinstall line already exists, edit the line to say yes instead of no.)
OemPreinstall = yes OemPnpDriversPath = Drivers\Nic
- Restart the Boot Information Negotiation Layer (BINL) service by entering
net stop binlsvc net start binlsvc
Q. How can I avoid having to press F12 during a Microsoft Remote Installation Services (RIS) boot?
A. By default, RIS causes the client computer to display a prompt that tells the user to press F12. To prevent RIS from displaying the prompt, navigate to the folder \\RIS_server_name\REMINST\oschooser\i386. Rename Startrom.com to Startrom.old, then rename Startrom.n12 to Startrom.com.
Q. How can I avoid receiving an 0x2015 error when I use Ntdsutil to delete a nonexistent domain?
A. If you have a child domain that no longer exists and has no servers, you can use Ntdsutil's Active Directory (AD) metadata cleanup capability to delete the domain. However, when you use metadata cleanup, you might receive the error "metadata cleanup: remove selected domain DsRemoveDsDomainW error 0x2015 (The directory service can perform the requested operation only on a leaf object.)" The error means that the domain still contains information (usually a domain DNS zone). You can check the domain and resolve the problem as follows:
- Start Ntdsutil (click Start, Run; enter cmd.exe; then enter ntdsutil.exe).
- Switch to domain management mode by entering the domain management argument at the ntdsutil prompt:
ntdsutil: domain management
- Select the server to use by invoking the Connections submenu, then connect to a domain controller (DC) by entering the connections argument at the domain management prompt:
domain management: connectionsYou'll see the message "Connected to omega using credentials of locally logged on user."
- Type the following at the server connections prompt:
server connections: connect to server omegaThe following messages will appear. (The text that's enclosed in quotes represents messages that are displayed after you type the indicated commands.)
"Disconnecting from omega... Binding to omega... Connected to omega using credentials of locally logged on user."
- Exit the server connections area by entering the quit argument at the server connections prompt:
server connections: quit
- List the naming contexts (NCs) by entering the list argument at the domain management prompt:
domain management: list(Directory partition names that contain International Unicode characters will display correctly only if the appropriate fonts and language support are loaded.) You'll then see the NCs, as in the following example:
"Found 7 Naming Context(s) 0 - CN=Configuration,DC=savilltech,DC=com 1 - DC=savilltech,DC=com 2 - CN=Schema,CN=Configuration,DC=savilltech,DC=com 3 - DC=DomainDnsZones,DC=savilltech,DC=com 4 - DC=ForestDnsZones,DC=savilltech,DC=com 5 - DC=child1,DC=savilltech,DC=com 6 - DC=DomainDnsZones,DC=child1,DC=savilltech,DC=com"
- In this example, I'm trying to delete DC=child1,DC=savilltech,DC=com. However, because DC=DomainDnsZones,DC=child1,DC=savilltech,DC=com exists under DC=child1,DC=savilltech,DC=com, I can't delete DC=child1,DC=savilltech,DC=com until I remove DomainDnsZones under child1. To do so, I type the delete argument at the domain management prompt as follows:
domain management: delete NC DC=DomainDnsZones,DC=child1,DC=savilltech,dc=comAfter removing the DNS NC from the child domain, you'll see the following message:
"The operation was successful. The partition has been marked for removal from the enterprise. It will be removed over time in the background."Don't create another partition with the same name until the servers that hold this partition have had an opportunity to remove it. Removal is complete when knowledge of the deletion of the partition replicates throughout the forest and the servers that hold the partition have removed all objects within it. You can verify that the partition has been completely removed by consulting the Directory event log on each server.
- End the domain management command by entering the quit argument at the domain management prompt:
domain management: quitYou can now use Ntdsutil to remove the domain in the usual way, as in the following example.
ntdsutil: metadata cleanup metadata cleanup: connections "Connected to omega using credentials of locally logged on user." server connections: connect to server omega "Disconnecting from omega... Binding to omega ... Connected to omega using credentials of locally logged on user." server connections: quit metadata cleanup: select operation target select operation target: list domains "Found 2 domain(s) 0 - DC=savilltech,DC=com 1 - DC=child1,DC=savilltech,DC=com" select operation target: select domain 1 "No current site Domain - DC=child1,DC=savilltech,DC=com No current server No current Naming Context" select operation target: quit metadata cleanup: remove selected domain "'DC=child1,DC=savilltech,DC=com' removed from server 'omega'" metadata cleanup: quit ntdsutil: quit "Disconnecting from omega... Gone!"
Q. How can I create an Automated Deployment Services (ADS) set?
A. Although you can perform all ADS functions on individual computers, you might want to perform an action on a predefined group--or set--of machines. ADS sets let you create a group of servers (which can include other existing sets, to form a hierarchy), and that group can then be the target of actions or deployments that you want to perform.
To create a set, perform the following steps:
- Start the Microsoft Management Console (MMC) ADS Management snap-in (click Start, Programs, Microsoft ADS, ADS Management).
- Select the Sets branch from the window's treeview pane.
- Right-click Sets and select New Set from the context menu.
- You'll see the New Set dialog box, which the figure at Figure 1 shows. Enter a name for the new set and, optionally, a description.
- Select from the list of available devices the devices you want to include in the set, then click Add.
- Select from the list of available sets the sets you want to include in the new set, then click Add. When you're finished, click OK.
(from Windows & .NET Magazine and its partners)
SQL Server Magazine is a useful resource loaded with relevant information covering database modeling and design, performance tuning, security, ADO.NET, ASP.NET, XML, and the latest topics that SQL Server developers, administrators, and business-intelligence architects need to know. Try two (no-risk) sample issues today, and discover the timesaving qualities the magazine has to offer. Order now:
Tech Ed 2004 -- May 23-28, 2004 in San Diego, CA -- the definitive Microsoft conference for building, deploying, securing, and managing connected solutions. You'll find specific IT tracks on Architecture, Security, Operations, and more. Plus, meet tech gurus, preview products, and network with experts and peers. Register Now.
Today a small business can be as agile as a large business by understanding which technology can be leveraged to create a centralized server environment. In this free Web seminar, you'll learn the perils of peer-to-peer file sharing, backup and recovery, migration from desktop to servers, and Small Business Server basics. Register now!
(A complete Web and live events directory brought to you by Windows & .NET Magazine: http://www.winnetmag.com/events )
Find out how Hensel Phelps Construction, a multibillion-dollar national contractor, has implemented a multilayered antispam solution to increase user productivity and decrease the burden on IT staff resources, infrastructure, and budget. Sign up now for this free Web seminar!
Comparison Paper: The Argent Guardian Easily Beats Out MOM
Microsoft(R) TechNet Webcasts: essential guidance, industry experts
Here's how to reach us with your comments and questions:
- About the newsletter — [email protected]
- About technical questions — http://www.winnetmag.com/forums
- About product news — [email protected]
- About your subscription — [email protected]
- About sponsoring UPDATE — [email protected]
This weekly email newsletter is brought to you by Windows & .NET Magazine, the leading publication for Windows professionals who want to learn more and perform better. Subscribe today.
Receive the latest information about the Windows and .NET topics of your choice. Subscribe to our other FREE email newsletters.