Showing results for Tips/Support - The Old New Thing

Aug 27, 2013
Post comments count0
Post likes count0

How can I find out which process and user is modifying a file?

Raymond Chen
Raymond Chen

When troubleshooting a problem, you may discover that a file is being modified that shouldn't, and you figure out would be nice if there were some way of finding out which process is modifying the file (so you can get it to stop). Enter the security auditing system. Every securable object has an associated system access control list (SACL) which ...

Tips/Support
Aug 26, 2013
Post comments count0
Post likes count0

Why doesn't the "Automatically move pointer to the default button in a dialog box" work for nonstandard dialog boxes, and how do I add it to my own nonstandard dialog boxes?

Raymond Chen
Raymond Chen

The Mouse control panel has a setting called Automatically move pointer to the default button in a dialog box, known informally as Snap to default button or simply Snap To. You may have discovered that it doesn't work for all dialog boxes. Why not? The Snap To feature is implemented by the dialog manager. When the window is shown and the setting...

CodeTips/Support
Aug 21, 2013
Post comments count0
Post likes count0

Adding a confirmation dialog to every drag/drop operation does not solve the problem

Raymond Chen
Raymond Chen

A customer wanted to know how to enable a confirmation dialog whenever the user inadvertently perform a drag/drop operation in Explorer to move files within a volume. For example, if I have an S drive mapped to \\server\share, I would like to display the confirmation dialog when users inadvertently drag and drop a file or folder within the S drive...

Tips/Support
Jul 31, 2013
Post comments count0
Post likes count0

Why does Explorer sometimes show my server name in parentheses?

Raymond Chen
Raymond Chen

A customer wanted to know why Explorer showed one of their servers in the folder list the normal way: ⊞ servername but another server showed up "where the server name is parentheses and the node name is in front." ⊞ nodename (servername) "Where is Explorer getting that information, and why are the two servers showing up in di...

Tips/Support
Jul 24, 2013
Post comments count0
Post likes count0

Windows 7 no longer tries to guess application size and other information

Raymond Chen
Raymond Chen

Back in the old days, if an application did not provide information like its Estimated Size or Install Date, then the Add/Remove Programs control panel tried to guess the values by searching your hard drives for files and directories that bore a superficial resemblance to the application. (Note that I use the word drives in the plural. It actually...

Tips/Support
May 28, 2013
Post comments count0
Post likes count0

Why don’t hotkeys for items on my Start menu work when I am in a fullscreen application?

Raymond Chen
Raymond Chen

You can set a hotkey on the shortcuts in your Start menu, and Explorer will launch that shortcut when you press the hotkey, but not if you are in a fullscreen application, like when you set Paint into fullscreen mode, or when you are displaying a PowerPoint presentation. Why are shortcut hotkeys ignored when a fullscreen application is running? T...

Tips/Support
May 22, 2013
Post comments count0
Post likes count0

How do I get a window back on the screen when it moved far, far away? Windows 7 (and 8) edition

Raymond Chen
Raymond Chen

Some time ago, I showed how to get a window back on the screen when it moved far, far away. That technique still works in Windows 7 and 8, but there's an easier shortcut that takes advantage of window arrangement features added in Windows 7. First, you switch to the application by whatever means. Then hit Win+UpArrow to maximize t...

Tips/Support
Mar 27, 2013
Post comments count0
Post likes count4

“Adjust visual effects for best performance” should really be called “Adjust visual effects for crappiest appearance”

Raymond Chen
Raymond Chen

In the Performance Options control panel, on the tab labeled Visual Effects, there is a radio button called Adjust for best performance. If you select it, then all the visual effects are disabled. But the name of that radio button has been wrong for a long time. It doesn't actually adjust your visual effects for best performance. It just adjusts ...

Tips/Support
Mar 12, 2013
Post comments count0
Post likes count0

How do I hide Public Libraries on all computers in my organization?

Raymond Chen
Raymond Chen

A customer wanted to know how to hide the libraries named Public (Documents), Public Pictures, and Public Videos on all computers in their organization. It turns out that this is already documented in TechNet under the topic Administrative How-to Guides (I found this page by issuing a Web search for ⟨library-ms⟩.) The customer is sp...

Tips/Support