Monthly Archives: July 2012

Backing Up and Restoring PuTTY Sessions and PuTTY Session Management

It’s easy to backup and restore PuTTY sessions with a few commands: On the old computer: regedit /ea puttysession.reg HKEY_CURRENT_USERSoftwareSimonTathamPuTTY On the new computer: regedit /s puttysession.reg I have used this method for ages now and it’s not the most efficient for what I do.  I like to keep PuTTY on a thumbdrive while I’m moving around throughout the day. I examined a few alternatives for saving PuTTY sessions to harddisk: portaPuTTY portaPuTTY is a hacked version of PuTTY Continue reading →

Add Local Admin Account using Batch Script

Quick & dirty method to add a local administrator account on a Windows system using a batch file and hiding the login from the login screen in XP… @echo off : Add local administrator : Revised January 22, 2010, RJK : : Further information: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_user.mspx?mfr=true : And: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_user.mspx?mfr=true : And: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_user.mspx?mfr=true net Continue reading →

Batch Script to List Startup Services, Unusual Running Applications and other stuff…

This is useful for me from time to time. Here's a screenshot. Code is below.   @echo off color 1f cls : Possible processes that shouldn't be running... echo. echo -----[ Unusual Running Applications ]----- echo. : Temp files echo ===== Temp echo. for /F tokens=1,2* delims== %%A IN ('wmic path win32_process where executablepath like '%%temp%%' get executablepath /format:list 2^>NUL ^|FIND =') do echo FOUND: %%B echo. echo ===== AppData echo. for /F tokens=1,2* delims== %%A IN ('wmic path win32_process Continue reading →

Batch Rename Images and Other Files in Windows – Easily!

Wow, I'm ignorant. I discovered that I have been missing out on a great trick I learned the other night when trying to manually rename hundreds of photos. A Google search showed me the errors of my ways… You can easily batch rename files in Windows explorer. In this example, there are a handful of images named Test Shots 001 and so on. I want to rename them to "My Test Shots" and automatically number them.   Select all the images and right click on the first image listed and choose "Rename"   Give Continue reading →