Mailbag 23/09/2010 – Windows 7 Server Mode

The main problem I have been hearing this week is people using windows 7 as a file server or people trying to access their windows 7 machine in some way from a Windows XP machine. This is fine if the windows 7 pc gets regularly restarted, the reason for this, not fully known to me, is that windows 7 has an issue with memory allocation to system non-paged pool.

You may be getting this error log issued to your event logs:

Source: srv
Event ID: 2017
Level: Error
Description: The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.

The fix is just a simple registry change below:

Set the following registry key to ‘1′:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache

and set the following registry key to ‘3′:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size

This should definitely sort out the problem, if not please let me know.

I found a fix many months ago unfortunately I am unsure where I got it from, so I am not able to give recognition to the correct person.

Written by

Matthew Glover
Have a question or problem?
I can't guarantee an answer, but I'll try. Drop me a message!


Follow glovario on Twitter

How to Do a Repair Install to Fix Windows 7

Information

This will show you how to do a repair upgrade install to fix your currently installed Windows 7 and preserve your user accounts, data, programs, and system drivers.

Note

Do a Repair installation if:
A System Restore did not help fix your Windows 7.
There is no other easier option left that can fix your Windows 7.
You DO NOT want to do a Clean reinstall of Windows 7.
You DO want to preserve your user accounts, data, programs, and system drivers.

Tip

ITEMS THAT WILL BE RESET TO DEFAULT OR AFFECTED:

  • Sounds
  • Services
  • Visual Effects Settings
  • Device Drivers – Be sure to have these handy to reinstall. They do not always remain after the repair (upgrade) install.
  • You may lose the ability to sign on to MSN Messenger, to solve this problem have a look at this thread Unable to sign in to WLM.
  • You may lose your custom themes due to not having permisions set on the old themes. Go to the hidden themes folder at C:/Users/(User-Name)/AppData/Local/Microsoft/Windows/Themes, then Take Ownership of the themes folder and you will now have all your themes back.
  • It has been reported that you may also lose your Media Center gadget after doing the repair install.
  • Windows Updates will need to be checked and reinstalled again.

Warning

  • You can only do a repair install from within Windows 7, you cannot do a repair install at boot or in Safe Mode.
  • You must be logged into Windows 7 in a administrator account to be able to do a repair install.
  • You will not be able to do a repair upgrade install in Safe Mode.
  • The Windows 7 installation DVD that you use to do the repair install with must be the same or newer updated version of Windows 7 (ex: Windows Updates or SP level) than the currently installed Windows 7. If the DVD is a older version, then you cannot do a repair install with it.
  • You must have at least 8.87 GB of free space, more if you have a larger installation, on the hard drive/partition Windows 7 is installed on to do a repair install.

Here’s How:

1. Start Windows 7, and log on to an administrator account.

2. Disable any 3rd party firewall, antivirus or other security program to avoid it from possibly preventing the repair upgrade installation of Windows 7.

3. Place your Windows 7 installation DVD into the DVD drive, while still in Windows 7 (Step 1), and click on the Run setup.exe option in the AutoPlay window from within the currently installed Windows 7. (See screenshot below)

NOTE: If the AutoPlay window does not open, then open the drive folder in Computer and run the setup.exe file.

clip_image009

4. If prompted by UAC, then click on Yes.

5. Click on the Install Now button to start the installation. (See screenshot below)

clip_image010

6. Uncheck the I want to help make Windows installation better box (unless you would like to), and click on the Go online to get the latest updates for installation option. (See screenshot below)

clip_image011

7. Windows 7 will now check online for and install any available installation updates. (See screenshots below)

clip_image012clip_image013

8. Check the I accept the license terms box and click on Next. (See screenshot below)

clip_image014

9. Click on the Upgrade option. (See screenshot below)

clip_image015

10. The installation of Windows 7 will now begin. (See screenshot below)
NOTE: During the installation process, your screen may flash and computer will restart a few times.

clip_image016

11. After the final restart, you will see this screen for a moment. (See screenshot below)

clip_image017

12. Type in your Windows 7 product key number. (See screenshot below step 13)

13. Uncheck the Automatically activate Windows when I’m
online
box unchecked, then click on the Next button. (See screenshot below)

NOTE: You can activate Windows 7 later after you make sure it is running properly. (See step 20 below)
If you chose to automatically activate Windows online when you set up your computer, automatic activation begins trying to activate your copy of Windows three days after you log on for the first time.

clip_image018

14. Click on Use recommended settings. (See screenshot below)

clip_image019

15. Select your time zone and set your time and date settings, then click on the Next button. (See screenshot below)

clip_image020

16. Click on the option for your computer’s location to select the correct network location type settings to be applied for that location. (See screenshot below)

NOTE: It is best to select Public location for the best security.

clip_image021

17. Windows 7 will now prepare your desktop to startup. (See screenshots below)

clip_image022clip_image023

18. Check to see if you are missing any user files. If you are, then you can copy them from the C:\Windows.old or the hidden protected operating system C:\$INPLACE.~TRand C:\WINDOWS.~Q backup folders. (See screenshot below)

clip_image024

19. If everythig checks out in step 18, then you can run Disk Cleanup (step 6 at this link). You will need to click on the Clean up system files button first, and then check theFiles discarded by Windows upgrade, Previous Windows installations, and Windows upgrade log files boxes. (See screenshot below)

NOTE: This will delete the C:\Windows.old, C:\$INPLACE.~TR and C:\WINDOWS.~Qfolders from step 18 above.

clip_image025

20. Refresh your Windows Experience Index (WEI) score.

21. When done, all you will need to do is to activate Windows 7, and make sure that your security programs are enabled again.

Product Key Invalid When Reinstalling Windows 7 Student Version

We were recently contacted by a reader who encountered a problem when trying to reinstall a Windows 7 Professional student version from Digital River. The product key was not accepted during installation even though it had been accepted during the first installation of the operating system.

It was possible to continue the installation without the product key. Windows 7 however did not accept the product key after installation displaying the error code 0xC004F061 in the activation window. The description read “The Software Licensing Service determined that this specified product key can only be used for upgrading, not clean installations”.

Microsoft did however confirm in numerous occasions that it is possible and allowed to perform a clean install with a Windows 7 Student version.

Research on the Internet revealed another user with the same problem who posted on the official Microsoft support forums. This user received instructions from Digital River on how to resolve the invalid product key issue.

Open regedit.exe with Start Menu Search and navigate to:
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Setup/OOBE/

Change MediaBootInstall from “1? to “0?. Close RegEdit.

Start Menu on the Command Line utility. Right-click this shortcut and choose “Run as administrator.” Click Yes to the UAC prompt.

In the command line window, type: slmgr /rearm press enter wait for the “Command completed successfully” dialog.

Then, close the command line window and reboot.
After Windows 7 reboots, Right Click Computer select Properties select change product Key.

If the Key does not work now please contact Microsoft technical support at:

Hope this helps everyone who is seeing the same product key invalid error when reinstalling a student version of Windows 7.

Matthew Glover
www.matthewglover.co.uk