Taskkill – Kill All Process’s Of A Certain Name
So you may have run something thats spawned a whole bunch of processes, iexplore.exe or cscript.exe , you need to kill them all and fast. Heres how
1 | taskkill /F /IM iexplore.exe |

So you may have run something thats spawned a whole bunch of processes, iexplore.exe or cscript.exe , you need to kill them all and fast. Heres how
1 | taskkill /F /IM iexplore.exe |

A whole bunch of very useful Windows commands
Read more
This common task scheduler message is cryptic, and means nothing without some digging, you can see below how we find the true answer to what it means, but the short answer is:
Account Is Locked Out
Why?
0n2147944309 = 0x80070775
Facility: 8007 = Win32 (it’s a “Win32″ status code)
Status: 0x775 = 0n1909
Q:\>net helpmsg 1909
The referenced account is currently locked out and may not be logged on to.
Occasionally you need to run a DATEDIFF or DATEADD against some dates that are in a reverse format, ie Day:Month:Year instead of Month:Day:Year, theres a simple way to set this in your query without having to string handle it all, using the SET DATEFORMAT parameter.
1 2 | SET DATEFORMAT dmy SELECT DATEDIFF(MINUTE,'29-01-2010 09:13:18','29-01-2010 09:18:18') |
For some reason now with Vista and Windows Server 2008 when ever you seem to create a scheduled task, but close it before saving it, you get a “Corrupt Image” error that will not go away unless you remove the “Corrupt Image” from the registry.
Heres how to fix it
Thats it, now re-open task scheduler and the error should be gone.
Current Version v1.3 – Download Now
Pinger! is a tiny ping utility (13KB) that is used to quickly ping a large list of hosts and save the resulting successful and failure host lists into a text file.
When developing scripts and applications that will touch a large number of hosts, if many of those hosts are offline or no longer exist, the timeouts involved with this can slow down execution time and dramatically slow down your script or application.
In my case, I was presented with a list of 600+ servers that needed to have the exact same script run against them, a successful server took only several milliseconds to finish, a failed host took around 4 seconds to time out, clearly I needed to find out which servers were alive and which weren’t and further again I needed to list the successful servers in a clean text file, 1 host per line, so I could import this into my application as an array.
And hence Pinger! was born
Very simple, Pinger.exe when run looks for hosts.txt in the same directory. Simply enter in your list of host names in this text file, one per line and Pinger! will run over them 1 by 1 and output the results.
Simply extract the .zip containing Pinger.exe and hosts.txt to the same directory and open Pinger.exe.
2 files are outputted. these are:
Recently iv switched a lot of my web apps from an IIS6 to an IIS7 server although this came with a few headaches, one of which was that now, I was unable to debug my code from the browser on my remote machine, instead just seeing an “Error Code 500 – Internal Server Error” message, which is basically useless.
Iv found the solution, although it involves a few steps, heres how.
Maybe its just me, but having to switch between Internet Explorer and Firefox to access Internal and External sites is a hassle. Particularly the SharePoint based sites on Firefox.
So iv found a solution .. If you want to use FireFox for all sites heres what I did to get it working.
In FireFox
Enable auto NTLM authentication for the internal sites that require domain accounts.
When you visit these sites now, you will be authentication in the same way you are with Internet Explorer without being prompted to login. This is absorbed from your domain account.
If your IIS Web Service Extensions list is not showing your correct version of ASP.NET, ie It may only show version 1.1.3822 where as your using version 2 in your application, click start > run and then enter this command , replacing the .NET Framework version with your desired version.
1 | C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -I |
I discovered this very annoying bug in Windows Server 2008 when attempting to import an XML file with 100 servers
and counters in it.
No doubt one of the server had an issue and therefore and for some stupid reason, perfmon or Reliability And Performance Monitor, as its called now in 2008 is unable to handle this , and completely falls over.
Now, when you open Perfmon and try to view the User Defined Data Collector Sets, or run logman.exe from the command line, the application completely freezes and your unable to delete the corrupt dataset you just imported or even click elsewhere in the window.
In 2003, a reboot would fix this problem, but in 2008 it does not. The solution lies in the registry. Here’s how to fix the problem.