Windows Tips & Tricks UPDATE, October 24, 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.
Download a Tool that will Benefit any Sys Admin
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 determine the logged-on user's distinguished name (DN)?
- Q. Can I run Microsoft Exchange Server 2003 32-bit edition on the 64-bit version of Windows Server 2003?
- Q. Can I use Group Policy to set Power Options?
- Q. What is the Xinput driver?
- Q. How can I determine the amount of data stored in the registry?
Q. How can I determine the logged-on user's distinguished name (DN)?
A. The simplest way to determine the logged-on user's DN is to query the ADSystemInfo object, as the following sample code and output shows:
Set objSysInfo = CreateObject("ADSystemInfo") strUser = objSysInfo.UserName WScript.Echo strUser
This code outputs the user's DN. Now that you know the DN, you can fetch the actual object for the user to get additional information (e.g., the email address) as the following example shows:
Set objUser = GetObject("LDAP://" & strUser) WScript.Echo objUser.mail
Q. Can I run Microsoft Exchange Server 2003 32-bit edition on the 64-bit version of Windows Server 2003?
A. No, this configuration isn't supported. Remember that 64-bit OSs can't run 32-bit drivers. Exchange 2003 has the Exchange Installable File System (ExIFS) 32-bit driver that runs as a kernel mode driver. You'll need to wait for a 64-bit version of Exchange. Most 32-bit software can run on a 64-bit OS via the Windows on Windows 64 subsystem, which provides an emulated 32-bit environment, but this interoperability doesn't apply to drivers.
Q. Can I use Group Policy to set Power Options?
A. Currently, all Windows platforms store power configurations as part of binary values, which native Group Policy doesn't affect. In the Windows Vista and Longhorn releases, Microsoft has made changes that let you use Group Policy to configure Power Option settings as the figure shows.
An alternative is to use the Group Policy Extensions for Desktops from Quest Software. These extensions supplement the Group Policy capabilities of native Windows to include, among other things, the ability to set Power Options. Visit http://wm.quest.com/products/grouppolicyextensions/features_and_benefits.asp for more information about the extensions. /P>
Q. What is the Xinput driver?
A. With the Xbox 360, Microsoft is moving to a common peripheral approach in which the games controller for the Xbox 360 will work on Windows XP Service Pack 1 (SP1) and later machines. This approach is known as the Microsoft Common Controller Driver model. To enable this functionality, you must install the Xinput driver, which you can download from http://www.microsoft.com/downloads/details.aspx?FamilyID=0e989b12-576b-42f2-b7c1-2a17ce25188b&DisplayLang=en .
Q. How can I determine the amount of data stored in the registry?
A. Microsoft has a command-line tool called DuReg, which you can download at http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/dureg-o.asp. You can use DuReg to displays the total size of the registry or just the size of a particular part. Execute the downloaded file to install the application to the %SystemDrive%\Program Files\Resource Kit folder.
To retrieve the size of the entire registry, use the command with the /a switch, as the following example shows:
Events and Resources
(A complete Web and live events directory brought to you by Windows IT Pro: http://www.windowsitpro.com/events )
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.
With the endless array of mobile and wireless devices and applications, it's hard to decide what you can do with the devices beyond providing mobile email access. It's even tougher to know how to keep it all secure. Join industry guru Randy Franklin Smith in this free Web seminar and discover what you should do to leverage your mobile and wireless infrastructure, how to pick devices that are right for you, and more!
Improved utilization of existing networking resources and server hardware enable allocation of scarce financial and time resources where they're needed most. In this free Web seminar, learn to optimize your existing infrastructure with the addition of server and storage consolidation software and techniques. You'll get the jumpstart you need to evaluate the suitability and potential of your computing environments for the added benefits that consolidation technology can provide.
Featured White Paper
(from Windows IT Pro and its partners)
Business information carries little value unless it reaches the right person at the right time. In this free white paper find out what you need to know to remain competitive – while improving the speed and quality of decision-making. Get the tools you need for providing critical information to decision makers, and enable them to monitor the daily health of your organization through successful implementation of a dashboard.
(from Windows IT Pro and its partners)
Get inside access to ALL the articles, tools, and helpful resources published in Windows IT Pro, SQL Server Magazine, Exchange and Outlook Administrator, Windows Scripting Solutions, and Windows IT Security--that's more than 26,000 articles at your fingertips. Your VIP subscription also includes a valuable one-year print subscription to Windows IT Pro and two VIP CDs (includes the entire article database on CD). Sign up now:
If you haven't already subscribed to the Exchange & Outlook Administrator newsletter, you're missing out on key information related to preventing serious messaging problems and downtime. This newsletter encompasses tools and solutions you won't find anywhere else to help you migrate, optimize, administer, backup, recover, and secure Exchange and Outlook. Order now:
Here's how to reach us with your comments and questions:
- About the newsletter — firstname.lastname@example.org
- About technical questions — http://www.windowsitpro.com/forums
- About product news — email@example.com
- About your subscription — firstname.lastname@example.org
- About sponsoring UPDATE — email@example.com
This email newsletter is brought to you by Windows IT Pro, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today.