Archive for the 'Programs' Category

Windows lacks the linux ’shutdown’ command, so it is a pain to get it to schedule a reboot in the future. Linux’s shutdown command make this easy, just issue the command ’shutdown -r +60′ for example to reboot an hour in the future.

No such luck in Windows, you need to download a separate program to do this. It is a sysinternals program, you might remember sysinternals from such utilies like FileMon and ProcessMonitor.

The program we use for this is called PsTools and more specifically the file psshutdown.exe.

[Download PsTools here]

Place psshutdown.exe into a directory for future use, for this example we will use c:\tools\.

Then open a command prompt and type the following command:

at 2:00am c:\tools\psshutdown.exe -r -f -c -t 10 /accepteula

This will result in:

Added a new job with ID = 1

You can verify this task has been added by looking at the Scheduled Tasks - the job name will be At1 if you haven’t scheduled any other tasks via the command line.

If all goes will, Windows will reboot at 2:00am, or your specified time.

For some reason, Firefox started to display a blinking cursor, like web pages I have been viewing were editable. Thinking that some errant plugin was causing this behavior, I manically disabled a few I had recently installed. However that didn’t fix the problem.

Good ole Google to the rescue.

Firefox has a ‘feature’ that lets you select text with more visual feedback. I guess the little one must have been hitting keys and turned this on.

Turning it off is easy! Press F7 to turn off caret browsing.

Alternatively, type “about:config” in the URL area, then filter for “caret“. Change accessibility.browsewithcaret to “false”.

I have a new post up on Makeuseof, regarding Firefox Addons for Privacy and Security. Maybe you won’t use all of them but even installing some of them (NoScript in particular) can really lower your chances of getting hit with a javascript exploit.

A Typical Cell Phone BatteryIf you are like me, as soon as you start using Instant Messaging (Octrotalk, Windows Live Messenger, IM+, Palringo) on your Windows Mobile Device - your battery life goes out the window. I’m talking, 12 hrs max. That is not a good thing for a mobile device where you need it to last at least a full day, if not multiple days.

The problem is that IM networks need to remain connected - a ‘heartbeat’ signal is sent over the network to ensure the client is still online, and so that if you receive any instant messages they are delivered to you, well, instantly.

The reason text messages do not eat up battery life is because the cell phone network does not require your phone to have a heartbeat data connection to the cellular network - if a text message is sent to you, your phone picks it up when it communicates with the cell phone towers over the “control connection” - which all cell phones use to keep track of which cellular tower it is in range of (for more information on how SMS text messages work, see Howstuffworks).

Apparently this problem is due to IPv4 and how most devices use Network Address Translation to route traffic to your phone. This is where your phone has a private IP and keeps a connection open with a main server, using a keep alive signal, to maintain connectivity. According to this talk from Nokia, IPv6 solves this problem since there are enough IP addresses to assign each device a unique one. No longer will they need to juggle this IP, meaning that there is a substantial savings in battery time.

It can’t come a moment too soon. This has really made me look forward to the coming IPv6 transition. Even though IPv6 is a few years away, services are slowly coming online and eventually a ‘critial mass’ will propel adoption of the new protocol across all installation.

Clients using Symantec Antivirus Corporate Edition requires a password while uninstalling the client. The default password out of the box is symantec. If you have changed this password within the Symantec System Center - then you need to use that password. If you have changed the uninstall password and you no longer have access to this password - well then shame on you. Fortunately there is a workaround:

1) Open Regedit

2) Browse to HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\ VirusProtect6\CurrentVersion\Administrator Only\Security\

3) Change the value for this key from 1 to 0

useVPuninstallpassword

4) Close the registry and retry the uninstall

[From Experts Exchange]

For those of you, or those of you with clients, who have MSDOS based programs like Wordperfect and you want to print to a networked printer, this is all you need. This also works for other printers who use USB ports or something other than LPT.

The solution was to map the share to an LPT port using [I]net use[/I]. For example:

[I]net use lpt1 \\printserver\sharename /persistent:yes[/I]

If the USB printer is on your local machine, you can share it and then map this same printer locally to an LPT port.

From Microsoft KB314499

Downloading a CAB file to install onto your Windows Mobile device can be a pain - after downloading the cab file to your desktop, you need to first copy it to your device, then find the cab file to install and then proceed to install it.

