Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 2004

Letters to the Editor

RSS
Subscribe to Windows IT Pro | See More Performance Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

EDITOR'S NOTE: Windows & .NET Magazine welcomes feedback from readers about the magazine. Please send comments to letters @winnetmag.com and include your full name, email address, and daytime phone number with your letter. We edit all letters and replies for style, length, and clarity.

Using Event Tracing
I was impressed with Darren Mar-Elia's article Internals: "Inside Event Tracing for Windows" (December 2003, InstantDoc ID 40707). I hope Darren can help me solve a problem.

My company has a client/server standalone application. Assume that this application has five functions and that these functions are dealing with five separate bank transactions. I'd like to know how I can monitor how long each type of transaction takes (i.e., from user request to server answer to delivery of the answer to the user). Basically, I'd like to differentiate the five types of transactional data. Darren's article says that event tracing monitors data from providers. Can Performance Logs and Alerts also be used to monitor at the transactional level?

—Neil Camara
ronneil@restricted.dyndns.org

It sounds as though you can use event tracing for your application. You'll need to build the provider and instrument your application code to declare the start and end of a transaction. In your example, each of the five functions would call a start and end event on your provider, and these events would be logged to the event tracing system. You can then use the usual tools, such as Performance Logs and Alerts, logman, and tracerpt, to collect and report on the data. Your best bet is to check out the relevant Microsoft Developer Network (MSDN) documentation about event tracing, which includes examples for instrumenting applications. You can find this documentation at http://msdn.microsoft.com/library/en-us/perfmon/base/event_tracing.asp?frame=true.

—Darren Mar-Elia

Reg.exe to the Rescue
Mark Minasi's Inside Out: "Quick, Automated AD Setup" (December 2003, InstantDoc ID 40719) contained information about using reg.exe that I found particularly useful.

One of Microsoft's recent update patches caused trouble for my company's training facility. The patch kept usernames from being included in URLs. We discovered a registry edit to solve the problem, and because all the client machines in our training facility are Windows XP Professional machines and members of our AD domain, we used reg.exe to update our logon script. What could have been a long evening spent manually updating each and every machine was a simple fix using reg.exe and a logoff/logon cycle. Thanks!

—Bill Nichol
wnich2@yahoo.com

Controlling the Recent Documents Folder
I read Ed Roth's column Windows Client: "Managing User Profiles" (February 2004, InstantDoc ID 41405), then went back and reread his Windows Client: "Using IntelliMirror to Manage User Data and Settings" (July 2003, InstantDoc ID 39193). My company uses folder redirection for the Application Data and My Documents folders in our users' roaming profiles. Some of our users have a Recent Documents folder that's larger than 5MB, and I'd like to control that folder's size. Does a registry setting exist that will let me control the size of user shell folder\recent\%userprofile%\recent?

—Tim McClenahan
mcclenahans@sbcglobal.net

I don't know of a way to control the Recent Documents folder's size without enabling a quota on the entire profile. However, one Group Policy setting might help. If you enable User Configuration\Administrative Templates\Start Menu and Taskbar\Clear history of recent documents on exit, the contents of the Recent Documents folder will be deleted each time the user logs off. Enabling this policy won't affect the list of recently used files that the File menu in Microsoft Office applications displays, so your users can still rely on that list. Enabling this policy provides the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExt registry subkey with a REG_DWORD value of 1.

Another Group Policy setting looks promising, although it won't alter the contents of the Recent Documents folder. User Configuration\Administrative Templates\Windows Components\Windows Explorer\Maximum Number of Recent Documents will let you limit the number of documents that the Start menu displays.

One more option is to exclude the Recent Documents folder from roaming. You can specify folders for exclusion in Group Policy with the User Configuration\Administrative Templates\System\
User Profiles setting.

—Ed Roth

   Previous  [1]  2  Next 


Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

The Easiest Way to Save Time and Money on E-mail and SharePoint Management

Cutting Costs with Client Management

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement