Why Internet Explorer does not use these two for showing shortcuts:
- CSIDL_COMMON_FAVORITES
- %ALLUSERSPROFILE%\Microsoft\Internet Explorer\Quick Launch
–jeroen
Posted by jpluimers on 2013/03/25
Why Internet Explorer does not use these two for showing shortcuts:
–jeroen
Posted in Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2013/03/18
Thanks to Joe Klemencic, TSListUsers is a great little console tool that shows you the currently logged on users and which session they use:
List Terminal Services Users
TSListUsers is a command line utility to list both the currently connected and disconnected users, hostname, IP address and RDP session number on either the local or a remote Windows Terminal Server/RDP Server
To list the users, you need to have the following abilities:
- NetBios access to the server
- Permissions allowing you to Query RDP session information (if you can log into the TS, you should have this by default)
- Terminal Services/RDP should be running on the target host
Usage:
TSListUsers.exe /? to get the Help text
TSListUsers.exe to query a target Terminal Server
TSListUsers.exe with no paramters to query the local hostYou can download TSListUsers from here.
Example output of remote session:
C:\Windows>TSListUsers.exe Active Connections: Username, HostName(IP), SessID, RDP-Port ---------------------------------------- jeroenp, W701UJPL (192.168.71.34), 2, RDP-Tcp#92 Disconnected Connections: Username, HostName, SessID --------------------------
Example output of local session:
C:\Windows>TSListUsers.exe Active Connections: Username, HostName(IP), SessID, RDP-Port ---------------------------------------- jeroenp, 1, Console Disconnected Connections: Username, HostName, SessID --------------------------
–jeroen
Posted in Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2013/03/15
First a warning: when you have found the process holding open a file, and you want to forcibly close the handle, read this post why you should not: Windows Confidential: Forcing Handles Closed.
In fact:
if you forcibly need to close a handle to salvage something, you should reboot shortly afterwards.
Back to the question at hand:
How do you find what process is holding a file open in Windows?
One thing that annoys me no end about Windows is the old “sharing violation” error. Often you can’t identify what’s holding it open. Usually it’s just an editor or explorer just pointing to a relevant directory but sometimes I’ve had to resort to rebooting my machine.
Any suggestions on how to find the culprit?
All of the below solutions require you to run with Administrative privileges.
On current Windows versions, if you run them without UAC elevation, they will miss a lot of processes. And still: under some secured environments you won’t see all processes anyway.
My preferred answer is not on the list:
All the tools that show you the handles will indicate which process holds the handle.
Often, you can just quit that process, do your job on the affected file, then relaunch that process.
When the process is Explorer, there is a neat little trick that works for Windows Vista and up:
For explorer, btw, hold ctrl-shift and right-click a blank area of the start menu, and you’ll get “Exit Explorer” – ps, not quite Jeff’s answer.. – Mark Sowul
Another answer I like is to use Handle, as it is both a command-line tool, and allows for wildcard searching: Read the rest of this entry »
Posted in Conference Topics, Conferences, Event, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2013/03/11
This one most people know of:
But these files also provide icons:
Various versions of Windows share the icon ID in those files, but have different visual content.
A tool like IconsExtract – Extract icon/cursor stored in EXE, DLL, OCX, CPL files can be used to view or extract those icons.
IconExtract works much better at finding the Index inside SHELL32.dll that is described at How Can I Change the Icon for an Existing Shortcut? – Hey, Scripting Guy! Blog – Site Home – TechNet Blogs.
Copyright issues might apply…
–jeroen
Posted in Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2013/03/08
Just in case I get another laptop that suffers from this:
–jeroen
Posted in Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows | Leave a Comment »
Posted by jpluimers on 2013/03/08
On Windows, when you have a HTTP Proxy Server and DropBox cannot poke through it, it pops up a window asking if you want to change the “Connection Settings”.
When you have a busy proxy that denies access when busy, but allows when not busy, the window disappears and DropBox continues.
So far so good you think?
Not! DropBox creates suspended process instances of itself when showing or removing the window.
And when DropBox exits, it doesn’t cleanup those suspended processes: you have to do that yourself.
They take up a couple of hundred kilobyte each.
You can use Taskkill. to clean them up like this:
C:\users\jeroenp>taskkill /F /IM Dropbox.exe
Which gave this result on my machine after about 15 minutes:
SUCCESS: The process "Dropbox.exe" with PID 22632 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 23680 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 21240 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 22312 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 22568 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 23116 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 23288 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 5328 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 16784 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 17248 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 15056 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 21508 has been terminated.
SUCCESS: The process "Dropbox.exe" with PID 16276 has been terminated.
I’ve seen this behaviour on Windows 7.
–jeroen
Posted in Power User, Windows, Windows 7 | Leave a Comment »
Posted by jpluimers on 2013/03/05
It starts to be not so funny any more: almost every week a new Java security update.
Time to update again, to stay secure and install the patch: Security Alert CVE-2013-1493.
On the funny side: Java 0day countdown.
–jeroen
Posted in *nix, Apple, Development, Java, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, Power User, Software Development, Windows, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: java security, new java, security alert, software, technology | 2 Comments »
Posted by jpluimers on 2013/02/25
Finally I found a good list of error codes that you might encounter when doing Windows/Microsoft Updates.
The page is for Windows XP SP3, but the error codes occur in many other update situations as well.
Error code that appears in the WindowsUpdate.log file Error Code description (as it may appear in the Svcpack.log file) Knowledge Base article that describes potential resolutions 0x8007F0F4 STATUS_PREREQUISITE_FAILED 949388 0x80246007 SUS_E_DM_NOTDOWNLOADED 949386 0x8007F003 STATUS_NOT_ENOUGH_SPACE 949385 0x80070005 ERROR_ACCESS_DENIED 949377 0x800706BE RPC_S_CALL_FAILED 950718 0x8007F02B STATUS_NOT_ENOUGH_WITH_UNINST 949375 0x87FF0004 Error_Too_Many_Open_Files 950718 0x8007054F Error_Internal_Error 949384 0x8007001F ERROR_GEN_FAILURE 950718 0x8007F070 STATUS_SETUP_ERROR 950718 0x8007F205 STR_UPDATE_ALREADY_RUNNING 949381 0x8007F004 STATUS_INSUFFICIENT_PRIVS 951244 0x80070001 ERROR_INVALID_FUNCTION 950718 0x80070002 ERROR_FILE_NOT_FOUND 950718 0x8007F0CC STATUS_KERNEL_NONSTD 327101 0x87FF054F n/a 950718 0x87FF36B7 n/a 950718
Oh and this didn’t solve my problem:
–jeroen
via:
Posted in Power User, Windows, Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2013/02/22
Locking down your Windows system even further than the standard restricted user: How to make a disallowed-by-default Software Restriction Policy.
–jeroen
Posted in Power User, Security, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | 1 Comment »