Windows Tips & Tricks UPDATE, August 29, 2005, —brought to you by the Windows IT Pro Network and the Windows 2000 FAQ site
Make sure your copy of Windows Tips & Tricks UPDATE isn't mistakenly blocked by antispam software! Be sure to add Windows_TipsandTricks_UPDATE@list.windowsitpro.com to your list of allowed senders and contacts.
This email newsletter comes to you free and is supported by the following advertisers, which offer products and services in which you might be interested. Please take a moment to visit these advertisers' Web sites and show your support for Windows Tips & Tricks UPDATE.
"THE ARGENT GUARDIAN EASILY BEATS OUT MOM IN ALL OUR TESTS"
Download a Tool that will Benefit any Sys Admin
Sponsor: NETWORK TESTING LABS COMPARES ARGENT TO MOM 2005
Network Testing Labs, one of the world's leading independent research companies, concluded that "Argent's suite had a smaller footprint, was more scalable, supported more platforms, had a more responsive and intuitive user interface and gave us more useful reports," the report says. "Argent's suite of monitoring products emerged from our testing with flying colors." Download this FREE Comparison Paper now:
- Q. How can I use Windows Management Instrumentation (WMI) to enumerate MAC addresses on a machine?
- Q. How can I set the default domain user profile?
- Q. I'm trying to copy a user profile but the Copy To button is grayed out in the dialog box in the System Control Panel applet. How can I access this functionality?
- Q. How can I add additional network and storage drivers to the Windows Preinstallation Environment (WinPE) that a system uses when you upgrade an OS via a Microsoft Systems Management Server (SMS) OS Deployment Feature Pack advertisement?
- Q. Can I upgrade Windows Server 2003 Standard Edition to Windows 2003 Enterprise Edition?
Sponsor: Download a Tool that will Benefit any Sys Admin
Are you searching for an affordable real-time monitoring toolset that will support your proactive system management objectives? Start NOW and download ELM Enterprise Manager from TNT Software. Within an hour, you will experience for yourself why ELM is recognized as the tool that will benefit any System Administrator. Before the 30 Day full feature trial is completed, the Monitoring, Alerting and Reporting will have saved you time and provided you the data for prompt corrective action. Be Proactive; and download ELM Enterprise Manager from the link below:
Q. How can I use Windows Management Instrumentation (WMI) to enumerate MAC addresses on a machine?
A. You can enumerate a machine's list of network adapters and find the associated MAC address. The following sample code, which you can download here, prints out the network adapter name and the MAC address.
Set objWMI = Nothing
Set objWMI = GetObject("winmgmts:")
' Get a list of IP-enabled adapters.
Set objNetworkAdapters = objWMI.ExecQuery("select * from Win32_NetworkAdapterConfiguration where IPEnabled = 1")
For Each objAdapter In objNetworkAdapters
wscript.echo "Network adapter: " & objAdapter.Caption & " has MAC address " & objAdapter.MacAddress
Q. How can I set the default domain user profile?
A. Most people are aware that you can set the default base profile on a per-workstation basis by replacing the "C:\Documents and Settings\Default User" folder on each local workstation. However, instead of performing this action on every workstation, you can specify a domainwide default profile. To do so, you need to save the required profile to the domain's Netlogon folder as name "Default User" by performing the following steps:
- Create a profile that you want to use as the basis for all new users and log off as the user.
- Log on to the workstation as a domain administrator.
- Start the System Control Panel applet (Start, Settings, Control Panel, System).
- Select the Advanced tab.
- Click Settings in the User Profiles section of the tab.
- Select the profile you created in the first step and click Copy To.
- In the "Copy profile to" field, enter a location of
\netlogon\default user. In the "Permitted to use" field, click Change and set to Everyone, as the figure shows. Click OK.
- Click OK to the main User Profiles dialog box, then click OK to the System Properties. /
When a new user logs on to a workstation for the first time, he or she will now have a profile based on the default profile stored on the Netlogon share. However, because end users can easily change these default profile settings, you'll typically want to use Group Policy instead of this method to set the mandatory configuration options. Group Policy settings will override attempts by the user to modify the profile settings.
Q. I'm trying to copy a user profile but the Copy To button is grayed out in the dialog box in the System Control Panel applet. How can I access this functionality?
A. The grayed out Copy To button usually occurs when you try to copy a profile that has been used since the computer has been started. Reboot the computer and don't log on as the profile you're trying to copy. The Copy To button should now be available. Also remember that you can't copy the profile you're currently logged on as.
Q. How can I add additional network and storage drivers to the Windows Preinstallation Environment (WinPE) that a system uses when you upgrade an OS via a Microsoft Systems Management Server (SMS) OS Deployment Feature Pack advertisement?
A. The default SMS OS Deployment WinPE has all the drivers that are included with Windows XP Service Pack 2 (SP2). If you need additional network or storage drivers, one option is to create a custom WinPE and copy the relevant driver files to the correct locations (which is what you have to do for a Microsoft Remote Installation Services (RIS)-based SMS OS Deployment Feature Pack installation). An easier option, however, is to use the drivers tab of the OS package properties to specify folders for the extra drivers. To do so, perform these steps:
- Start the Microsoft Management Console (MMC) SMS Management snap-in (Start, Programs, Systems Management Server, SMS Administrator Console).
- Expand the Image Packages branch and right-click the OS package for which you want to specify additional drivers.
- Select the Drivers tab.
- Select the check box for network or storage, and click Browse to specify where the additional drivers are located, as the figure shows. The specified folder must be a flat structure--subfolders won't be read. Also remember the storage driver location must have a valid txtsetup.oem file.
- Click OK.
You'll notice that after you specify these drivers, the source folder for the OS package contains a new folder called "CustomWinPE," which has Inf, system32, and system32\drivers subfolders, with the necessary driver component files copied to the correct locations, as the figure shows. When a client receives the OS advertisement, SMS extracts the standard winpe.wim file to the minint folder of the receiving computer and copies the content of the CustomWinPE folder to the minint folder to provide the support for extra network and storage hardware.
Note that if you're deploying new OSs via RIS, these additional network drivers won't be used because RIS ignores the OS package's WinPE. You could copy the CustomWinPE folder content to the WinPE instance folder on the RIS server to add the additional drivers to avoid manually moving the required files to the correct directories (e.g. .inf files to the Inf folder, .sys to the system32\drivers). You also need to update all the OS package's distribution points so that the CustomWinPE content is available to the clients.
Q. Can I upgrade Windows Server 2003 Standard Edition to Windows 2003 Enterprise Edition?
A. Yes, this is a supported upgrade. Read the following Microsoft documents for more details: Supported Upgrade Paths Supported paths for upgrading to Windows Server 2003 or to Windows Small Business Server 2003.
Events and Resources
(A complete Web and live events directory brought to you by Windows IT Pro: http://www.windowsitpro.com/events )
Get the facts about migrating to SQL Server 2005. SQL Server experts will present real-world information about administration, development, and business intelligence to help you implement a best-practices migration to SQL Server 2005 and improve your database computing environment. Attend and receive a 1-year membership to PASS and 1-year subscription to SQL Server Magazine. Register now!
Shared data clustering is the breakthrough consolidation solution for Microsoft Windows servers. In this free Web seminar, learn how shared data-clustering technology can reduce capital expenditures by at least 50 percent, improve management efficiency, reduce operational expense, ensure high availability across all SQL Server instances and more! Find out how you can reduce the overall Total Cost of Ownership (TCO) for SQL Server cluster deployments by as much as 60 percent over 3 years! Sign up today!
Defending against Internet criminals, spyware, phishing, and addressing the points of risk that Internet-enabled applications expose your organization to can seem like an epic battle with Medusa. So how do you take control of these valuable resources? In this free Web seminar, you'll get the tools you need to help you analyze the impact Internet-based threats have on your organization, and tools to aid you in the construction of Acceptable-Use Policies (AUPs).
Back By Popular Demand - Get the facts about migrating to SQL Server 2005! SQL Server experts will present real-world information about administration, development, and business intelligence to help you implement a best-practices migration to SQL Server 2005 and improve your database-computing environment. Receive a one-year membership to PASS and one-year subscription to SQL Server Magazine. Register now!
In this free, half-day event you'll learn how the top new features of SQL Server 2005 will help you create and manage large-scale, mission-critical, enterprise database applications--making your job easier. Find out how to leverage SQL Server 2005's new capabilities to best support your business initiatives. Register today!
Featured White Paper
(from Windows IT Pro and its partners)
Nearly every IT professional has a fragmentation horror story. In this free white paper learn what impact fragmentation has on users and system activities and discover how quickly fragmentation accumulates as a result of these activities. Plus, get the recommendations you need to manage the frequency of fragmentation across your infrastructure.
(from Windows IT Pro and its partners)
The Windows IT Pro Master CD goes a step further by offering portable access to the entire Windows IT Pro article database – over 9,000 articles! The newest issue includes BONUS Windows Tips and if you sign up now, you will SAVE 25% off. Offer ends 9/30/05, so subscribe now:
Sign up today for your Monthly Online Pass and get 24/7 access to the entire online Windows IT Pro article database, including exclusive subscriber-only content. That's a database of more than 9,000 Windows articles to help you get all the answers you need, when you need them. Sign up now for just US$5.95 per month:
Search 65K+ new IT jobs daily--Tech expert jobs at top companies!
Here's how to reach us with your comments and questions:
- About the newsletter — email@example.com
- About technical questions — http://www.windowsitpro.com/forums
- About product news — firstname.lastname@example.org
- About your subscription — email@example.com
- About sponsoring UPDATE — firstname.lastname@example.org
This email newsletter is brought to you by Windows IT Pro, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today.