Search This Blog

Tech : Decrease boot time

Decrease boot time

I found that creating a script to run on shutdown that deletes the temp folder and history saved 2.5 seconds on my boot time, down do 10.5 secs.

Create a batch file by doing the following:

1) Open notepad and enter the following lines:

RD /S /q "C:\Documents and Settings\"UserName without quotes"\Local Settings\History"
RD /S /q "C:\Documents and Settings\Default User\Local Settings\History"
RD /S /q "D:\Temp\" <--"Deletes temp folder, type in the location of your temp folder"

2) Save the file and then name is something like deltemp.bat

3) Now click Start, Run and type in gpedit.msc --->Computer Configuration --->Windows Settings --->Scripts and double click on Shutdown --->Click Add and find the batch file you created and press OK to set the script


Speed up your computer:
Increase your L2 cache > Improve Performance >
Correctly set your level 2 cache and improve performance !!
Open Registry by going to START-RUN and typing REGEDIT...
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\SecondLevelDataCache. Based on the kind of CPU you have, this value should change. Here are some of the defaults.
Intel Celeron - 128 , AMD Duron - 64. PII and Athalon: 512. Cyrix and AMD K6-3 256. Pentium IV-1024.
Figure out what your CPU type is and what L2 cache it supports and set it accordingly.

To disable right click on your computer..........
* Open Registry Editor (use 'regedit' command in Run)

* GO THROUGH FOLLOWING PATH....
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
* In right side pane create a new DWORD VALUE (Right click and choose New->DWORD value).
*Give 'NoViewContextMenu' as it's name.
*Set the value to 1.
*Now close the Registry Editor and Restart your system....
Now the right click is disabled in your computer.....Even the keyboard shortcuts also might not work.

To get the right click back....
* Open Registry Editor (use 'regedit' command in Run)
* GO THROUGH FOLLOWING PATH....
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
* In right side pane delete the DWORD value 'NoViewContextMenu'.
*Restart your system.
Now you got back your right click menu.

No comments:

Post a Comment