Monday, June 1, 2009
Windows Recovery Console Commands
- Use, copy, rename, or replace system files and folders.
- Enable or disable services or device startup for the next time that you boot your computer.
- Repair the file system boot sector or the Master Boot Record.
- Create and format partitions on drives.
Here are the available commands that can be used with the Windows Recovery Console.
ATTRIB
Use the attrib command with one or more of the following parameters to change the attributes of a file or a folder:
BATCH
batch inputfile [outputfile]
Use this command to run commands that are specified in a text file. In the command syntax, inputfile specifies the text file that contains the list of commands to be run, and outputfile specifies the file that contains the output of the specified commands. If you do not specify an output file, the output appears on the screen.
BOOTCFG
Use this command for boot configuration and recovery.
CD and CHDIR
Use the cd and chdir commands to change to a different folder.
CHKDSK
chkdsk drive /p /r
The chkdsk command checks the specified drive and repairs or recovers the drive if the drive requires it.The command also marks any bad sectors and it recovers readable information.
CLS
Use this command to clear the screen.
COPY
copy source destination
Use this command to copy a file.
DEL and DELETE
del drive: path filename
delete drive: path filename
Use this command to delete a file.
DIR
dir drive: path filename
Use this command to display a list of files and subfolders in a folder.
DISABLE
disable servicename
Use this command to disable a Windows system service or driver.
DISKPART
diskpart /add /delete device_name drive_name partition_name size
Use this command to manage the partitions on your hard disk volumes.
ENABLE
enable servicename start_type
You can use the enable command to enable a Windows system service or driver.
EXIT
Use the exit command to quit the Recovery Console.
EXPAND
expand source [/F:filespec] [destination] [/y]
expand source [/F:filespec] /D
Use this command to expand a file
FIXBOOT
fixboot drive name:
Use this command to write the new Windows boot sector code on the system partition.
FIXMBR
fixmbr device name
Use this command to repair the MBR of the boot partition.
FORMAT
format drive: /Q /FS:file-system
Use this command to format the specified drive to the specified file system.
LISTSVC
The listsvc command lists all available services, drivers, and their start types for the current Windows installation.
LOGON
The logon command lists all detected installations of Windows and then requests the local administrator password for the copy of Windows that you want to log on to.
MAP
map arc
Use this command to list drive letters, file system types, partition sizes, and mappings to physical devices.
MD and MKDIR
The md and mkdir commands create new folders.
MORE
more filename
Use this command to display a text file to the screen.
RD and RMDIR
Use rd and rmdir commands to delete a folder.
REN and RENAME
Use the ren and rename commands to rename a file.
SET
You can use the set to display or modify four environment options.
SYSTEMROOT
The systemroot command sets the current working folder to the %SystemRoot% folder of the Windows installation that you are currently logged on to.
TYPE
type filename
Use the type command to display a text file.
Do You Really Want To Improve Your Typing Speed?
It is very easy to type in computer keyboard than traditional typewriter.But only few people know the rules of Typewriting.Others are randomly picking a key on their keyboard.There is nothing wrong in it.
Because they practiced like this.One of my friend who is having 12+ years of experience in Information technology field.He also doesn't know Rules of Typewriting.But he is typing rapid fast. His speed is > 75 WPM.Do you want to know the rules for Typing?
Do you really want to improve your typing skill?
Here is the 3 web site links for you. Go and Enjoy.
http://www.powertyping.com/
http://www.artypist.com/en/typing/index
http://www.software-giant.com/software/v_0_3/
50+ Microsoft Word Shortcuts
Ctrl + A Select all contents of the page.
Ctrl + B Bold highlighted selection.
Ctrl + C Copy selected text.
Ctrl + D Open the font dialogue box.
Ctrl + E Aligns the line or selected text to the center of the screen.
Ctrl + F Open find box.
Ctrl + G Open find and replace box.
Ctrl + H Also opens find and replace box.
Ctrl + I Italicise highlighted selection.
Ctrl + J Justify (spread) the text across the page.
Ctrl + K Insert link.
Ctrl + L Aligns the line or selected text to the left of the screen.
Ctrl + M Indent the paragraph.
Ctrl + N Open a new document.
Ctrl + O Open a document stored on your hard drive.
Ctrl + P Open the print window.
Ctrl + R Aligns the line or selected text to the right of the screen.
Ctrl + S Saves the current document.
Ctrl + U Underline highlighted selection.
Ctrl + V Paste contents of clipboard.
Ctrl + W Closes the current document.
Ctrl + X Cut selected text.
Ctrl + Y Redo the last action performed.
Ctrl + Z Undo last action.
Ctrl + Shift + F Change the font.
Ctrl + Shift + > Increase selected font +1pts up to 12pt and then increases font
+2pts.
Ctrl + ] Increase selected font +1pts.
Ctrl + Shift + < style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">decreases font by +2pt.
Ctrl + [ Decrease selected font -1pts.
Ctrl + Shift + * View or hide non printing characters.
Ctrl +
Ctrl +
Ctrl +
Ctrl +
Ctrl + Del Deletes word to right of cursor.
Ctrl + Backspace Deletes word to left of cursor.
Ctrl + End Moves the cursor to the end of the document.
Ctrl + Home Moves the cursor to the beginning of the document.
Ctrl + Spacebar Reset highlighted text to the default font.
Ctrl + 1 Single-space lines.
Ctrl + 2 Double-space lines.
Ctrl + 5 1.5-line spacing.
Ctrl + Alt + 1 Changes text to heading 1.
Ctrl + Alt + 2 Changes text to heading 2.
Ctrl + Alt + 3 Changes text to heading 3.
Ctrl + F1 Open the Task Pane.
F1 Open Help.
Alt + Ctrl + F2 Open new document.
Ctrl + F2 Display the print preview.
Shift + F3 Change the text from upper to lower case or a capital letter at the
beginning of every word.
Shift + Insert Paste.
F4 Repeat the last action performed.
F5 Open the find, replace, and go to window in Microsoft Word.
Ctrl + Shift + F6 Opens to another open Microsoft Word document.
F7 Spell and grammar check selected text and/or document.
Shift + F7 Runs a Thesaurus check on the word highlighted.
F12 Save as.
Shift + F12 Save.
Ctrl + Shift + F12 Prints the document.
Alt + Shift + D Insert the current date.
Alt + Shift + T Insert the current time.
To remove Autorun.inf
Task manager Disabled to enable
Enable Folders options
Enable run
Enable command prompt
Thursday, May 28, 2009
Recover a damaged Windows XP user profile
OR:
Must be an administrator
Keep in mind that in order to perform the recovery operations discussed in this article, you must be working from
Backing up your data
The first thing that you’ll want to do is make sure that the data in your original account is safe and then back it up.
To begin the back up operation, launch Windows Explorer and navigate to the C:\Documents and Settings folder.
Then, locate and open your original account folder. At this point, you should see all the files and folders in your
original user profile, as shown in Figure A.

Figure A
You can open your original account folder and back up all the files and folders containing crucial data.
You’ll then want to copy your crucial data files to another location. For example, you’ll definitely want to copy the
Once you’ve backed up your crucial data files, you can proceed with the recovery operation knowing that your
data is indeed safe and sound.
Using System Restore
The first thing to try when attempting to recover a damaged user profile is a System Restore operation. As you
System Restore, you’ll see the Welcome To System Restore page and will simply click Next. On the Select A
Restore Point page, select the last restore point created before the damage to the user profile became apparent,
then click Next. When you’re prompted to confirm the operation, click Next and the restore operation will begin.
To undo the System Restore operation, log on to the working account and launch System Restore. When you see
Copying your user profile
In this user profile recovery technique, you’ll attempt to revive the user profile by creating a new account and,
To begin, acces s the Control Panel and launch the User Accounts tool. Next, select the Create A New Account
Now, open the Start menu, right-click My Computer, and select Properties. When you see the System Properties
dialog box, select the Advanc ed tab. Then, locate and click the Settings button in the User Profiles s ection. You’ll
now see a User Profiles dialog box that looks lik e the one shown in
Figure B.

You’ll use the User Profiles tool to copy your old user profile to the new account.
In this example, I’ll be copying the user profile from the Greg Shultz account to the Greg Shultz2 account. I’ll
Figure C

At this point, you’ll see the path to your new acc ount in the Copy To d ialog box.
Once the copy operation finishes, close the User Profiles dialog box and the System Properties dialog box, then
Moving to a new user profile
In this user profile recovery technique, you’ll move to a new user profile by creating a new account and,
To begin this operation, launch Windows Explorer and navigate to the C:\Documents and Settings folder. Then,
In the case of
Shultz’s Documents folder to the C: \Documents and Settings\Greg Shultz2\Greg Shultz2’s folder.
In addition, you’ll want to copy the contents of the Favorites, Outlook Express, and Address Book folders if you’re
using that e-mail program, or the Outlook folder. You may also want to copy the contents of Cookies, Templates,
Be careful not to copy any files that are spec ifically related to the operating system, as any one of those files
could be the culprit in the case of the corrupted user profile. For example, you definitely won’t want to copy
Ntus er.dat, Ntuser.pol, or Ntuser.ini from your old user profile to your new one.
When you’re finished copying files, log out of the working profile, and then log on to your new user profile. When
Cleaning out your old profile
Once you’ve totally moved into your new user profile, you’ll want to permanently delete your old, corrupted us er
The automatic user profile backup technique
So you won’t ever have to go through all these troubleshooting steps should the user profile ever get corrupted
pressing [Windows]-R and typing compmgmt.msc in the Open text box. Then, drill down to System Tools \Loc al
Users and Groups\Users folder. Next, double-click on your account name and select the Profile tab. Then, type
the path to the backup in the Profile Path text box, as shown in Figure D.

You can configure Windows XP to automatically back up the local user profile each time you log off.
How to Fix SVCHOST.EXE Application Error
How to Repair this SVCHOST.EXE error
After some investigating into the 0X745f2780 SVCHOST error, it became apparent the problem is a corrupted Windows Update in Windows XP. Follow the steps below to fix this error.Verify Windows Update Service Settings
- Click on Start, Run and type the following command in the open box and click OK
services.msc - Find the Automatic Updates service and double-click on it.
- Click on the Log On Tab and make sure the "Local System Account" is selected as the logon account and the box for "allow service to interact with desktop" is UNCHECKED.
- Under the Hardware Profile section in the Log On Tab, make sure the service is enabled.
- On the General Tab, the Startup Type should be Automatic, if not, drop the box down and select Automatic.
- Under "Service Status" on the General tab, the service should be Started, click the Start button enable it.
- Repeat the steps above for the service "Background Intelligent Transfer Service (BITS)"
- Click on Start, Run, and type CMD and click ok
- In the black command window type the following command and press Enter
REGSVR32 WUAPI.DLL - Wait until you receive the "DllRegisterServer in WUAPI.DLL succeeded" message and click OK
- Repeat the last two steps above for each of the following commands:
REGSVR32 WUAUENG.DLL
REGSVR32 WUAUENG1.DLL
REGSVR32 ATL.DLL
REGSVR32 WUCLTUI.DLL
REGSVR32 WUPS.DLL
REGSVR32 WUPS2.DLL
REGSVR32 WUWEB.DLL
- At the command prompt, type the following command and press Enter
net stop WuAuServ - Still at the command prompt,
type cd %windir% and press Enter - In the opened folder, type the following command and press Enter to rename the SoftwareDistribution Folder
ren SoftwareDistribution SD_OLD - Restart the Windows Update Service by typing the following at the command prompt
net start WuAuServ - type Exit and Press Enter to close the command prompt
- click on Start, Shut Down, and Restart to reboot Windows XP
Thursday, April 30, 2009
Talk with other computers on your network
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
Now save this as "Messenger.bat". Open the .bat file and in Command Prompt you should see:
MESSENGERUser:
After "User" type the IP address of the computer you want to contact. After this, you should see this:
Message:
Now type in the message you wish to send.Before you press "Enter" it should look like this:
MESSENGERUser: 56.108.104.107
Message: Hi
To work around this problem, change the Startup type of the Messenger service to Automatic, and then start the Messenger service. To do this, follow these steps:
Open Windows Explorer.
In the left pane, right-click My Computer, and then click Manage.
In the Computer Management window, expand Services and Applications in the left pane, and then click Services.
In the right pane, double-click Messenger.
In the Messenger Properties (Local Computer) dialog box, click the General tab.
On the General tab, select Automatic from the Startup type list, and then click Apply.
Under Service status, click Start, and then click OK.
now do the same on the remote computeruntil this service is activated on that pc, you won't be able to use thisnow click on that file you madetype the iptype the messageand enter