Hyper-V Manager missing Server 2012

So you’ve installed the Hyper-V module in Server 2012 and are ready to start setting up your virtual environment but for some reason you cannot access the Hyper-V manager.

The reason is you need to add the Hyper-V management tools as a feature.

Go to add features in Server manager and the tick the box below:

Terminal Server – Users logging in with temp profiles

After you have migrated your terminal servers or configured Session Broker with roaming profiles you might find that some users are being logged in with temporary profiles. Below describes the steps to resolve this.

  1.  Request the user to log off from the TS session.
  1. Log in as the user and detect if the profile is problematic – It should give you a pop up telling you that you are logged in with a temp profile. To make sure, open command prompt and see if it shows the correct users profile in the first line or if it shows a temp profile.
  1. If you are using Session Broker (High availability terminal servers) – Go to command prompt, type hostname and see on what server you are experiencing the temp profile issue for the specific user (The problem might only be on the specific terminal server).
  1. Log off as the user and log on with an admin account.
  2. Go to regedit, locate the user and delete the users profile registry key.

HK_LOCAL_ MACHINE -> Software -> Microsoft -> Windows NT -> CurrentVersion -> ProfileList.

Right-click on ‘ProfileList’, click on ‘find’, type the name of the user, you will be directed to the users registery key, delete it (if there’s a duplicate, delete both). It usually creates a .bak registry entry if the profile is problematic.

6.  Copy the users pofile to a backup location (Moving the users profile out of the roaming profile location).

6.  You can now log in as the user – It will create a new profile for the user.

7.  Copy the old profile’s data to the new profile.

The user should now be able to continue working without being logged in with a temp profile.

Terminal Server – printing redirection

For server 2008 Terminal Servers you can use Easy Print – You don’t need identical drivers on Server and client.

For server 2003 Terminal Server you would need identical drivers on Server and client.

For Easy Print to work on Windows XP machines you would need SP3 and .Net Framework 3.5 installed.

Make sure ‘printers’ are selected on local resources of clients DRP connection.

RPC Server is unavailable when try to RDP to server

I once got the below message when trying to remote to a server after removing Active Directory from a server using dcpromo.

The reason I got the error message was because the server was configured to look at itself as a DNS server and because the DNS was also removed with the DCpromo command it could not find an Active Directory server for authentication.

The workaround I found was to add the following Dword to the registry:

In the folder:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

Add the following key:

IgnoreRegUserConfigErrors =Dword:1

This will allow you to remotely log into the server. Just take note that it might take a while for the first logon to go through.

 

Problem uninstalling ISA 2004

As you know when doing any sort of Server migration like Small Business server it is always best practice to remove the ISA Server as it can cause problems with moving mailboxes.

When trying to move the mailbox you might get the following error.

MapiExceptionNetworkError: Unable to make connection to the server.

To resolve this you need to uninstall ISA and then try the move again. Problem is sometimes when trying to uninstall ISA you will get the following error:

This patch package could not be opened. Verify that the patch package exists and that you can access it or contact the application vendor to verify that this is a valid Windows Installer Patch package.

 

I have found 2 different solutions to resolving this problem:

1. Run the Microsoft’s Fix problems with programs that can’t be installed or uninstalled which can be found here:

http://support.microsoft.com/mats/Program_Install_and_Uninstall

When running you will select ISA from the list and even thou the Tool says that it could not repair ISA you will still be able to completely uninstall it.

Unfortunately this tool sometimes give the following error message when trying to run it on a Small Business Server.

This troubleshooter does not apply to your system

We’re sorry, but this troubleshooter is not compatible with your current system’s configuration.

2. What I did to get around this problem was download and install ISA 2004 Service Pack 3 from the link below and re-apply it. After that I was able to uninstall ISA completely.

Link to ISA SP3: http://www.microsoft.com/en-us/download/details.aspx?id=8836

Creating an Internal Relay for Printers in Exchange 2010

So you’ve installed your new Exchange 2010 server but now you have to change your printers to point to the new server otherwise the scan to email is going to stop working when you decommission the old server.

Here is the steps you need to follow;

This connector will be an Internal SMTP relay connector that does not require authentication for the specified IP addresses.

 

  1. Open you Exchange Management Console and go to: Server Configuration – Hub Transport
  2. Right Click and select – New Receive Connector
  3. Give your connector a name and select Custom under intended use.

 

  1. Under Local network settings leave  as default and click next

  1. This is the  part that caused my relay connector to never work. By default any IP address is allowed to relay. Remove this and only add the printers’ specific IP addresses. So it will be for example: 192.168.0.1/32 If you add the entire subnet for example 192.168.0.0/24 then the connector will not work as the default connector will then take precedence  which requires authentication.

  1. Click new and the connector will be created
  2. Then right-click on the newly created connector and select properties.
  3. Go to the Permission Groups tab and tick Anonymous users and Exchange servers

  1.  Go to the Authentication tab and tick the Externally Secured box.

  1. Then just change the printers to point to the IP address of the new server.
  2. One consideration if you have Anti-spam enabled on the exchange server then you just have to white list the printers so it doesn’t get blocked as spam.

 

 

Deploy Printers via Group policy for Win XP, Vista and Win 7

I took me a while to figure out how to Deploy printers affectively using Group Policy.

Below is a step by step guide on how to deploy it for computers running Win XP and upwards.

  1. Download the appropriate drivers for the printer. This will mean in most cases you will need the 64 and 32bit drivers. I usually download the drivers for Server 2008 32 and 2008 64 as this seems to work the best.
  2. Install the Print Server role which can be found under Print & Document Services

  1. Open the Print Management MMC and go to the server. Right click and add the network printer exactly like you would normally.

  1. After its finished install right click on the printer go to Properties – Sharing – Additional Drivers and add the 32 bit drivers.
  1. Open the Group policy Management Console and create a Group Policy Object Called Deployed Printers. After this you have to link it either to an Organisational Unit on straight to the domain. When linking it to a OU please take note that you can deploy the printer per user or per computer. So make sure the if you deploy per user that the OU contains Users.

  1. Right click on the printer and select Deploy Printer with Group policy.

  1. Browse and select the Group Policy we created in step 5 and tick the users box. Then click add to deploy the printer. Your printer will then be listed under Deployed printers. The printer will then be available after a restart for workstations Vista and upwards. For computer running Win XP please continue with step 8.

 

  1. With Win XP computers we also need to add a file called Pushprinterconnections.exe which I’ve uploaded as I struggled to get hold of it.
  2. Edit the Deployed Printers Group policy and go to User Configuration – Policies – Windows Settings – Scripts and edit the Logon Scripts.
  1. Click on show files and copy the pushprinterconnections.exe into that folder. Then close the folder.
  2. Click add and select the pushprinterconnections.exe file and click ok.

  1. Apply and close the Policy and your XP computer should now also have the printer applied after a restart.

 

 

Installing Server 2008R2 from USB

So you’ve got everything prepared ready to install Server 2008R2 only to realize that you have the .iso for Server 2008R2 but no DVD to burn it on.

Luckily as long as you have a USB stick you can load the ISO on there and boot from USB.

Here is the steps:

D:\ = Server 2008R2 Mounted ISO

E:\ = Plugged in USB drive

1. Format the USB drive with FAT32

2. Run command:  D:\boot\bootsect.exe /NT60 E:  – This will make the stick bootable

3. Run Command: RoboCopy “D:” “E:” /S /E /copy:datso /zb /np /r:1 /W:1 – This will copy all the required files to the USB stick.

4. Make sure booting from USB is enabled on your server.