List drivers on Windows XP or Windows 7 from command line

List drivers from command line Drivers can be listed in various methods. WMI is one of those methods to list drivers. c:> wmic path win32_pnpentity where (name like ‘%sixnet%’) > pnp.txt The above line uses WMI’s win32_pnpentity and looks for name matching sixnet. The results are output to pnp.txt file. For details, check out http://msdn.microsoft.com/en-us/library/aa394084(v=vs.85).aspx

Find if .NET Framework 4.0 is installed – using command line

.NET Framework 4.0 From cmd.exe (command line) one can find the version(s) of .NET Framework installed on Windows 7. c:\> reg query “hklm\software\microsoft\net framework setup\ndp” To find if a particular version was installed, such as .NET Framework 4.0 Full, one could do c:\> reg query “hklm\software\microsoft\net framework setup\ndp\v4\Full” | findstr /i install Install REG_DWORD 0x1 […]

svnnotify commits for trunk only

SvnNotify commits Emails about commits in SVN can be sent using svnnotify. Our system was set to send emails whenever there was any change to our repository. Our repository consisted of tags, trunk and branches. To make that happen, here’s what our <svn-repo>/hooks/post-commit file looked like: REPOS=”$1″ REV=”$2″ HANDLER=”HTML::ColorDiff” TO=”[email protected],[email protected]” FROM=”[email protected]” REPLY=”[email protected]” /usr/bin/svnnotify -C -H […]

SQL Server does not start

SQL Server does not start On an experimental system, we attempted to create an issue. The issue is that SQL Server does not start. We stopped SQL Server and renamed model database’s data and log files. The result was this in error log file (C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\ERRORLOG). 2013-09-08 16:50:06.10 spid4s Starting up database ‘msdb’. […]

Disable caps, nums, scroll lock notification on HP laptops by disabling HP Hotkey Support

Disabling HP Hotkey Support This article describes a method to help with disabling HP Hotkey Support. It also disables notification when disabling caps/num/scroll lock. I have an HP EliteBook with various HP software pre-installed. Activating CAPS, NUM, SCROLL lock etc. produces on screen display (OSD) indicating CAPS off or CAPS on etc. When the indicator […]

Silverlight 1622 “The installation log file could not be written. Verify that the Temp folder exists and that you can write to it.”

Silverlight 1622 error Silverlight installation is rather straightforward but at times one may receive a Silverlight 1622 error indicating: The installation log file could not be written. Verify that the Temp folder exists and that you can write to it. The first thing I recommend checking is the path to %TEMP%. Then, assuming Windows 7 […]