12.11.2013 Views

Tweaking Optimizing Windows.pdf - GEGeek

Tweaking Optimizing Windows.pdf - GEGeek

Tweaking Optimizing Windows.pdf - GEGeek

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

By the use of this client software, every time your computer is online, you can access your computer by typing<br />

"yourdomain.d2g.com" or whatever other domain you specify at DNSDNS. This is much easier than typing in a numerical IP<br />

address, especially if if changes every time you connect to your service. DynDNS will email you a special key that will unlock the<br />

DynDNS client. You can enter in different kinds of information to keep your connection alive if need by, as well as where to direct<br />

the user if the client if offline.<br />

The second way is free, depending on how you do it. The first step is getting your own REAL Domain name. www.register.com is a<br />

good place to get a .com, .net, or .org domain name for a small fee every year. Most places on the internet charge £18 per year for<br />

a .com, .net, and .org domain name. Using this process, you can have your own domain to the tune of www.yourname.com,<br />

ftp.yourname.com, and anythingyouwant.yourname.com. There are many places that will sell you a domain name but be careful<br />

there are a lot of companys that tie you in and a lot of small ones have gone bust.<br />

When you buy a domain name, that's only half the ordeal. You have to tell DNS Servers out on the internet what IP is equal to that<br />

domain name. DynDNS will do this automatically via the use of their client for a small fee. I urge you to check their site out if you<br />

haven't already.<br />

www.granitecanyon.com is a Public DNS Server. They have three domain servers that will tell other DNS servers what IP is equal to<br />

your domain name. Using this method, you must have a Static IP which costs extra from your ISP...usually, a lot extra. Because<br />

it's so expensive to have a static IP, I will not go in depth on how to use granitecanyon.com, because I feel their site covers itself<br />

very well.<br />

86. Use SFC (system File Checker)<br />

SFC.EXE is a valuable tool to check your system files. <strong>Windows</strong> ME, 2K and XP will check and restore critical system files<br />

automatically. Since the bulk of people are still using <strong>Windows</strong> 9x, we need to fix Microsoft's problems ourselves. Unfortunately,<br />

<strong>Windows</strong> doesn't integrate it into your user-shell, thus it must be run from the command line.<br />

Select Start > Run, type: "SFC", Click OK.<br />

SFC will check your system files for their correct versions and will give you a logfile. Its best to run SFC before you put anything<br />

onto your system as you can check for changes in the since it was last updated.<br />

87. Run programs at shutdown<br />

With windows XP you have the option to run programs a shutdown but how do you do it in the other MS systems ?<br />

All you need here is Notepad - to create a batch file. Batch files are simply plain-text files,launch Notepad and begin.<br />

For example, suppose we want to run <strong>Windows</strong> Scandisk on all drives without notification (unless errors are found) and then<br />

shutdown the system. Since we'd need to wait for Scandisk to complete before we shutdown, we need the START /W command to<br />

launch Scandisk. The final command will be the shutdown command itself. Since we don't need to wait for the shutdown to<br />

complete, START (without the /W switch) will be used. The batch file to do all this would be:<br />

You will see the number 1 at the end of the above lines - you can change the number and the numbers mean:-<br />

0 Logoff<br />

1 Shutdown<br />

2 Reboot<br />

4 Force<br />

8 Poweroff<br />

@ECHO OFF<br />

START /W C:\WINDOWS\SCANDSKW.EXE /A /N<br />

START C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\shell32.dll,SHExit<strong>Windows</strong>Ex 1<br />

or simpler shorter version:-<br />

@ECHO OFF<br />

START /W SCANDSKW /A /N<br />

START RUNDLL32 shell32,SHExit<strong>Windows</strong>Ex 1<br />

Save the batch file with a meaningful name such as shutdown.bat and stick it on your desktop or some convenient location. Note<br />

that all batch files must have the .BAT extension in order to execute. Double-click the shortcut when you're ready to shut down.<br />

When the scandisk process completes, <strong>Windows</strong> will shut down. Perfect. Just change scandisk to whatever you want to run on<br />

shutdown. You can run as many or as few as you like, but the final command should always be the shutdown command itself -<br />

without the /W switch.<br />

Probably the hardest bit is to work out which switches or parameters the program requires in order to fulfil the function you require.<br />

Check the documentation for the program you want to run to ensure your command line arguments (switches and parameters) are<br />

correctly set. Note that programs residing in the C:\Program Files folder (or any folder using long-filenames) should be quoted in<br />

full. e.g. if the program were C:\Program Files\Long Filename.exe, we'd use:<br />

@ECHO OFF<br />

START /W "C:\Program Files\Long Filename.exe"<br />

START C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\shell32.dll,SHExit<strong>Windows</strong>Ex 1<br />

CHAPTER [2]<br />

OPTIMIZING WINDOWS MILLENNIUM TIPS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!