Atleast once, every PC user had the requirement of booting on to Safe Mode for one or other problem rectification. Normally it is done by pressing the F8 key while booting on and going to the boot menu and then selecting the Safe Mode options. At times this become tedious because of missing the right time in pressing F8 or restrictions in some motherboard specifications those provide a drive choice menu etc.
The problem can be solved by adding a line to the boot.ini file. I will describe it in the following lines. To perform the following actions, you must be a member of the Administrator group.
STEP-1
Start Menu > Run
Type cmd
Enter
Command prompt opens up.
Navigate to the root Drive C:\ by typing cd \
(Here I assume that your Windows is in C Drive)
Here type attrib -s -h -r boot.ini
STEP-2
Now go to
Start Menu > Run
Type C:\boot.ini
Enter
The boot.ini file opens up.
Add the following lines as the last line.
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=Microsoft Windows XP-SafeMode" /fastdetect /Safeboot:minimal/SOS/bootlog
Now close the file and it will prompt you to save changes. Save the changes by clicking YES.
Go to the already opened Command Prompt and type the following:-
attrib +s +h +r boot.ini
Close the command prompt and restart your System.
Now after BIOS you will get an Option Menu. Here you may boot into your Windows normally or you may boot into Safe Mode.
If you feel problem in doing STEP-2 there is an easier way.
Right click MyComputer icom on desktop and select properties.
System Properties box opens up.
Click the Advanced tab.
Go to Startup and Recovery and click settings. Startup and Recovery box opens up.
Click the Edit button and the boot.ini file opens up.
Here you may add the line as mentioned in STEP-2 and close the file and save it.
Thats all.
If your Windows is not in C: drive, ask me. I will guide you further.
pradeepthegreat2010@gmail.com
Windows : It’s a magical spell to me. When it crashes it makes my eyes tearful and heart fearful, but bring back a wide grin after I perform a successful repair. Make me crazy with speed and performance when I re FORMAT and bring a sigh of relief that Edison felt when he lost his Menlo Park Lab to flames (Got rid of all those unwanted freewares, JPEGs, MP3s and Movies). Let me draw your attention to some unknown facts, Virus troubles, Registry Black Magics through this blog......
Sunday, February 28, 2010
FINDING DRIVE LOCATION OF WINDOWS
Many novices find it difficult to decide in which drive their Windows OS is installed.
How to check it?
Start Menu > Run
Type %systemroot%
Enter
A window opens and in the address you may see C:\Windows or D:\Windows etc.
Other commands you can try are:-
%systemdrive% - Opens the Drive where Windows is installed
%windir% - Opens up the Windows Directory
That's all.
Labels:
%systemdrive%,
%systemroot%,
%windir%,
Drive,
run,
systemroot,
windir
AUTOMATIC OPENING (POP OPEN) OF A FOLDER ON LOGON
Many times it was observed that a folder- some times My Documents, otherwise System32- pops open immediately after logon. This is normally due to a registry mismanipulation. The problem can be solved in the following manner.
To perform the following actions you must be a member of Administrator group.
Start Menu > Run
Type regedit
Enter
Registry Editor opens.
Navigate to the following key-
HKEY_LOCAL_MACHINE > Software > Microsoft > Windows NT > Current Version > Winlogon
On the right pane, select the key Userinit and modify the value as - C:\Windows\System32\Userinit
(Value can be modified by double clicking the key and then type the value in the following box.)
Now navigate to-
HKEY_CURRENT_USER > Software > Microsoft > Current Version > Explorer > Advanced
On the right pane, change the value of key PersistBrowsers to 0.
Close the Registry Editor.
Restart the PC and the problem is solved.
Questions ?- pradeepthegreat2010@gmail.com
Monday, February 22, 2010
CAN NOT FIND SCRIPT ENGINE "VBSCRIPT" FOR SCRIPT ... MESSAGE ON LOGON
Recently I have observed the subject problem in one of the Windows XP Pro SP-I PC. This annoying message popped up on every logon quoting some script name. The reason behind was a corrupted or missing DLL file possibly by a malicious activity which was healed by an Antivirus.
How to fix it?
An extensive search in Google gave me many outputs. The one which worked for me was the following one.
Start Menu > Run
Type the following in the Run field...
regsvr32 %systemroot%\system32\vbscript.dll
Press enter. You will get a positive confirmation message "DllRegisterserver in C:\windows\system32\vbscript.dll is succeeded"
And the problem is killed.
An extensive search in Google gave me many outputs. The one which worked for me was the following one.
Start Menu > Run
Type the following in the Run field...
regsvr32 %systemroot%\system32\vbscript.dll
Press enter. You will get a positive confirmation message "DllRegisterserver in C:\windows\system32\vbscript.dll is succeeded"
And the problem is killed.
Another way of doing this is by editing the registry.
I assume that you know the basic registry editing functions and precautions. If not, take the guidance of an expert friend or ask me for more details.
I assume that you know the basic registry editing functions and precautions. If not, take the guidance of an expert friend or ask me for more details.
Startmenu > Run > regedit
Enter
Navigate to HKEY_CLASSES_ROOT > CLSID > {B54F3741-5B07-11Cf-A4B0-00AA00A55E8}> InprocServer32
On the right side pane change the value of Default Key to C:\WINDOWS\system32\vbscript.dll (provided your Windows is in C Drive.)
Close the Registry Editor and Restart your PC.
That's all.
Enter
Navigate to HKEY_CLASSES_ROOT > CLSID > {B54F3741-5B07-11Cf-A4B0-00AA00A55E8}> InprocServer32
On the right side pane change the value of Default Key to C:\WINDOWS\system32\vbscript.dll (provided your Windows is in C Drive.)
Close the Registry Editor and Restart your PC.
That's all.
Doubts? contact me - pradeepthegreat2010@gmail.com
Labels:
dll,
DllRegisterServer,
InprocServer32,
regedit,
regsvr32,
script,
vbscript,
virus,
worms
Subscribe to:
Posts (Atom)