Exchange 2010 error solved : The WS-Management service cannot process the request.

Written by Marco on . Posted in Microsoft

When you try to open the Exchange 2010 Management Console, you may receive an error:

The attempt to connect to http://exchangeserver.domain.local/Powershell user ‘Kerberos’ authentication failed: Connecting to remote server failed with the following error message: The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the quota for this user. The next request from this user will not be approved for at least X milliseconds.

See screenshot below.


There is a very quick and easy fix for this error message.

Open an elevated command prompt and type:

IISRESET


Now try opening the Exchange 2010 Management Console again, it should be working again. 

Problem solved!

Change product key in windows server 2012 or windows 8

Written by Marco on . Posted in Microsoft

Every time when I install Windows 2012 Server of Windows 8 I have to look up the command’s to active Windows. This is annoying, so I write up the solutions.

There are 3 methods.

1. Use slmgr

  • Open an elevated command prompt and type the following commands:
  • slmgr -upk
    This will remove the key first
  • slmgr -ipk xyzyx-xyzyx-xyzyx-xyzyx-xyzyx
    This will add your key. Of course replace the xyzyx-xyzyx with your own real key.
  • Activate Windows (you will probably have popups already during this process)

2. Use slui.exe

  • Swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search.
  • In the search box, type Slui.exe 0×3.
  • Tap or click the Slui.exe 0×3 icon.
  • Type your product key in the Windows Activation window, and then click Activate.

3. You can also use the Volume Activation Management Tool (VAMT) 3.0 to change the product key remotely, or if you want to change the product key on multiple computers.

The last two methods I found referenced in this KB: http://support.microsoft.com/kb/2750773 (and the first one is to be found there as well in a way).

Installation runs everytime we start Outlook 2013 application in Terminal services

Written by Marco on . Posted in Microsoft

I was installing a Windows 2008R2 Remote Desktop Services Host with Microsoft Office 2013 when I ran into a strange thing. Every time I started Outlook 2013 there was a installation screen, “installing Microsoft Office 64-bit Components 2013″. This screen appears for a few second and the Outlook started. This is very annoying! The application was working normally.

I found the solution at the Microsoft Forums, here.

What to do to solve this annoying screen.

Install Windows Search Services under the File Services role. Do not add any disk drive for indexing. Put the RDS server in install mode, start Outlook 2013. Now the installation screen is gone. Put the RDS server in Execution mode and the problem is solved.

Adding and removing the GUI in Windows Server 2012

Written by Marco on . Posted in Microsoft

In Windows Server 2008 R2 you could select whether you wanted to run Standard (GUI) or Core version of Windows Server. In Windows Server 2012 the GUI is a feature which you can add or remove.

To remove the GUI you use the following Powershell one-liner:

Remove-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra

You can also uninstall the GUI, which removes the binary files from the disk. To completely uninstall the GUI you use the following Powershell one-liner:

Uninstall-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra

If you realize you are in over your head you can add it back in using:

Add-WindowsFeature Server-Gui-Shell

… or:

Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell –Restart –Source c:\mountdir\windows\winsxs

You can also do all of this using Dism:

Dism /online /enable-feature /featurename:ServerCore-FullServer /featurename:Server-Gui-Shell /featurename:Server-Gui-Mgmt

List of Windows 8 Shortcuts

Written by Marco on . Posted in Microsoft

This is a list of Windows 8 shortcuts that makes my life a lot easier when I work with my laptop. Found at: http://blogs.msdn.com/b/hyperyash/archive/2012/08/28/windows-8-shortcuts.aspx

Windows key: Switch between Modern Desktop Start screen and the last accessed application

Windows key + C: Access the charms bar

Windows key + Tab: Access the Modern Desktop Taskbar

Windows key + I: Access the Settings charm

Windows key + H: Access the Share charm

Windows key + K: Access the Devices charm

Windows key + Q: Access the Apps Search screen

Windows key + F: Access the Files Search screen

Windows key + W: Access the Settings Search screen

Windows key + P: Access the Second Screen bar

Windows key + Z: Brings up the App Bar when you have a Modern Desktop App running

Windows key + X: Access the Windows Tools Menu

Windows key + O: Lock screen orientation

Windows key + . : Move the screen split to the right

Windows key + Shift + . : Move the screen split to the left

Windows key + V: View all active Toasts/Notifications

Windows key + Shift + V: View all active Toasts/Notifications in reverse order

Windows key + PrtScn: Takes a screenshot of the screen and automatically saves it in the Pictures folder as Screenshot

Windows key + Enter: Launch Narrator

Windows key + E: Open Computer

Windows key + R: Open the Run dialog box

Windows key + U: Open Ease of Access Center

Windows key + Ctrl + F: Open Find Computers dialog box

Windows key + Pause/Break: Open the System page

Windows key + 1..10: Launch a program pinned on the Taskbar in the position indicated by the number

Windows key + Shift + 1..10: Launch a new instance of a program pinned on the Taskbar in the position indicated by the number

Windows key + Ctrl + 1..10: Access the last active instance of a program pinned on the Taskbar in the position indicated by the number

Windows key + Alt + 1..10: Access the Jump List of a program pinned on the Taskbar in the position indicated by the number

Windows key + B: Select the first item in the Notification Area and then use the arrow keys to cycle through the items Press Enter to open the selected item

Windows key + Ctrl + B: Access the program that is displaying a message in the Notification Area

Windows key + T: Cycle through the items on the Taskbar

Windows key + M: Minimize all windows

Windows key + Shift + M: Restore all minimized windows

Windows key + D: Show/Hide Desktop (minimize/restore all windows)

Windows key + L: Lock computer

Windows key + Up Arrow: Maximize current window

Windows key + Down Arrow: Minimize/restore current window

Windows key + Home: Minimize all but the current window

Windows key + Left Arrow: Tile window on the left side of the screen

Windows key + Right Arrow: Tile window on the right side of the screen

Windows key + Shift + Up Arrow: Extend current window from the top to the bottom of the screen

Windows key + Shift + Left/Right Arrow: Move the current window from one monitor to the next

Windows key + F1: Launch Windows Help and Support

PageUp: Scroll forward on the Modern Desktop Start screen

PageDown: Scroll backward on the Modern Desktop Start screen

Esc: Close a charm

Ctrl + Esc: Switch between Modern Desktop Start screen and the last accessed application

Ctrl + Mouse scroll wheel: Activate the Semantic Zoom on the Modern Desktop screen

Alt: Display a hidden Menu Bar

Alt + D: Select the Address Bar

Alt + P: Display the Preview Pane in Windows Explorer

Alt + Tab: Cycle forward through open windows

Alt + Shift + Tab: Cycle backward through open windows

Alt + F: Close the current window Open the Shut Down Windows dialog box from the Desktop

Alt + Spacebar: Access the Shortcut menu for current window

Alt + Esc: Cycle between open programs in the order that they were opened

Alt + Enter: Open the Properties dialog box of the selected item

Alt + PrtScn: Take a screen shot of the active Window and place it in the clipboard

Alt + Up Arrow: Move up one folder level in Windows Explorer (Like the Up Arrow in XP)

Alt + Left Arrow: Display the previous folder

Alt + Right Arrow: Display the next folder

Shift + Insert: CD/DVD Load CD/DVD without triggering Autoplay or Autorun

Shift + Delete: Permanently delete the item (rather than sending it to the Recycle Bin)

Shift + F6: Cycle backward through elements in a window or dialog box

Shift + F10: Access the context menu for the selected item

Shift + Tab: Cycle backward through elements in a window or dialog box

Shift + Click: Select a consecutive group of items

Shift + Click on a Taskbar button: Launch a new instance of a program

Shift + Right-click on a Taskbar button: Access the context menu for the selected item

Ctrl + A: Select all items

Ctrl + C: Copy the selected item

Ctrl + X: Cut the selected item

Ctrl + V: Paste the selected item

Ctrl + D: Delete selected item

Ctrl + Z: Undo an action

Ctrl + Y: Redo an action

Ctrl + N: Open a new window in Windows Explorer

Ctrl + W: Close current window in Windows Explorer

Ctrl + E: Select the Search box in the upper right corner of a window

Ctrl + Shift + N: Create new folder

Ctrl + Shift + Esc: Open the Windows Task Manager

Ctrl + Alt + Tab: Use arrow keys to cycle through open windows

Ctrl + Alt + Delete: Access the Windows Security screen

Ctrl + Click: Select multiple individual items

Ctrl + Click and drag an item: Copies that item in the same folder

Ctrl + Shift + Click and drag an item: Creates a shortcut for that item in the same folder

Ctrl + Tab: Move forward through tabs

Ctrl + Shift + Tab: Move backward through tabs

Ctrl + Shift + Click on a Taskbar button: Launch a new instance of a program as an Administrator

Ctrl + Click on a grouped Taskbar button: Cycle through the instances of a program in the group

F1: Display Help

F2: Rename a file

F3: Open Search

F4: Display the Address Bar list

F5: Refresh display

F6: Cycle forward through elements in a window or dialog box

F7: Display command history in a Command Prompt

F10: Display hidden Menu Bar

F11: Toggle full screen display

Tab: Cycle forward through elements in a window or dialog box

PrtScn: Take a screen shot of the entire screen and place it in the clipboard

Home: Move to the top of the active window

End: Move to the bottom of the active window

Delete: Delete the selected item

Backspace: Display the previous folder in Windows Explorer Move up one folder level in Open or Save dialog box

Esc: Close a dialog box

Num Lock Enabled + Plus (+): Display the contents of the selected folder

Num Lock Enabled + Minus (-): Collapse the selected folder

Num Lock Enabled + Asterisk (*): Expand all subfolders under the selected folder

Press Shift 5 times Turn StickyKeys on or off

Hold down right Shift for 8 seconds Turn FilterKeys on or off

Hold down Num Lock for 5 seconds Turn ToggleKeys on or off

Error installing VMware vSphere 5 Client on Windows 8

