Nifty Windows Tips

Rory Buszka

Partition Master
Hi, guys. This thread is for sharing your favorite nifty Windows tips that can improve your user experience. Anyone can share their favorite Windows tips. Tips with screenshots included get extra Niftiness Points (NP).

Nifty Windows Tip #1: Automate the chores

The debate over whether it is best to leave one's computer on 24/7 or shut it off when it's not being used continues to rage on, and the primary argument in favor of leaving the machine on constantly has been the fact that it places less thermal-cycling stress on circuitry and less mechanical stress on things like hard drive motors. However, there's another reason to leave your computer on 24/7 that most might not think about. Even though you need to sleep from time to time, you can still make use of those precious hours of machine time to take care of the mundane drudge-work tasks that help keep your machine operating at its best. Chief among these are scanning for viruses, malware, and adware, and defragmenting your hard drive.

1) Scanning for Viruses

Most virus checking programs offer built-in provisions for scheduling a scan of your entire system for viruses. I recommend doing this once a week if you also use on-access scanning, though a scheduled virus scan every 24 hours could conceivably replace on-access scanning, which is a resource hog, making your system more responsive in normal use. The downside to this is that your virus checker won't catch a new virus until that evening, after it may have had a chance to do some damage. It's still a good idea to leave automatic email-scanning and downloaded file scanning measures in place, as well as adware-blocking measures.

2) Defragmenting your Hard Drive

As your hard drive begins to fill up, your hard drive may not be able to store entire large files in contiguous blocks on your drive's surface, so it breaks them up into fragments, storing a bit here and a piece there, and keeping track of where all the pieces are. The more pieces a file is broken into, the more legwork your hard drive must do to access the data again. The defragmenting process used to be a time-consuming chore that was recommended to be performed every month or so. If the data on your hard drive changed, the defragmentation process would need to start again. While you can't automate this process in Windows' Defrag utility, you can use the MS-DOS command line to make calls to this program.

Getting these command-line calls into the Scheduled Tasks folder is a bit tricky, though. You must first create a *.lnk file to store the command line call which calls this program. Create a new Shortcut file, and open its Properties dialog. In the field labeled Target, enter "defrag c:". Now, whenever you open this shortcut file, the command line window will open, and the defrag task will begin to run. More importantly, however, you can call this shortcut file from within a scheduled task.

All that's left is to create a scheduled task to call the shortcut file you've just created, and schedule it for a time when you aren't likely to be doing anything on your computer during the time it will take for the defragmentation process to complete.

3) Anything Else You Can Do Via Command-Line
Using the technique above, you can run any program that can interpret command line arguments and switches. Now, if only I could cause Windows Media Player to search for media files at a specific time using this technique... if anyone knows a way to do this one, please let me know

Post Script: I don't know if any of these will work in Windows Vista. So don't come tar and feather me if they don't.
 
Last edited:

Rob Williams

Editor-in-Chief
Staff member
Moderator
Quick Shutdown/Restarts

If you are someone who enjoys shutting down or restarting their computer often, you could create a new shortcut on the desktop to make the process quicker. To do so, create a shortcut and use this as the code:
shutdown -r -t 0
shutdown -s -t 0

Setting up your PC as a music alarm clock.

I don't have an alarm clock, so I do things this way. I user foobar2000 under Windows, and then set the preferences to "Resume playback after restart". In the Task Scheduler, I create a new task set for whatever time I need to wake up. Before I go to bed, I open up foobar2000 and start playing a song, then close it. The next time it's opened, it will start playing automatically. Sometimes I test this once just to make sure it does indeed work.

One thing to note though, is to properly use tasks, you -need- to set a user account password. If you don't, the task will cease to function.

http://www.foobar2000.org/

Stop letting resolution changes move your desktop icons.

One of the biggest annoyances with certain games is that they will change your resolution which will in affect move around your large collection of desktop icons. Chances are good that you have them laid out in a certain way that makes them easily accessible.

Restore desktop is a program that will "snapshot" the current layout of the icons, and then if they happen to get all mixed up on you, you just right-click the desktop and tell the program to restore the desktop. Simple.

http://www.softwarium.com/rdwin.html
 

madstork91

The One, The Only...
If you dont like foobar (and i dont)

there is a plug in for winamp that can be found as a plugin on their main site. I'll get to linking it... maybe.
 
Top