Custom Search

Thursday, February 23, 2012

Reset Win7/Vista Password

Forgot the administrator password? There are many ways to access a Windows installation if you forgot the administrator password.
Today I’ll show you another procedure to reset the Windows password by replacing the Sticky Keys application. This program allows you to use the function keys SHIFT, CTRL, ALT, or the Windows key by typing one key after the other instead of pressing them simultaneously with the second key. The main advantage of this password reset method is that you don’t need third-party software; another plus is that it is easy to carry out because no Registry hack is required, as when you offline enable the built-in administrator.

Forgot Administrator Password - Sticky Keys trick



You can do this with a bootable Windows PE USB stick or by using Windows RE. You can start Windows RE by booting the Windows Vista or Windows 7 setup DVD and then selecting “Repair” instead of “Install Windows.”

By the way, you can’t use the Windows XP boot CD for this purpose because its Recovery Console will ask for a password for the offline installation. However, you can use a Vista or Windows 7 DVD to reset a forgotten Windows administrator password on Windows XP.

This works because Windows RE, which is based on Vista or Windows 7, will let you launch a command prompt with access to an offline installation without requiring a password.

To reset a forgotten administrator password, follow these steps:

  1. Boot from Windows PE or Windows RE and access the command prompt.
  2. Find the drive letter of the partition where Windows is installed. In Vista and Windows XP, it is usually C:, in Windows 7, it is D: in most cases because the first partition contains Startup Repair. To find the drive letter, type C: (or D:, respectively) and search for the Windows folder. Note that Windows PE (RE) usually resides on X:.
  3. Type the following command (replace “c:” with the correct drive letter if Windows is not located on C:):
    copy c:\windows\system32\sethc.exe c:\
    This creates a copy of sethc.exe to restore later.
  4. Type this command to replace sethc.exe with cmd.exe:
    copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
    Reboot your computer and start the Windows installation where you forgot the administrator password.
  5. After you see the logon screen, press the SHIFT key five times.
  6. You should see a command prompt where you can enter the following command to reset the Windows password (see screenshot above):
    net user your_user_name new_password
    If you don’t know your user name, just type net user to list the available user names.
  7. You can now log on with the new password.

I recommend that you replace sethc.exe with the copy you stored in the root folder of your system drive in step 3. For this, you have to boot up again with Windows PE or RE because you can’t replace system files while the Windows installation is online. Then you have to enter this command:

copy /y c:\sethc.exe c:\windows\system32\sethc.exe


Monday, February 6, 2012

"Attachment size exceeds the allowable limit" error when you add a large attachment to an email message in Outlook 2010

Symptoms:
When you add an attachment to an email message in Microsoft Office Outlook 2010, you receive the following error message:

The attachment size exceeds the allowable limit.



Cause:

This problem occurs for one of the following reasons, depending on the kind of email account that you are using.

Internet email account (POP3, IMAP, HTTP)

You receive this error message because Outlook 2010 has a new default attachment size limit of 20 megabytes (20480 KB) for Internet email accounts. This limit prevents your computer from continually trying to upload very large attachments that exceed the limits of most Internet service providers. This limit applies whether you are adding one large attachment that is greater than 20 megabytes (MB) or several attachments whose sum total size is greater than 20 MB.

Microsoft Exchange Server email account

If you are using an Exchange Server mailbox, you receive this error message (by default) if you attach one or more items to a message, and if the sum total of the attachments is greater than 10 MB (10240 KB). This attachment limit is not related to the new limit that was introduced in Outlook 2010 for Internet email accounts. This limit for an Exchange mailbox stems from the Maximum send size setting that is configured in the Transport Settings Properties dialog box by the Exchange administrator.




Resolution:

The steps to modify the default attachment limit depend on the type of email account that you are using with Outlook 2010.

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

Internet email account (POP3, IMAP, HTTP)

Fix it for me

To fix this problem automatically, click the Fix this problem button or link. Click Run in the File Download dialog box, and then follow the steps in the Fix it wizard.
Fix this problem
Microsoft Fix it 50510

Note this wizard may be in English only; however, the automatic fix also works for other language versions of Windows.

Note if you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.

Let me fix it myself

To modify the default attachment limit size in Outlook 2010 for an Internet email account yourself, follow these steps:
  1. Exit Outlook.
  2. Start Registry Editor.
  3. Locate and then select one of the following registry subkeys:

    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\Preferences
    Note Manually create the path in the registry if it does not currently exist.
  4. Add the following registry data under this subkey:

    Value type: DWORD
    Value name: MaximumAttachmentSize
    Value data: An integer that specifies the total maximum allowable attachment size. For example, specify 30720 (Decimal) to configure a 30-MB limit.
    Notes
    • Specify a value of zero (0) if you want to configure no limit for attachments.
    • Specify a value that is less than 20 MB if you want to configure a limit that is less than the default 20 MB.
  5. Exit Registry Editor
  6. Start Outlook.

Microsoft Exchange Server email account

If you are using an Exchange Server account, the new 20-MB attachment limit for Internet email accounts is not used by Outlook 2010. Instead, Outlook uses the limit that is configured on your Exchange server. To modify the setting that is used to control the size of a message that is sent through an Exchange Server account, follow these steps.

Notes
  • These steps apply to Exchange Server 2007. Similar steps should be used for other versions of Exchange.
  • This Exchange Server setting applies to all versions of Outlook, not just to Outlook 2010.
  • You must be an Exchange administrator to make the changes in the following steps. Regular users do not have access to the Exchange Management Console.
  1. Start the Exchange Management Console.
  2. Under Organization Configuration, click Hub Transport.
  3. On the Global Settings tab, click Transport Settings.

  1. Collapse this image

  2. In the Transport Settings section of the Actions pane, click Properties.
  3. On the General tab in the Transport Settings Properties dialog box, configure the value for Maximum send size (KB).
  4. Click OK.
Note Because the Exchange server has a cache for various settings, this change does not take effect immediately. You may have to wait several hours before this change is recognized by Outlook.