Written by Marco on . Posted in Microsoft, VMware

Last week I was updating my work laptop from Windows 7 to Windows 8 when I ran into an problem with the VMware vSphere 5 Client. This is the error “This product can only be installed on Windows XP SP2 and above”.


This is how I solved this error.

  1. Right-Click VMware-viclient.exe, choose “Properties”
  2. On the “Compatibility” tab, check the “Run this program in compatibility mode for:” and choose “Windows 7″ from the list. Click “Ok”
  3. Run the VMware-viclient installer as you normally would.


Now the installer starts and the Client can be installed. Problem solved.


In place Windows 2008 R2 Standard to Enterprise upgrade

Written by Marco on . Posted in Microsoft

Last week I needed to upgrade a Windows 2008R2 Standard edition server to an Enterprise edition.

In 2008 & 2008R2 this is a piece of cake. Follow the next instructions and you are up and running in a minute.

Source: http://jamiebaldanza.org/2010/09/08/in-place-windows-server-2008-r2-standard-to-enterprise-upgrade/

Using DISM you are able to do an in place upgrade to a different version of the OS. Below are the steps required to do so.

1. List Current Version of OS

2. List Upgrade Options

3. Set the edition you want and key you are assigned for the enterprise edition.

Problems:

If you receive ” The specified product key is not valid for the target edition. “ Verify the information is typed correctly. If you still receive the error upgrade with a temporary key from Microsoft 489J6-VHDMP-X63PK-3K798-CPX3Y and then once upgraded log in and activate with your key. I was able to get mine to successfully register after a couple tries.

Windows 2008R2 sysprep crashes. Autochk not found

Written by Marco on . Posted in Microsoft, VMware

Today I created a clone from a VM that was running. After the clone was completed I disconnected the network card an booted the VM. No problem everything worked. I needed this Cloned VM for a test domain so I syspreped the VM. After booting the VM an error is shown “autochk program not found” after the error a BSOD is shown and the VM reboots.

I started googling and found the solution in the VMware Community pages, see: http://communities.vmware.com/thread/288439?start=15&tstart=0

The sollutions is simpel, boot the VM from the Windows 2008R2 DVD and go the  command prompt. Type the following commands.

diskpart
list volume
select volume 1
attributes volume
attributes volume clear nodefaultdriveletter

Reboot the VM and now the SYSPREP continues.

Remove Powershell and Server Manager Pinned Items from taskbar

Written by Marco on . Posted in Microsoft

To do this, create a new GPO and drill down to: Computer configuration->Policies->Windows settings->Security Settings->File System
Add each file below, removing Users from the permissions so it’s only Administrators, Creator Owner and System:

  • %AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell\Windows PowerShell.lnk
  • %AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Server Manager.lnk
  • %AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Windows PowerShell Modules.lnk

Keep in mind the path for %AllUsersProfile% is typically C:\ProgramData.  When you add the files using Group Policy Management you will select the files by drilling down to C:\ProgramData, Microsoft, Windows, Start Menu, etc, but you will notice when you’ve added them it auto-magically changes the path %AllUsersProfile%.
Use the “Configure this file or folder and propagate inheritable permissions to all subfolders and files” option on all three files.  Make sure to attach the new OU to your RDS OU or modify your existing RDS GPO. Run gpupdate /force from the command prompt on your RDS servers after adding/modifying this GPO and you’re ready to go!

Off course you can also configure the security settings manually or script.

icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell" /T /inheritance:d
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell" /T /remove:g "BUILTIN\Users" Everyone
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Server Manager.lnk" /inheritance:d
icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Server Manager.lnk" /remove:g "BUILTIN\Users" Everyone

** Update 25-02-2013 **

A colleague of mine has also written a blog about the same problem. He solved the problem with a group policy. For his solution see: http://www.emware.nl/articles/remove-server-manager-and-powershell-icons-from-taskbar.html

Windows 2008 virtual machines lose their Gateway IP address after rebooting

Written by Marco on . Posted in Microsoft, VMware

I was working on a Windows 2008 Server in an segmented network. This was a fresh new installation of Windows 2008. After a reboot the server was not reachable from another VLan. After some troubleshooting I found the problem. The gateway address has disappeared. Strange, so I started searching on the internet and I found an Knowledgebase article at the VMware site describing my problem, this is VMware KB1016878.

Symptoms

  • After every reboot, Windows 2008 virtual machines lose their Gateway IP address.
  • Gateway IP address is lost or reset after rebooting

Resolution

This issue may occur if there is a problem with the registry keys DefaultGateway and DefaultGatewayMetric.

Microsoft has identified this issue and has released a hotfix. For more information and to download the hotfix, see the Microsoft Knowledge Base article 973243.

To work around this issue:

  1. From the Windows Registry Editor, navigate to HKLM/System/CurrentControlSet/Services/Tcpip/Parameters/Interfaces/%CLSID%.
  2. Check the DefaultGateway and DefaultGatewayMetric keys for issues. For example:
  • Remove any newline feeds before the correct default gateway IP
  • If the address is missing, add it manually.