CABviaActiveSync is a simple, free program that adds a context menu to automatically parse the cab file on your desktop and install it via activesync. This can save you a bunch of steps and is incredibly handy if you are like me and are always installing/uninstalling programs to check out.

Download CABviaActiveSync from Modaco.

Jan 02

Skype Me

No comment - Post a comment

I’m trying to get more people to contact me via Skype rather than cell phone - so feel free to use the ‘Skype Me’ button on the right; or Add me to your contact list.

By the way, Skype, why won’t you get Caller ID working for US based phone numbers? This is the only thing stopping me, and I am sure a lot of people, from adopting Skype full on. Many people block Unknown numbers, or won’t answer if they see 0012345678 calling them!

On that topic… Skype Journal is a really great blog with regards to Skype and VOIP in general. If you are interested in VOIP, I would check it out!

Let’s say you use a piece of software which is horribly designed (or maybe you just don’t know how to use it properly) and you need to click a button thousands of times.

See specifics below if your are curious of my particular predicament!

Instead of clicking your mouse button like a crazy person - you can automate this task using software such as AutoHotKey. Using this software, it allows you to create a keyboard shortcut that lets you do a number of things without human intervention. This is handy for just about any sort of automated tasks where you find yourself clicking alot.

These instructions are for getting your mouse to click at a particular point on your screen a number of times.

Install AutoHotKey

First step of course is to install AutoHotKey.

Figure out where you need to click

Launch the included program AutoIt3 Window Spy. This will start reporting a bunch of information to you including Window Title and Class, Mouse Position, and other information that is useful if you are creating a more complicated AutoHotKey script.

Point the mouse to the Window where you want to click a bunch of times, at the place you wish to click. Make sure the window is active - this is important as we want to be specific as to where we click. Write down the coordinate for the “In Active Window”.

Create the Script

When you first run AutoHotKey (AHK from now on) it will ask you if you want to create a sample script in My Documents. Go ahead and do this.

At the bottom of this screen, add the following line:

!g::Click x,y,n

Where x = X coordinate, y = Y coordinate, and n = the number of times you want to click. For example in my use I used !g::Click 334,333,3000 which clicks in the active window at 334,333 exactly 3000 times.

!g means that the key combination will be Alt-G

Save this file and then Run AHK again. This will load it into memory.

Activate the window you wish to click in - then press Alt-G (at the same time)

Clicks away….

Your PC will click however many times in the active window at the specified location. Now your mouse will not wear down from the clicking and your time will also be saved!

Warning: Rant: This is why I needed to do this. The ever-fabulous Adobe Photoshop Elements does not have a great system to change your disk file structure. So when I wanted to change my photos directory from having lots of directories like 2006-01-23-10234323 into subdirectories like 2006/2006-01-23-10234323, it does not provide an easy way to do this. I wish it had advanced folder management like the MP3 Library Manager Media Monkey does - it allows you to rebuild your folders based on date, album, title, and just about every other piece of data imaginable. So when I did this manually and then wanted to “Reconnect” my photos to the correct location on the disk - Photoshop Elements has a horrible reconnect dialog that makes you click “Reconnect” on every picture you want to reconnect. I couldn’t find a way around this.

Adobe take note - you need to add 3D acceleration to your software. I’ve just checked out Pictomio and it really has a kick-ass GUI which utilizes your 3D accelerating video card to view and zoom photos. This provides a much better viewing experience than my current image library software, Adobe Photoshop Elements. Photoshop elements uses what I assume is a 2D rendering of photos - both zooming and scrolling through your photos is slugging even on my fairly new PC. Take a look at Pictomio:


It is a pretty screenshot but you need to actually use the software to appreciate how smooth the GUI functions. This reminds of me of Coverflow and Apple - purchase this technology and incorporate it into your product Adobe - or your image library software will be out of date in no time.

Photoshop Elements releases about 1 version per year, and I do not see any reason to upgrade every year. First of all, it is expensive compared to other image cataloging software; secondly the number of features that are added just don’t justify the expense every year. Usually the updates are small little features that I do not use.

On another note; I also came across PicaJet which is another image catalog and management system and it also uses 3D acceleration in it’s interface. If Adobe doesn’t come around soon I may switch my 30,000+ photo catalog over!

Download Pictomio!

  • Welcome to systemBash, a technology and system administration blog by David Drager. If you enjoy this sort of content, can can subscribe to the RSS using the link to the right.