Rebooting a Windows XP Computer Using Remote Desktop Protocol (RDP)

By Kuristosu Dei
We are frequently involved in projects with small and medium sized organisations. Due to the size of these organisations often the network infrastructure available is limited as a result of smaller budgets than their larger competitors. One side effect of this reduced budget is that our clients sometimes need hardware and software to function in ways it is not exactly designed for.

One example of this is often not being able to afford the licence fee for Windows Server and instead to use Windows XP Professional or even Windows XP Home to run a central file, print or database server. Clearly this approach would not work for a Microsoft Active Directory Domain Controller but can be used for many other types of server and there are times where there is no other option.

There are two usability downsides to be aware of for remote administration when taking the decision to use Microsoft Windows XP instead of Windows Server.

The first is that Windows XP Professional when accessed through Remote Desktop Protocol (RDP) connections does not display a log off button or a reset option on the shutdown - the only option is to shut down the server which is not ideal and will mean that it won't restart afterwards; this can be solved.

The simplest way to overcome the problem is to create a batch file to restart the server, to do this:

1. Open Notepad (or another text editor)

2. Type: shutdown -r -t 5

3. Save the file somewhere sensible (such as the desktop) with a name such as restart.bat, the important thing is it ends with the extension of .bat

To run the file just double click it, the switches in the shutdown command are:

-r = restart (instead of shutdown)
-t 5 = the amount of time to wait before restarting in seconds - in this case 5 secs.

The second issue is that terminal services functionality available to facilitate remote administration through tools such as RDP is only sufficient to allow one user to log on at a time. This can cause problems if you use it as a development server for example, but as a file store it is unlikely you want more than one or two administrators - with a small number they can manage the situation by phone calls.

Techita would advise wherever possible to use the version of operating system designed for the role you intend the server to perform, however when this is just not possible this tip may make the management that little bit simpler.

Dave Hodgson is a technical consultant by career and a website designer for fun. He has spent time working for large systems integrators, small consultancy firms and on individual freelance projects. The articles written by Dave are in the nature of tricks and tips he has learned through his career and interactions with clients.







 

Why Is My Computer Running Slow?

By Kuristosu Dei

Computer slowness can be caused by a variety of issues, which can be categorized in 2 categories: hardware or software. Computer hardware are the physical parts of the computer system, for example motherboard, CPU, RAM, etc. Computer software are all the programs and applications that are installed on your PC. Software includes the operating system like Microsoft Windows XP or Vista and all of the applications such as Microsoft Office, Photoshop, etc. Viruses, spyware and malware are software as well.

Things to check:

* Startup programs
* Virus and spyware scan
* Hard Drive out of space
* Fragmented hard drive
* Bad sector or corrupted files
* Overheating due to dust

Most common reason for computer slowness is unnecessary applications running in the background. When new programs & applications are installed many times they will be configured to start automatically when your computer starts.

These applications are not always needed, and will take up a portion of your computer's memory (RAM) which in turn will slow your computer down. To check what applications start automatically, clicks on the start button, then click on run, then type 'msconfig' and click on OK. Once the Systems Configuration Utility is open, click on the Startup tab. On the startup tab you can select the programs that you want to start.

Unselecting any of the programs in the startup tab will not remove them from your computer; it will merely keep them from starting automatically every time you turn your PC on. I recommend unselecting all the applications that you don't need. If you see software that you don't recognize it could be indication of virus of spyware.

If your computer is running slow and you're getting a lot of pop-up windows, even when you're not using the computer, your computer is most likely infected with a virus and/or spyware. Everybody should have antivirus software installed, updated and running at all times. There are many antivirus software packages, the best one on my opinion is Nod32 from ESET.

Regardless of antivirus software that you use, you should always keep it updated, and regularly scan your system for viruses. Most antivirus software don't check for spyware, so if your computer is infected by spyware, you should download a specialized spyware removal software. There are 2 programs that I use myself all the time, Spybot and Adaware they are absolutely free to use. Once you download and install these programs, make sure to run the updates and scan your entire computer.

Make sure your hard drive is not out of space. If it is, it's a good idea to get an upgrade, or delete some programs and files. Delete all of the temp files, temporary internet files and cookies, you could do it manually or use another free program called "ccleaner".

When files are stored on your computer's hard drive they are not always stored in the most efficient way and can become fragmented. Fragmented files take a lot longer for your system to open or save. To start the defragmentation utility click on Start then programs -> accessories -> system tools -> disc defragmenter. Defragment all of the drives listed. The defragmentation process can take anywhere from about 5 minutes to a couple of hours, and sometimes needs to be repeated. I recommend defragmenting the computer hard drive about once a month.

Another cause of computer slowness could be a corrupted system file or a bad sector on the hard drive. Bad sectors can corrupt systems files which can slow down your PC or even keep it from running.

To check and correct bad sectors run the scan disk (chkdsk) utility.

Make sure the computer is not overheating or running very warm. Most computer allow air to flow through the computer, this is great for cooling but also causes a lot of dust to accumulate inside of computer case. Dust will cause poor air circulation and might overheat your PC. Open up the case of the PC and blow all dust out using compressed air.