Skip navigation

Windows Tips & Tricks UPDATE--August 29, 2005

Windows Tips &amp Tricks UPDATE, August 29, 2005, —brought to you by the Windows IT Pro Network and the Windows 2000 FAQ site
http://www.windows2000faq.com

Make sure your copy of Windows Tips & Tricks UPDATE isn't mistakenly blocked by antispam software! Be sure to add [email protected] 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"
http://www.argent.com/w/whitepapers_mom.html?Source=WNT

Download a Tool that will Benefit any Sys Admin
http://www.tntsoftware.com/wintipssec082902


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:
http://www.argent.com/w/whitepapers_mom.html?Source=WNT


FAQs

  • 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:
http://www.tntsoftware.com/wintipssec082902


FAQs

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.

Dim objNetworkAdapters, objAdapter, objWMI

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
Next

Here's a sample execution showing two adapters on the machine: D:\temp>cscript getmac.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Network adapter: \[00000009\] Broadcom 570x Gigabit Integrated Controller has MAC address 00:0F:1F:25:DC:76 Network adapter: \[00000014\] Intel(R) PRO/Wireless 2200BG Network Connection has MAC address 00:0E:35:6E:2C:B4

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:

  1. Create a profile that you want to use as the basis for all new users and log off as the user.
  2. Log on to the workstation as a domain administrator.
  3. Start the System Control Panel applet (Start, Settings, Control Panel, System).
  4. Select the Advanced tab.
  5. Click Settings in the User Profiles section of the tab.
  6. Select the profile you created in the first step and click Copy To.
  7. 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.
  8. Click OK to the main User Profiles dialog box, then click OK to the System Properties.
  9. /

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:

  1. Start the Microsoft Management Console (MMC) SMS Management snap-in (Start, Programs, Systems Management Server, SMS Administrator Console).
  2. Expand the Image Packages branch and right-click the OS package for which you want to specify additional drivers.
  3. Select the Drivers tab.
  4. 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.
  5. 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 )

  • SQL Server 2005 Roadshow is Coming to a City Near You

  • 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!
    http://www.windowsitpro.com/roadshows/sqlserverusa/index.cfm?code=0831emailannc

  • Consolidate Your SQL Server Infrastructure

  • 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!
    http://www.windowsitpro.com/seminars/shareddataclustering/index.cfm?code=0831emailannc

  • High Risk Internet Access: Are You In Control?

  • 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).
    http://www.windowsitpro.com/seminars/internetsecurity/index.cfm?code=0831emailannc

  • Get Ready for SQL Server 2005 Roadshow in Europe

  • 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!
    http://www.windowsitpro.com/roadshows/sqlservereurope/index.cfm?code=0831emailannc

  • Discover SQL Server 2005 for the Enterprise. Are you prepared?

  • 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!
    http://www.windowsitpro.com/roadshows/sqlserverdba/index.cfm?code=0831emailannc

    Featured White Paper
    (from Windows IT Pro and its partners)

  • The Impact of Disk Defragmentation

  • 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.
    http://www.windowsitpro.com/whitepapers/diskeeper/defragmentation/index.cfm?code=0831emailannc

    Announcements
    (from Windows IT Pro and its partners)

  • Get Access to Every Windows IT Pro Article on CD

  • 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:
    https://store.pentontech.com/index.cfm?s=1&promocode=eu2259uc

  • Monthly Online Pass = Quick Windows IT Answers!

  • 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:
    https://store.pentontech.com/index.cfm?s=1&promocode=eu2059um

    Sponsored Link

  • Professional and secure remote control from all major platforms


  • http://a.windowsitpro.com/RealMedia/ads/click_lx.ads/www.windowsitpro.com/1112745096/x14/Penton/WN_Danware_Aug05_NLsplink_118338/1x1.gif/1

  • Tech jobs at Dice

  • Search 65K+ new IT jobs daily--Tech expert jobs at top companies!
    http://a.windowsitpro.com/RealMedia/ads/click_lx.ads/www.windowsitpro.com/TextLink/1112745096/x14/Penton/WN_Dice_AUG_eNL_Splink/1x1.gif/1

    Contact Us
    Here's how to reach us with your comments and questions:

    This email newsletter is brought to you by Windows IT Pro, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today.
    https://store.pentontech.com/index.cfm?s=1&promocode=eu205xxb

    Hide comments

    Comments

    • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

    Plain text

    • No HTML tags allowed.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Lines and paragraphs break automatically.
    Publish