Solutions To PC Problems
This blog helps you solve many of your computer problems. If you do not see your PC problem discussed, please see the item "How to Post my PC problem in this blog?" Please vote or leave a comment if you have any questions on any blog item.
Upon first check I found WinRM is set to manual and not running ta start up and is not set to work for HTTPS connections
run the command on windows 7.x or later host
winrm qc --transport:https
This will find if the service is auto start mode
Offer you to turn auto start
Also open an expection on firewall
Dell PowerEdge R710 no VGA display but iDRAC works fine
iDRAC virtual console failed with Connection failed issues
In many situations, you may not have control on the DNS server to add address record and you may need to make the FQDN work instead of IP address. In Windows, you just update the host file. Here is how you update in Linux/Ubuntu.
>sudo -i
Enter the password
# vi /etc/hosts
Add the following replacing the values you need
Save the file
restart network service
#/etc/init.d/networking restart
At this point, you should be able to ping the IP address with FQDN you configured. This only applies to the machine where you changed the hosts file.
Fix:
sudo apt install libsigc++-2.0-0v5
sudo ln -s /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1400.0 /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.1400.0 /usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0
Courtesy: https://www.werts.nl/vmware-view-horizon-client-for-linux-on-ubuntu-18-04-failed/
root@siva-OptiPlex-780:~# vmware-installer --uninstall-product vmware-view
vmware-view is not an installed product.
Available products are:
vmware-horizon-client
root@siva-OptiPlex-780:~# vmware-installer --uninstall-product vmware-horizon-client
All installation information is about to be removed. Do you wish to
keep your installation configuration file? [yes]: n
Uninstalling VMware Installer
Deconfiguring...
[######################################################################] 100%
Uninstallation was successful.
root login is not working in Ubuntu
BSOD on XP Reinstall
Digital Library of India Books download script
Introduction - Digital Library - Online Books - Part1
How to download books from it - Digital Library - Online Books - Part2
How to convert them to PDF: Digital Library - Online Books - Part3
Save the following script (copy and paste) into a text file. Rename text file to .vbs file. Once you do that it may prompt a warning, do not worry, select Yes to change the file extension. Either if you do not see the warning or the file icon do not change, you may have to make sure to turn off "Hide extensions of known files" in Windows Explorer.
- Open Windows Explorer
- You may not see the menu if you ar using Windows 7 by default. Just press ALT+T then you will see the menu
- Go to "Folder Options"
- You will see "General" Tab. Click on the next Yab, that is "View" and uncheck "Hide extensions for known file types" and them click OK.
- Then you should be able to rename the file as filename.vbs instead of filename.vbs.txt.
'Script Starts here.
'Change History:
'Skip the pages already downloaded - 29 Nov 2012
'Download previous book if not downloaded all pages-08 Dec 2012.
Set ObjFSO = CreateObject("Scripting.FileSystemObject")
Set oXMLHTTP = CreateObject("MSXML2.XMLHTTP.3.0")
J=1
Set ObjBookList = ObjFSO.OpenTextFile("BookList.txt",1)
i=0
Do until ObjBookList.AtEndofStream
eachLine = ObjBookList.ReadLine
Loop
ObjBookList.Close
LastLineArr = Split(eachline,",")
BookTitle = LastLineArr(0)
LastPageNumber = LastLineArr(1)
FirstPageLink = LastLineArr(2)
checkWithUser = Msgbox("Check if the follwing details are correct." & vbtab & vbcrlf & vbcrlf & _
"Book Title:" & vbtab & BookTitle & vbCrLf & _
"Last Page Number:" & vbtab & LastPageNumber & vbCrLf & _
"First Page URL/Link:" & vbtab & FirstPageLink & vbcrlf & vbcrlf & _
"Do you want to continue?" & vbCrLf & "If any of the details are not correct, download as a new book.",vbYesNo,"Check the details")
If checkWithUser<>6 then
Msgbox "You selected not to continue, exiting the script!!",vbcritical,"Exit Book Download"
Wscript.Quit
End If
Else
BookTitle = Replace(InputBox("Please enter the title of the book.","Book Title to download","Mitra Labham")," ","_")
LastPageNumber = Cint(Inputbox("Please enter the last page number.","Last Page","235"))
FirstPageLink = Inputbox("Enter the first page link","Enter Link","http://www.dli.gov.in/data/upload/0001/770/PTIFF/00000001.tif")
End if
WriteToLog("====================================================================================================")
ObjBookList.Close
If Len(J)=1 then J= "00" & J
GetThisPage = Normalized_Link & J & ".tif"
If ObjFSO.FileExists(BookTitle & "\" & BookTitle & "_" & J & ".tif") then
WriteToLog("Already downloaded in previous attempt - " & BookTitle & "\" & BookTitle & "_" & J & ".tif")
Else
Call GetWebPage(GetThisPage,BookTitle,J)
If ObjFSO.FileExists(BookTitle & "\" & BookTitle & "_" & J & ".tif") then
WriteToLog("Successfully downloaded - " & BookTitle & "\" & BookTitle & "_" & J & ".tif")
Else
WriteToLog("Downloading failed for - " & BookTitle & "\" & BookTitle & "_" & J & ".tif")
End if
End if
Next
WriteToLog("Completed downloading the book - " & BookTitle)
WriteToLog("This book is found in the location - " & ObjFSO.GetParentFolderName(WScript.ScriptFullName) & "\" & BookTitle)
'oXMLHTTP.Open "GET", "http://www.new.dli.ernet.in/data/upload/0002/001/PTIFF/00000" & pageNum & ".tif", False
'oXMLHTTP.Open "GET", "http://www.dli.gov.in/data_copy/upload/0070/506/PTIFF/00000" & pageNum & ".tif", False
If oXMLHTTP.Status = 200 Then
Set oStream = CreateObject("ADODB.Stream")
oStream.Open
oStream.Type = 1
oStream.Write oXMLHTTP.responseBody
oStream.SaveToFile BookTitle & "\" & BookTitle & "_" & pageNum & ".tif"
oStream.Close
Else
Msgbox "This web page is not found",vbCritical,"Invalid Link"
Wscript.Quit 101
End If
End Function
Function WriteToLog(str)
Set ObjOutPutLogFile = ObjFSO.OpenTextFile("BookDownloadLog.txt",8,true)
ObjOutPutLogFile.WriteLine Now & vbtab & str
ObjOutPutLogFile.Close
End Function
Rechargable Battery Story - You are using it everyday
When so called rechargable batteries are charged, most reversible chemical reaction takes place and a minute portion of irreversible chemical reaction also happens. If a battery is rechargable 1000 times, the lost efficiency is 1/1000 time and this happens during every cycle. That is how they will be become unusable after several months or few years or several cycles of charge/recharge.
Some people return the Cordless phone back to the base station after using it every time. Some others plug in the cell phone or the Digital camera or the MP3/iPod every night to top up to the maximum level and feel so happy to see all bars after full charge. This gives an impression that it keeps full charge and you can use it to get most talk time. This is completely wrong!
Here is why !!!!
As we discussed above, there is little loss every time you charge and discharge, this loss happens usually at the one side/end of the electrode. In a complete charge/re-charge cycle, this happens uniformly and the battery gives long life with less number of complete cycles instead of shorter number of too many cycles. So you should always let the charge happens to the full level and let it dry out to 80 or 90% of it instead of recharging it after using it for 10 or 20%.
So is it good to let it discharge/use completely and and then re-charge from 0% to 100%? This is also not correct. Some times deep discharge may kill the battery and and you may not be able to charge again. So it is always best to charge it while it still has 10-20% of charge. If you have 5 bars in your battery indicator, you should charge so soon as you see it is having the last bar.
@ X PM in the night you are thinking before you are to bed: Tomorrow I have a 2 hour conference call and I see my battery is showing half of its charge and it may not last for 2 hours, shall I charge or not?
It is OK to charge occassionally to skip a complete charge-recharge cycle and do a top-off as long as it do not become a habit.
Printer or Printer Cartridge buying FAQs....
Answer: No! Don't buy it. Bargain to see if you get a discount of the printer cost for the laptop.
Question: I see a deal for a cheap printer. I can't imagine I get a printer for so low price. Shall I buy it?
Answer: No! They make you buy those expensive cartridges so frequently which may be the double the cost of that printer in a month and every few months after that.
Question: I see an All-in-one for $1$$. Shall I buy it?
Answer: Probably yes. Why? See the explnation at the end of this article.
Question: I see refill kits for many printer cartridges. Are they good? May I buy?
Answer: Some are good and some don't work after you refill. So how would I know to buy the refill kit or not?
Question: I bought a printer an year back. I remember, it was printing well for several days after I bought it. Now it is not printing. what shoudl I do? Shall I refill the cartridge?
Answer: No! Toss that cartridge and buy a new cartridge. If the cartridge is expensive than the printer, toss the printer and buy a better printer.
Question: I do not print color in my printer to save refill costs. But I surprise to learn today that my printer do not print in color anymore. I hardly printed in color since I refilled it.
Answer: If you remember, when you loaded the cartridge for the first time, it came in an air tight container. probably you might also remember to remove a plastic tab from the cartridge before loading in the printer. Most cartridges do not last more than 4 months whether you use them or not. If your printer is a simple inkjet printer, the cartridge has a sponge in it, which keep in the ink holding. As the cartridge is not in air-tight condition anymore once you load it, water slowly evaporates and leaving the cartridge dried out after several months. This is the reason, we should keep using color also as required. This is not applicable if you empty a cartridge very frequently like every month or so.
Question: Which printer I should buy?
Solution: Before you buy the selected printer, see what cartridges it needs? How much they cost? If they are more than a few dollars a months, (ex: $3 or $4 a month) on an average, then don't buy them.
Question: Which printer should I buy? InkJet or Laser?
Answer: Do yo you it for home/school/personal needs? Buy an inkjet printer. Do you also do lot of College Project work or have Home Office? Then buy an Inkjet Printer and also a cheap Laser printer. Again, see how much that Laser cartridge costs you and is it available easily in the local stores, before you buy.
Answer: I suggest you to buy an All-in-one, though it is bulky. It comes with scanner, fax, copier, printer functionality. As you have all of them, you save place and their cartridges are relatively cheap and last for long time then simple inkjet printers.
Answer: Printing at home is not economical and you do not get Photo Lab printing results. So I don't suggest to Print a lot of pictures at home. Occasional printing is OK. Any printer can print with a reasonable print quality.
Laptop Battery may be completely dead if you do like this...
Can't click on Desktop Icons OR Can't run applications from Desktop Icons.
How to Post my PC problem in this blog?
Solution: Fortunately, many PC problems are common to many of us. So we do not need to re-invent the wheels. Check if your problem is already discussed in this blog. If so, just click that link to get the solution. If you have a question related to the same blog (question), click the current blog and post your question in the comments section.
If you do not see your PC problem is already discussed, just add your problems in this post by clicking comments link just below this line. When you blog a comment in this blog site I will get an automatic mail. I will try to answer as soon as possible.
Automating Defrag Task
How to defrag the drives?
How to setup Page File?
Clean up the system today!
Free Anti-Virus Software
Why Computers slow down?
Spyware Problems
Toshiba Laptop Heating/Sudden Shutdown Problems....
How can I get free Office Software?
Are there any free HTML Editors?
Talk to your family on the other side of the globe for free as long as you want.
Grand Central - Many Free Phone services......
Not able to open a specific website that was used to open in the past.
What is the best way to determine if a software has Adware/Spyware in that?
Adware, Spyware, now "Scare"ware!
Photoshop like free software
Cool Tools
Cool Tools
Recover Files 2: Some times we do a shift delete a file/folder and struggle a lot how to get it back? There are many utilities with limitations to recover, but this files recovery utility is fully functional with no limitations. Download
Gizmo Drive: Now a days many applications, games, movies, are available for download in the CD/DVD ISO format (.iso files). We often burn those ones to CD/DVD using the CD/DVD burning software we have, of feel left out if we do not have one. Many times it is difficult to handle the CD/DVDs with kids as all they care about playing not how to handle them. This software will let you mount CD/DVD ISO images as a drive in windows explorer and you can keep your CD/DVD in its orinigal jewel case for future need. Mirror link from Download.com. Do you have an immediate question how to convert your CDs/DVDs to ISO images? This also supports this and yet there is another tool. See WinImage utility in this section. - Free
WinImage: Winimage is used to make the ISO images of CD/DVD or VFD/IMZ of Floppies. Clikc the link What is WinImage to know more about it Dowload WinImage. - Free
Defrag Utility: There is a better and fast Defrag Utility that defrags the drives quickly than Windows Deffrag Utility. Download Auslogics Disk Defrag. - Free
HiJackThis - Tells what programs are running at a particular instance. Good to trace spyware www.trendsecure.com/portal/en-US/threat_analytics/hijackthis.php - Free
DVDFlick - Often we have many video files of different formats, but we like to watch them on TV instead of Computer screen. But most of the times we are out of luck as many formats are playable in most DVD Players. This software turns many video files into DVD Playable format. http://www.dvdflick.net/ - Free
Folder Size- We know how to see the file size in Explorer view. But we can not see the Folder size in the Explorer view like files. This tool helps to view Folder size. www.rotebetasoftware.net/wp/freeware/folder-size - Free
GParted - Windows OS do not allow to resize the partitions once the Drives are assigned. This Linux Utility can do that job. Use it carefully. A full bakcup is suggested before you use this Partition tool. http://gparted.sourceforge.net/ - Free
File Unlocker - helps in deleting locked files - www. ccollomb.free.fr/unlocker
DriverMax - This utility helps to take a back up of all hardware drivers present in your machine. You will never need to search for the software again. It also helps to find how latest your drivers are and what version is currently installed. Click the link to download. Click the link to see how it looks (screen shots). Click the link to go to home page of the vendor.
Photoshop like free software
Adware, Spyware, now "Scare"ware!
There are hell lot of utilities available on the Internet today for free. Many times we linger to download as these tools/utilities might contain spyware. So how to determine if they have any spyware or not?
Never get trapped into the pop-ups you get while browsing. These are usually adware, which might link you to unknown website. We can never tell if a a program is safe or not to download from uknown website. Follow these guidelines to safe gaurd from malicious sofware.
You can safely download the software from well known websites like Microsoft, Adode, Yahoo, etc. Make sure you type the website name correctly and you reached the correct website. Some websites "look like" genuine websites but they may be phishing websites. Often they live with the typo of the actual name.
Never respond to the ads you see in the browsing. Many of then lead to unhealthy websites.
Now-a-days many websites offer free information while they advertise (that is how they can offer free information for you, just like you have to watch a 2 Hrs movie for 4 Hours in TV with commercials). Often these ads are context sensitive, means the advertisement running engines senses subject of the information you ar searching for. Example, if you are looking for a phone, you might also se the advertisements related to service providers. If you want to click the link in an online article, differentiate between an advertisement in the same web page and the article content.
Refer computer magazines. They have already installed and tested the applications for you, so that you do not need to worry for suspecious content.
Look for "Tested spyware free" before you download the application. Example, Download.com does that as a tag line under the download link.
Not able to open a specific website that was used to open in the past.
Solution 1: Try cleaning up the Internet Cache, Cookies, Temporary Internet Files. See the following links. Link 1 Link2 Link3(Step by step video)
Solution 2: IE7 some times block the websites if they are in-appropriate. You may need to add to allo list, if it blocks (parental controls).
Sloution 3: Also check the security settings. Review what softwares are installed recently. Some of the websites host spyware/adware advertisements, which are caught by Anti-virus or Internet Security programs like Norton making the site unreachable. In those cases, you have add the site to the allow list.
Grand Central - Many Free Phone services......
Do you want a phone number that do not change for a life time?
What about being able to forward calls to any at phone number?
411-Telephone Directory service for free
You met a new friend. He/she asks, "Where can I call you?" What do you do? 123-234-3456 is my Work number, 234-345-3456 is my Cell number and 456-567-4567 is my Home number blah.blah..No more problems with multiple numbers. Live with one number and manage/program that number in the web console where ever you want to receive the call. Home, Work, Cell, or your friends number during your visit to his home? You bet!
You have a VOIP phone in India. It can only receive calls, but you can not make out going calls. You wish there could be some one who would conference every time you want to make a an outgoing call. But who can do and as many number of times you want and any time you want do that in this busy life style?
Are you outside US? Have too many friends in US? Paying big bucks for calling them using your International plans? Want to call them for free?
For all of the above and many more, Google's new service, http://www.grandcentral.com/ (Beta) is the answer. Explore yourself by clicking the link. As it is Beta, you can not just register and login yet! Click on "Reserve" (Save Number for me) button to get an invitation. Usually you will get it in a day in the email. Then register and enjoy the new world. Happy calling.
Infact, you can live with out any paid phone service! All you need is Internet and a Computer. You will never miss a call even if you are not there. Free Voice mail. Download message as MP3. Freedom to move any where in the world. Call US numbers for free from any where in the world.
- Install a soft phone like X-Lite (see link to download it and setup it up)
- Get a VOIP number from VOIP provider like http://www.voiptalk.org/
- Get a free incoming number from http://www.ipkall.com/ and
- Get a Grandcentral number that forwards/conferences you to the incoming number you got from ipkall.
- Share your grandcentral number with the world. If you change your mind to move from a softphone to any phone, still you do not need to tell the world that your number got changed.
- This solution really works. My parents in India have my city local number. So calling them or they calling me is not even a long distance call, it is just a local call.
Google offers free 411 yellow pages service (your phone company charges for the calls made to 411), but 1-800-GOOG-411 is free! See the You Tube video
* Where ever it is mentioned free in the above text, Internet charges are NOT included that you are already paying to your ISP.
Note: As it is still in beta, I suggest to wait giving that number to the world till it is not in production. But explore all the features mean while. I see small issues of not getting the call forwarded some times, but that is a rare situation. This is very useful service for personal usage and most of the times for business too in my opinion. Once it is live, it may be good for business too!
Talk to your family on the other side of the globe for free as long as you want.
Solution: Your prayers are answered! If you are new to VOIP, this solution really let you talk for free (excluding device cost, setup (if any) and Internet service charges). Are you thinking there is a monthly fee? No, absolutely there is no fee. Talk as long as you want. Click the link to learn how to setup a VOIP connection between 2 points. Also learn how to get an incoming number free so that you can call that number from any Landline or Cell Phone.
How can I get free Office Software?
Solution: If you are asking about Microsoft Office Softwware Suit, I can not share it illegally. But I can help you to get free open source Office Suite. These are some options.
Open Office has the entire suite.
Google Docs offers free office docuements - Spreadsheet, Document and Presentation
Toshiba Laptop Heating/Sudden Shutdown Problems....
Solution: Some of the Toshiba Laptops were shipped with Desktop Pentium Processors which operate at higher temperatures as processors meant for desktops run at little higher voltage. Heating is a common problem in such Toshiba Laptops.
Here is the link to remove the dust. Do it at your own risk. If you are not confident, do not do it. Send it to Toshiba Service Center or go to Bestbuy. Check you might have extended warranty. Get all the things before you start.
I see many friends keep the laptop on bare carpet, or even a sofa. From time to time, the processor cooling fans start spinning to cool down the processor. This is a bad practice, and may also ruin the Laptop if the heat sensors do not work. I suggest to keep the laptop on a flat dust free surface, like a wooden/glass table.
Spyware Problems
Solution:
In simple terms Ad ware is Advertisement Pop-up that every Netizen know about. On the other hand Spy ware intension is steel important information like Credit Card Information, Login ID and Passwords, personal, confidential or sensitive information from your computer.
Even though Ad ware and Spy ware are different terms, some times it is difficult to differentiate as many times they are combined. Do we really know what Microsoft Word exe has inside? We only know its functionality. But it is guaranteed of any Ad ware or Spy ware free as it is sold by a company. On the other side Ad ware or Spy ware authors are unknown. Most of the times their intension is show/do what they want, not what you need. If you delete them from one place, they still exist in 100 other places.
There are many removal softwares. May be none is 100% efficient to remove all. It is all like what is first? Chicken or Egg? That is why it is important to update these software on frequent basis. If the spy ware is newer than the updates you have, the removal software may show there is nothing as the updates are older.
So, what is the best way is the best way to get rid of these problems?
I personally do not believe even a removal software says there are no more ad ware /spy ware. What I do, assuming your data is not corrupted by ad/spy ware, I will take the data backup, . Reload the machine with the operating system, install all applications and restore the data back to system. One most important thing, assign passwords to all accounts and never ever use the account with admin privilege for day to day usage like browsing. By default all accounts created at the time of Windows XP setup will have Admin access with no password, which is bad. This problem is taken care in Vista. Click to know more about Admin Access.
Another anology is, when our wallet is lost, we do not just change one or two credit cards, we call all creditors and inform we lost our wallet. Also change the keys if we there were keys with the wallet. In the same way, when the system is compromised, best way is to rebuild the machine, assign password, avoiding admin accounts for browsing.
To better explain, one more example. You have a paying guest living with you. You do not give access to every part of the house right? Browsing is also like that. When the Internet browser come across a spy ware or ad ware site (all free movies/songs/software sites live by hosting ad ware), ad ware programs are automatically downloaded and will try to get installed behind the scenes with out your permission. If your logged in user ID has Admin Access, that program will get installed successfully, annoying you with all Advertisements, and who knows, steeling sensitive information. If you did not have Admin access, they will fail to get installed, saving your system from a disaster.
Why Computers slow down?
- Probably the computer is never cleaned. Just like a house never cleaned for a long time becomes unusable, computers are no different. Run Clean up today.
- Files gets fragmented as you use the system. Defrag drives regularly.
- Ad ware, spy ware slow down by eating the system resources
- Too many installed programs many of them are never used but get loaded every time you start the system
- Fragmented Page File. Click here learn how to make an unfragmented page file
Free Anti-Virus Software
Problem: I have old computer with Win 98. Can you suggest me name of latest Antivirus software that can run of Win 98?
Solution:
I am not sure if you would like to spend money on your old machine. How about free anti-virus software? Go to AVG Website and download free version. May be that is enough for your system. Let me know if you still want to buy a software.
Clean up the system today!
Solution:
- Login as each user and perform the following steps for each user
- Delete unnecessary files that are not needed any more, from the desktop,
Mydocuments, and other folders.- Remove cached files from Internet Explorer or Mozilla Firefox, which ever your browser is.
- Remove files from temporary folders
- Run the Disk Cleanup by clicking Start --> All Programs --> Accessories --> System Tools --> Disk Cleanup.
- Delete unnecessary files that are not needed any more, from the desktop,
- Login as Admin or with an account that has administrator privileges if you have not already logged in so.
- Uninstall unnecessary programs those you do not need/use any more (make sure you have the install program some where with product code, in case if you wan to install again in future. Good example is I have Microsoft Flight Simulator installed 6 moths back which you is not use now as I am not interested to play. Before you uninstall it, make sure you have the original software and it's product keys available in case if your nephew want to play during his vacation.)
- Many of the above tasks can be done with the simple program CCleaner. Install it and run it in every user profile. It has File cleaner, Applications Cache Cleaner, Uninstall applications feature, Startup programs cleaner (use it cautiously, you can not undo it, you have to manually add the registry entries if you have to undo, better note down if you delete any entries , never delete antivirus program entries for example), Fixing registry entries and many more. Definitely go through the Quick Tour to get an idea before you download. Caution: Some of the options that you select willl remove the cached Internet User names and Passwords.
- Once you done the cleaning, Defrag the drives
How to setup Page File?
- Some people think keeping page file lot bigger make the system run faster. It is not totally true. Think of a water tap with running water. If you increase the width of the pipe, say double the size may result in more water to flow. But it makes no sense making it 100 times of its orginal size. Pagefile works in the same way.
- If you have 512 MB of RAM, keep a Pagefile of 1024 MB, means double it. If you have 1GB of RAM, keep a size of 2048MB. This need not be a magic number, any near by number is acceptable. Microsoft says double the size of RAM + 12 MB. I did not see any magical changes in my system by using this formula.
- System Managed Size - Unfortunately Microsoft default page file settings are not good in a long run. When you purchase the OS or install it freshly, the default settings let the Pagefile grow dynamically. This only helps in conserving few hundred MBs of disk space, but in a long run fragments the page file. As per today's disk space availability, no body cares if the pagefile takes even more than a GB to offer better system speeds.
- Make sure you have at least few GB of free disk space before you proceed to change the setup of the Pagefile.
- Defrag the drive.
- To change the page file setup
- Login as Admin or with an account that has administrator privileges if you have not already logged in so.
- Click on Start --> Control Panel --> System -->Advance Tab --> In the Performance block, click Settings --> in the "Performance Options" tab click Advanced --> in the Virtual Memory Block click Change.
- If the page file already set to some size, select "No Paging File" option, click OK 2 times and restart the system when it prompts. Note that we will not leave the system with out page file option, we will set it to new unfragmented pagefile size after the machine comes back from reboot.
- Select Custom Size. Select the double the size (or even two and half times is also OK) of the RAM as your Initial size and as well as Maximum size. Setting the Initial and Maximum is the key here to avoid fragmentation of page file in future.
How to defrag the drives?
Solution: Windows XP has an in-built system utility that can defrag the drives. This is not that efficient as third party software like Disk Keeper, but it is free with Widnows XP.
- Login as Admin or with an account that has administrator previleges if you have not already logged in so.
- Go to Add Remove Programs and uninstall the programs that are not required any more.
- Run the Disk Cleanup by clicking Start --> All Programs --> Accessories --> System Tools --> Disk Cleanup.
- Go to Command prompt, run the command defrag c:
- You may even like to automate the drives to automatically defrag. Click the link Automating Defrag task
Automating Defrag Task
Problem: I ran windows defrag tool couple of times, but want to automate it. Also want to log the results.
Solution:
- Login as Admin or with an account that has administrator privileges.
- Copy the following lines to a text file, name it as "defrag_bat.bat" and store it C:\Windows\System folder.
- Create folder called C:\Temp if it is not present already.
Echo ////////////////////////////////////////////////////////////// >> c:\Temp\Defrag.log
Echo Defrag started at @ && Date/T >> c:\Temp\Defrag.log && Time/T >> c:\Temp\Defrag.log
Echo ////////////////////////////////////////////////////////////// >> c:\Temp\Defrag.log
defrag c: /f >> c:\Temp\Defrag.log
Echo Defrag Ended at @ && Date/T >> c:\Temp\Defrag.log && Time/T >> c:\Temp\Defrag.log
Echo ////////////////////////////////////////////////////////////// >> c:\Temp\Defrag.log
- Schedule a Task to run it at a time you are not supposed to use the computer.
Slow running PC Problem
Solution:
- Check if you are running low disk space on the system drive (usually C: drive). Make sure at least few GB of free space is available.
- Login as Admin or with an account that has administrator previleges if you have not already logged in so.
- Clean up the system. If you still see there is only few GBs of free disk space on the drive (applicable to any drive), plan for hard drive upgrade.
- Then Defrag the drives.
My PC was starting up minutes longer than the super fast few seconds it took and programs were lagging. As mentioned here, on giving my HDD a 'checkup'( not used to doing it regularly) i realized how negligent i had been in maintaining its health. The drive shows almost complete fragmentation and has about 14% free space. Its almost as if a disease has reached its final stages and emergency treatment is required.