DPM-VMM Helper Service not starting!
After installing the VMM Console and Agent on our DPM server to enable back up of Hyper-V Live Migration Cluster, the DPM-VMM Helper Service (VmmHelperServiceHost.exe) does not start on Windows Server 2012.
This can be found in Event Viewer:
Log Name: Application
Source: DpmVmmHelperService
Event ID: 0
Service cannot be started. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Microsoft.Internal.EnterpriseStorage.Dls.VmmHelper.RunSpacePool.GetNumberOfSteadyStateRunspaces()
at Microsoft.Internal.EnterpriseStorage.Dls.VmmHelper.CVmmHelperService..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.ServiceModel.Description.ServiceDescription.CreateImplementation(Type serviceType)
at System.ServiceModel.Description.ServiceDescription.SetupSingleton(ServiceDescription serviceDescription, Object implementation, Boolean isWellKnown)
at System.S...
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Microsoft.Internal.EnterpriseStorage.Dls.VmmHelper.RunSpacePool.GetNumberOfSteadyStateRunspaces()
at Microsoft.Internal.EnterpriseStorage.Dls.VmmHelper.CVmmHelperService..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.ServiceModel.Description.ServiceDescription.CreateImplementation(Type serviceType)
at System.ServiceModel.Description.ServiceDescription.SetupSingleton(ServiceDescription serviceDescription, Object implementation, Boolean isWellKnown)
at System.S...
When trying to start the service in services.msc, it states:
The DPM-VMM Helper Service service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
I fired up Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) and filtered out the process VmmHelperServiceHost.exe highlighting the result ACCESS DENIED and found this:
VmmHelperServiceHost.exe 7392 RegOpenKey HKLM\Software\Microsoft\Microsoft Data Protection Manager\2.0\Configuration ACCESS DENIED Desired Access: Read
I opened up regedit and browsed to HKLM\Software\Microsoft\Microsoft Data Protection Manager\2.0\Configuration, added the permission Everyone Read to that key and voila! The service started.
Hope this helps someone out as I couldn't find anything regarding this issue on google.
Ciao :)
Unable to install GUI on Windows Server Core
I've been trying to install GUI on a Windows Server 2012 R2 Core with the following command:
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart
But it keeps failing at 68%!
After a lot of googling around, I found this page:
It states that GUI cannot be added because the server cannot access Microsoft Update. Looking at %SystemRoot%\windowsupdate.log it shows me that the server is trying to contact our local WSUS for updates, which does not have the appropriate updates needed to add the GUI.
So I created a GPO which disables WSUS and put the server in the OU where I linked the GPO. Ran gpupdate and made sure that WSUS was disabled.
"Computer Configuration->Policies->Administrative Templates->Windows Components->Windows Update" and change "Specify intranet Microsoft update service location" to "Disabled". This will revert it to Microsoft.
Also, to speed up the install, I used the WIM-file from the operating system DVD as a source, mentioned on this page:
dism /get-wiminfo /wimfile:d:\sources\install.wim
dism /mount-wim /wimfile:d:\sources\install.wim /index:<n> /mountdir:c:\mountdir /readonly
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart -Source c:\mountdir\windows\winsxs
dism /unmount-wim /MountDir:C:\mountdir /discard
Hope this helps someone else out there!
Cheers!
Missing Scroll Bar SCSM 2012 Portal
Add the following style sheet to the SMPortalPage.master to solve this issue:
<style>
body.v4master {
height:inherit;
width:inherit;
overflow:visible!important; //!important to override the original theme.
}
body.v4master {
height:inherit;
width:inherit;
overflow:visible!important; //!important to override the original theme.
}
body #s4-workspace {
overflow-y:auto !important;
overflow-x:auto !important;
height:auto !important;
}
</style>