Windows Vista
sysprep doesnt enable webserver IIS windows server 2012 r2 datacenter
Hello everyone,
Im trying to deploy windows 2012 r2 vm. Ive a sysprep config with two part, servicing and settings. all settings part is succesfully configured in the so, but servicing doesnt and is supposed to enable iis webserver. When vm starts i go to c:/ windows/panther/unattend.xml is present and complete. if i run the unattend.xml with pkgmgr it enable servicing.
The question is why it doesnt work on the first attemp, while so is installing. But then it works if i do manually.
Thanks.
<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n
<unattend xmlns=\"urn:schemas-microsoft-com:unattend\">\r\n
<settings pass=\"windowsPE\">\r\n
<component name=\"Microsoft-Windows-International-Core-WinPE\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<SetupUILanguage>\r\n
<UILanguage>es-ES</UILanguage>\r\n
<WillShowUI>Never</WillShowUI>\r\n
</SetupUILanguage>\r\n
<InputLocale>es-ES</InputLocale>\r\n
<SystemLocale>es-ES</SystemLocale>\r\n
<UILanguage>es-ES</UILanguage>\r\n
<UserLocale>es-ES</UserLocale>\r\n
<UILanguageFallback>es-ES</UILanguageFallback>\r\n
</component>\r\n
<component name=\"Microsoft-Windows-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\" xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<UserData>\r\n
<AcceptEula>true</AcceptEula>\r\n
<FullName>__fullname__</FullName>\r\n
<Organization>test</Organization>\r\n
</UserData>\r\n
</component>\r\n
</settings>\r\n
<settings pass=\"specialize\">\r\n
<component name=\"Microsoft-Windows-Shell-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<TimeZone>SA Pacific Standard Time</TimeZone>\r\n
<RegisteredOwner>__fullname__</RegisteredOwner>\r\n
<RegisteredOrganization>test</RegisteredOrganization>\r\n
<ComputerName>__hostname__</ComputerName>\r\n
</component>\r\n
<component name=\"Microsoft-Windows-TCPIP\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\" xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<Interfaces>\r\n
<Interface wcm:action=\"add\">\r\n\t\t\t\t\t
<Ipv4Settings>\r\n
<DhcpEnabled>false</DhcpEnabled>\r\n
</Ipv4Settings>\r\n
<Identifier>Ethernet</Identifier>\r\n
<UnicastIpAddresses>\r\n
<IpAddress wcm:action=\"add\" wcm:keyValue=\"1\">__ipaddress__</IpAddress>\r\n </UnicastIpAddresses>\r\n
<Routes>\r\n
<Route wcm:action=\"add\">\r\n
<Identifier>0</Identifier>\r\n
<Prefix>0.0.0.0/0</Prefix>\r\n
<Metric>20</Metric>\r\n
<NextHopAddress>__gateway__</NextHopAddress>\r\n
</Route>\r\n
</Routes>\r\n\t\t\t\t
</Interface>\r\n\t\t\t
</Interfaces>\r\n\t\t
</component>\r\n
<component name=\"Microsoft-Windows-DNS-Client\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t\t\t
<Interfaces>\r\n\t\t\t\t
<Interface wcm:action=\"add\">\r\n\t\t\t\t\t
<Identifier>Ethernet</Identifier>\r\n\t\t\t\t\t
<DNSServerSearchOrder>\r\n
<IpAddress wcm:action=\"add\" wcm:keyValue=\"1\"></IpAddress>\r\n\t\t\t\t\t\t
<IpAddress wcm:action=\"add\" wcm:keyValue=\"2\"></IpAddress>\r\n </DNSServerSearchOrder>\r\n
</Interface>\r\n
</Interfaces>\r\n
</component>\r\n
</settings>\r\n
<settings pass=\"oobeSystem\">\r\n
<component name=\"Microsoft-Windows-Shell-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<UserAccounts>\r\n
<AdministratorPassword>\r\n
<Value>__adminpassword__</Value>\r\n
<PlainText>true</PlainText>\r\n
</AdministratorPassword>\r\n
</UserAccounts>\r\n
<RegisteredOwner>__fullname__</RegisteredOwner>\r\n
<RegisteredOrganization>test</RegisteredOrganization>\r\n
<TimeZone>SA Pacific Standard Time</TimeZone>\r\n
<OOBE>\r\n
<HideEULAPage>true</HideEULAPage>\r\n
<HideLocalAccountScreen>true</HideLocalAccountScreen>\r\n
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>\r\n
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>\r\n
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>\r\n
<NetworkLocation>Work</NetworkLocation>\r\n
<SkipMachineOOBE>true</SkipMachineOOBE>\r\n
<SkipUserOOBE>true</SkipUserOOBE>\r\n
</OOBE>\r\n
</component>\r\n
</settings>\r\n
<servicing>\r\n
<package action=\"configure\">\r\n
<assemblyIdentity name=\"Microsoft-Windows-ServerCore-Package\" version=\"6.3.9600.16384\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\"
language=\"neutral\" />\r\n
<selection name=\"WirelessNetworking\" state=\"true\" />\r\n
<selection name=\"Xps-Foundation-Xps-Viewer\" state=\"true\" />\r\n
<selection name=\"TelnetClient\" state=\"true\" />\r\n
<selection name=\"IIS-WebServerRole\" state=\"true\" />\r\n
<selection name=\"IIS-WebServer\" state=\"true\" />\r\n
<selection name=\"IIS-CommonHttpFeatures\" state=\"true\" />\r\n
<selection name=\"IIS-DefaultDocument\" state=\"true\" />\r\n
<selection name=\"IIS-StaticContent\" state=\"true\" />\r\n
<selection name=\"IIS-DirectoryBrowsing\" state=\"true\" />\r\n
<selection name=\"IIS-ApplicationDevelopment\" state=\"true\" />\r\n
<selection name=\"IIS-WebServerManagementTools\" state=\"true\" />\r\n
<selection name=\"IIS-ManagementConsole\" state=\"true\" />\r\n
<selection name=\"IIS-ManagementScriptingTools\" state=\"true\" />\r\n
<selection name=\"IIS-ASPNET\" state=\"true\" />\r\n
<selection name=\"IIS-ASPNET45\" state=\"true\" />\r\n
<selection name=\"IIS-NetFxExtensibility\" state=\"true\" />\r\n
<selection name=\"IIS-NetFxExtensibility45\" state=\"true\" />\r\n
<selection name=\"IIS-ISAPIExtensions\" state=\"true\" />\r\n
<selection name=\"IIS-CGI\" state=\"true\" />\r\n
<selection name=\"IIS-HttpErrors\" state=\"true\" />\r\n
<selection name=\"IIS-HttpRedirect\" state=\"true\" />\r\n
<selection name=\"IIS-RequestFiltering\" state=\"true\" />\r\n
<selection name=\"ServerCore-FullServer\" state=\"true\" />\r\n
<selection name=\"ServerCore-WOW64\" state=\"true\" />\r\n
<selection name=\"NetFx4ServerFeatures\" state=\"true\" />\r\n
<selection name=\"NetFx4\" state=\"true\" />\r\n
<selection name=\"MicrosoftWindowsPowerShell\" state=\"true\" />\r\n
<selection name=\"Application-Server\" state=\"true\" />\r\n
<selection name=\"IIS-Security\" state=\"true\" />\r\n
<selection name=\"IIS-BasicAuthentication\" state=\"true\" />\r\n
<selection name=\"IIS-WindowsAuthentication\" state=\"true\" />\r\n
<selection name=\"MicrosoftWindowsPowerShellRoot\" state=\"true\" />\r\n
<selection name=\"NetFx4Extended-ASPNET45\" state=\"true\" />\r\n
<selection name=\"IIS-ISAPIFilter\" state=\"true\" />\r\n
<selection name=\"IIS-ServerSideIncludes\" state=\"true\" />\r\n
<selection name=\"IIS-WebSockets\" state=\"true\" />\r\n
</package>\r\n
</servicing>\r\n
</unattend>\r\n
Help! - Critical Exception when attempting to add user permissions
SCVMM2016 with update 7:
Trying to add member permissions to a Role using the following PowerShell code:
$UserRole = Get-SCUserRole -Name "Cloud01Role"
Set-SCUserRole -UserRole $UserRole -AddMember "MyAD\VMg-Cloud01" -Permission "Stop,Start”
Throws the following error (below: This error dopes not happen if only ONE permission is selected, e.g.
Set-SCUserRole -UserRole $UserRole -AddMember "MyAD\VMg-Cloud01" -Permission "Stop”
works fine. Adding multiple permissions manually also works fine.
Has anyone else experienced this issue (and have a fix)?
Set-SCUserRole : VMM encountered a critical exception and created an exception report at C:\ProgramData\VMMLogs\SCVMM.391507a4-9bda-47ed-9ae0-0979bfa641a9\report.txt.
(Error ID: 20413)
See the report for exception type, exception message, stack trace and other relevant details. Also check the Windows Event Log for additional troubleshooting
information.
To restart the job, run the following command:
PS> Restart-Job -Job (Get-VMMServer localhost | Get-Job | where { $_.ID -eq "{d02fe513-abd8-44e1-b485-cde8e696749f}"})
At line:1 char:1
+ Set-SCUserRole -UserRole $UserRole -AddMember "UHIAD\VMg-Cloud01" -Pe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ReadError: (:) [Set-SCUserRole], CarmineException
+ FullyQualifiedErrorId : 20413,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.SetUserRoleCmdlet
Log:
----------------------------------------------------
------------------- Error Report -------------------
----------------------------------------------------
Error report created 27/08/2019 16:19:13
CLR is not terminating
----------------------------------------------------
--------------- Bucketing Parameters ---------------
----------------------------------------------------
EventType=VMM20
P1(appName)=vmmservice.exe
P2(appVersion)=4.0.2548.0
P3(assemblyName)=Remoting.dll
P4(assemblyVer)=4.0.2548.0
P5(methodName)=Microsoft.VirtualManager.Remoting.SelfServicePermissionTypeHelper.PermissionsListToCommaSeparatedString
P6(exceptionType)=System.Collections.Generic.KeyNotFoundException
P7(callstackHash)=5da6
SCVMM Version=4.0.2548.0
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=4.0.2548.0
Executable Name=vmmservice.exe
Executable Version=4.0.2244.0
Base Exception Target Site=140704817357096
Base Exception Assembly name=mscorlib.dll
Base Exception Method Name=System.ThrowHelper.ThrowKeyNotFoundException
Exception Message=The given key was not present in the dictionary.
EIP=0x00007ff87cb54c48
Build bit-size=64
----------------------------------------------------
------------ exceptionObject.ToString() ------------
----------------------------------------------------
System.Collections.Generic.KeyNotFoundException: The given key was not present
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Collections.Generic.List`1.ConvertAll[TOutput](Converter`2 converter)
at Microsoft.VirtualManager.Remoting.SelfServicePermissionTypeHelper.PermissionsListToCommaSeparatedString(List`1 permissions)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SelfServiceUserRoleUpdater.AuditPermissionChanges()
at Microsoft.VirtualManager.Engine.AuthorizationManager.SelfServiceUserRoleUpdater.AuditChanges(IVmmDbContext ctx)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.UpdateDB(Boolean audit, UserRoleUpdater updater, IVmmDbTransaction tx)
at Microsoft.VirtualManager.DB.SqlContext.Transact(CallSite callSite, String connectionString, WindowsIdentity identity, Action`1 action)
at Microsoft.VirtualManager.DB.TransactableDbContext.Microsoft.VirtualManager.DB.IVmmDbConnection.Transact(Action`1 action)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
----------------------------------------------------
------------------- Scope Trace --------------------
----------------------------------------------------
[s#aae] SetUserRoleSubtask.UpdateDB(this: (SetUserRoleSubtask#[2b8]) { subtaskId = a56c74fb-f715-450b-86ba-ed6a190149d1, description = (SubtaskDescription#2dcde37) Change properties of user role, children = (NotifyList`1<ISubtask>#3e92fb7) Microsoft.VirtualManager.Utils.NotifyList`1[Microsoft.VirtualManager.Engine.ISubtask],
taskContext = (TaskContext#30ecc0a) Microsoft.VirtualManager.Engine.TaskRepository.TaskContext, isInitialized = True, isTopLevelSubtask = True, shouldSkipCompletedSubtasksOnRestart = False, state = Running, clientTraceProvider = (TraceProvider#182a8ac) Microsoft.VirtualManager.Trace.TraceProvider,
authData = (TaskAuthorizationData#3cfae29) Microsoft.VirtualManager.Engine.TaskAuthorizationData }, audit: (Boolean#1) True, updater: (SelfServiceUserRoleUpdater#[1]) { tbd }, tx: (VmmDbTransaction#[91]) { startTime: (DateTime#44e47528) 27/08/2019 16:19:12
sqlContext: (SqlContext#[a0]) { [rw] SetUserRoleSubtask.RunSubtasktx = (SqlTransaction#12d700d) System.Data.SqlClient.SqlTransaction, currentTxRecord = (SqlTransactionRecord#[75]), constructionIdentity = (WindowsIdentity#357944e) System.Security.Principal.WindowsIdentity
commandList: { n=7 { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_RBS_UserRole_GetParents(ObjectID=6ca54772-10e1-44de-b6f8-6013f2b74a89)", @27/08/2019 16:19:12 [+00:00:00.0156287] }, { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_RBS_UserRole_GetOneFull(RoleID=75700cd5-893e-4f68-ada7-50ef4668acc6)",
@27/08/2019 16:19:12 }, { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_RBS_UserRole_GetChildren(RoleID=6ca54772-10e1-44de-b6f8-6013f2b74a89)", @27/08/2019 16:19:12 [+00:00:00.0156077] }, { tx:(SqlTransactionRecord#[75]) NQ:"dbo.prc_RBS_UserRole_CommonUpdate(RoleID=6ca54772-10e1-44de-b6f8-6013f2b74a89,
OwnerIdentifier=S-1-5-21-3195822932-2009791581-2814061983-29022, Description=, Name=Cloud01Role, LastUpdatedTimestamp=27/08/2019 16:19:12, ShowPROTips=False, VMNetworkMaximum=, VMNetworkMaximumPerUser=, VPNConnectionMaximum=, VPNConnectionMaximumPerUser=,
NATConnectionMaximum=, NATConnectionMaximumPerUser=, VMNetworkVPNMaximumBandwidthInKbps=, VMNetworkVPNMaximumBandwidthOutKbps=)", @27/08/2019 16:19:12 }, { tx:(SqlTransactionRecord#[75]) NQ:"dbo.prc_TR_Task_Update(@TaskID=d02fe513-abd8-44e1-b485-cde8e696749f,
@IsVisible=True, @PercentComplete=0, @Description=SetUserRole, @DescriptionXml=, @TaskState=Running, @ErrorCode=0, @ErrorInfoXml=, @AdditionalMessages=System.Byte[], @SourceName=, @TargetName=, @TargetObjectID=, @TargetObjectType=None, @ResultObjectID=6ca54772-10e1-44de-b6f8-6013f2b74a89,
@ResultObjectType=43, @EndDateTime=, @LastUpdatedDateTime=27/08/2019 15:19:12, @ResumeAttemptCount=0)", @27/08/2019 16:19:12 [+00:00:00.0159038] }, { tx:(SqlTransactionRecord#[75]) NQ:"dbo.prc_RBS_UserRole_SelfServiceUpdate(RoleID=6ca54772-10e1-44de-b6f8-6013f2b74a89,
Permissions=12, LastUpdatedTimestamp=27/08/2019 16:19:12)", @27/08/2019 16:19:12 }, { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_Cloud_GetCloudById(CloudId=7bd5112c-b3fa-48fb-b138-3872b5b2e62d)", @27/08/2019 16:19:12 [+00:00:00.0468708] }
} txRecordList: { n=1 { tx#117 SetUserRoleSubtask.RunSubtask() +00:00:00.3753102 ReadCommitted canRetry: false commands: { n=7 { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_RBS_UserRole_GetParents(ObjectID=6ca54772-10e1-44de-b6f8-6013f2b74a89)",
@27/08/2019 16:19:12 [+00:00:00.0156287] }, { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_RBS_UserRole_GetOneFull(RoleID=75700cd5-893e-4f68-ada7-50ef4668acc6)", @27/08/2019 16:19:12 }, { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_RBS_UserRole_GetChildren(RoleID=6ca54772-10e1-44de-b6f8-6013f2b74a89)",
@27/08/2019 16:19:12 [+00:00:00.0156077] }, { tx:(SqlTransactionRecord#[75]) NQ:"dbo.prc_RBS_UserRole_CommonUpdate(RoleID=6ca54772-10e1-44de-b6f8-6013f2b74a89, OwnerIdentifier=S-1-5-21-3195822932-2009791581-2814061983-29022, Description=, Name=Cloud01Role,
LastUpdatedTimestamp=27/08/2019 16:19:12, ShowPROTips=False, VMNetworkMaximum=, VMNetworkMaximumPerUser=, VPNConnectionMaximum=, VPNConnectionMaximumPerUser=, NATConnectionMaximum=, NATConnectionMaximumPerUser=, VMNetworkVPNMaximumBandwidthInKbps=, VMNetworkVPNMaximumBandwidthOutKbps=)",
@27/08/2019 16:19:12 }, { tx:(SqlTransactionRecord#[75]) NQ:"dbo.prc_TR_Task_Update(@TaskID=d02fe513-abd8-44e1-b485-cde8e696749f, @IsVisible=True, @PercentComplete=0, @Description=SetUserRole, @DescriptionXml=, @TaskState=Running, @ErrorCode=0, @ErrorInfoXml=,
@AdditionalMessages=System.Byte[], @SourceName=, @TargetName=, @TargetObjectID=, @TargetObjectType=None, @ResultObjectID=6ca54772-10e1-44de-b6f8-6013f2b74a89, @ResultObjectType=43, @EndDateTime=, @LastUpdatedDateTime=27/08/2019 15:19:12, @ResumeAttemptCount=0)",
@27/08/2019 16:19:12 [+00:00:00.0159038] }, { tx:(SqlTransactionRecord#[75]) NQ:"dbo.prc_RBS_UserRole_SelfServiceUpdate(RoleID=6ca54772-10e1-44de-b6f8-6013f2b74a89, Permissions=12, LastUpdatedTimestamp=27/08/2019 16:19:12)", @27/08/2019 16:19:12
}, { tx:(SqlTransactionRecord#[75]) Q:"dbo.prc_Cloud_GetCloudById(CloudId=7bd5112c-b3fa-48fb-b138-3872b5b2e62d)", @27/08/2019 16:19:12 [+00:00:00.0468708] } } } } , conn = (SqlConnection#1a884d2) { State: Open Database: VirtualManagerDB DataSource:
PC-SCVMMDCC PacketSize: 8000 ServerVersion: 14.00.2027 StatisticsEnabled: False WorkstationId: PC-SCVMMDCC } } }) in s:\btvsts\2714\private\product\engine\authorizationmanagertasks\SetUserRoleTask.cs:line 199
[s#aa1] Task`1.SubtaskRun(this: (Task`1<SetUserRoleSubtask>#[1]) { TBD }, TaskID: (guid) d02fe513-abd8-44e1-b485-cde8e696749f) in t:\btvsts\2811\private\product\engine\TaskRepository\Task.cs:line 254
----------------------------------------------------
--------------- exception.StackTrace ---------------
----------------------------------------------------
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Collections.Generic.List`1.ConvertAll[TOutput](Converter`2 converter)
at Microsoft.VirtualManager.Remoting.SelfServicePermissionTypeHelper.PermissionsListToCommaSeparatedString(List`1 permissions)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SelfServiceUserRoleUpdater.AuditPermissionChanges()
at Microsoft.VirtualManager.Engine.AuthorizationManager.SelfServiceUserRoleUpdater.AuditChanges(IVmmDbContext ctx)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.UpdateDB(Boolean audit, UserRoleUpdater updater, IVmmDbTransaction tx)
at Microsoft.VirtualManager.DB.SqlContext.Transact(CallSite callSite, String connectionString, WindowsIdentity identity, Action`1 action)
at Microsoft.VirtualManager.DB.TransactableDbContext.Microsoft.VirtualManager.DB.IVmmDbConnection.Transact(Action`1 action)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
----------------------------------------------------
------------- StackTrace from handler --------------
----------------------------------------------------
This is the call stack from where the exception was caught, not where it was thrown.
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
----------------------------------------------------
-------------------- Assemblies --------------------
----------------------------------------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Module=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Version=4.7.3416.0
BuildType=retail
Product=Microsoft® .NET Framework
VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\vmmservice.exe
Module=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\vmmservice.exe
Version=4.0.2244.0
BuildType=retail
Product=System Center Virtual Machine Manager 2016
System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
Version=4.7.3062.0
BuildType=retail
Product=Microsoft® .NET Framework
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
Version=4.7.3451.0
BuildType=retail
Product=Microsoft® .NET Framework
TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\TraceWrapper.dll
Module=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\TraceWrapper.dll
Version=4.0.1662.0
BuildType=retail
Product=System Center Virtual Machine Manager 2016
Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Utils.dll
Module=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Utils.dll
Version=4.0.2548.0
BuildType=retail
Product=System Center Virtual Machine Manager 2016
NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\NativeMethods.dll
Module=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\NativeMethods.dll
Version=4.0.2244.0
BuildType=retail
Product=System Center Virtual Machine Manager 2016
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
Version=4.7.3429.0
BuildType=retail
Product=Microsoft® .NET Framework
Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Module=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Version=4.0.2548.0
BuildType=retail
Product=System Center Virtual Machine Manager 2016
Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Engine.Common.dll
Module=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Engine.Common.dll
Version=4.0.2139.0
BuildType=retail
Product=System Center Virtual Machine Manager 2016
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
Version=4.7.3324.0
BuildType=retail
Product=Microsoft® .NET Framework
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
Version=4.7.3062.0
BuildType=retail
Product=Microsoft® .NET Framework
Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Errors.dll
Module=C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\Bin\Errors.dll
Version=4.0.2548.0
BuildType=retail
Product=System Center Virtual Machine Manager 2016
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
Version=4.7.3260.0
Product=Microsoft® .NET Framework
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
Version=4.7.3221.0
Product=Microsoft® .NET Framework
System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll
Version=4.7.3062.0
BuildType=retail
Product=Microsoft® .NET Framework
Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll
Version=4.7.3062.0
BuildType=retail
Product=Microsoft® .NET Framework
System.Dynamic, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Dynamic.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Dynamic.dll
Version=4.7.3062.0
BuildType=retail
Product=Microsoft® .NET Framework
----------------------------------------------------
--------- Extra Data for Watson Report -------------
----------------------------------------------------
Error Reporting Enabled=True
*** Extra Data ***
Process ID = 2984 (0x0ba8)
Managed Thread ID = 65
Native Thread ID = 592 (0x0250)
sysprep doesnt enable webserver IIS windows server 2012 r2 datacenter
Hello everyone,
Im trying to deploy windows 2012 r2 vm. Ive a sysprep config with two part, servicing and settings. all settings part is succesfully configured in the so, but servicing doesnt and is supposed to enable iis webserver. When vm starts i go to c:/ windows/panther/unattend.xml is present and complete. if i run the unattend.xml with pkgmgr it enable servicing.
The question is why it doesnt work on the first attemp, while so is installing. But then it works if i do manually.
Thanks.
<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n
<unattend xmlns=\"urn:schemas-microsoft-com:unattend\">\r\n
<settings pass=\"windowsPE\">\r\n
<component name=\"Microsoft-Windows-International-Core-WinPE\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<SetupUILanguage>\r\n
<UILanguage>es-ES</UILanguage>\r\n
<WillShowUI>Never</WillShowUI>\r\n
</SetupUILanguage>\r\n
<InputLocale>es-ES</InputLocale>\r\n
<SystemLocale>es-ES</SystemLocale>\r\n
<UILanguage>es-ES</UILanguage>\r\n
<UserLocale>es-ES</UserLocale>\r\n
<UILanguageFallback>es-ES</UILanguageFallback>\r\n
</component>\r\n
<component name=\"Microsoft-Windows-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\" xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<UserData>\r\n
<AcceptEula>true</AcceptEula>\r\n
<FullName>__fullname__</FullName>\r\n
<Organization>test</Organization>\r\n
</UserData>\r\n
</component>\r\n
</settings>\r\n
<settings pass=\"specialize\">\r\n
<component name=\"Microsoft-Windows-Shell-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<TimeZone>SA Pacific Standard Time</TimeZone>\r\n
<RegisteredOwner>__fullname__</RegisteredOwner>\r\n
<RegisteredOrganization>test</RegisteredOrganization>\r\n
<ComputerName>__hostname__</ComputerName>\r\n
</component>\r\n
<component name=\"Microsoft-Windows-TCPIP\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\" xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<Interfaces>\r\n
<Interface wcm:action=\"add\">\r\n\t\t\t\t\t
<Ipv4Settings>\r\n
<DhcpEnabled>false</DhcpEnabled>\r\n
</Ipv4Settings>\r\n
<Identifier>Ethernet</Identifier>\r\n
<UnicastIpAddresses>\r\n
<IpAddress wcm:action=\"add\" wcm:keyValue=\"1\">__ipaddress__</IpAddress>\r\n </UnicastIpAddresses>\r\n
<Routes>\r\n
<Route wcm:action=\"add\">\r\n
<Identifier>0</Identifier>\r\n
<Prefix>0.0.0.0/0</Prefix>\r\n
<Metric>20</Metric>\r\n
<NextHopAddress>__gateway__</NextHopAddress>\r\n
</Route>\r\n
</Routes>\r\n\t\t\t\t
</Interface>\r\n\t\t\t
</Interfaces>\r\n\t\t
</component>\r\n
<component name=\"Microsoft-Windows-DNS-Client\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t\t\t
<Interfaces>\r\n\t\t\t\t
<Interface wcm:action=\"add\">\r\n\t\t\t\t\t
<Identifier>Ethernet</Identifier>\r\n\t\t\t\t\t
<DNSServerSearchOrder>\r\n
<IpAddress wcm:action=\"add\" wcm:keyValue=\"1\"></IpAddress>\r\n\t\t\t\t\t\t
<IpAddress wcm:action=\"add\" wcm:keyValue=\"2\"></IpAddress>\r\n </DNSServerSearchOrder>\r\n
</Interface>\r\n
</Interfaces>\r\n
</component>\r\n
</settings>\r\n
<settings pass=\"oobeSystem\">\r\n
<component name=\"Microsoft-Windows-Shell-Setup\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\" versionScope=\"nonSxS\"
xmlns:wcm=\"http://schemas.microsoft.com/WMIConfig/2002/State\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n
<UserAccounts>\r\n
<AdministratorPassword>\r\n
<Value>__adminpassword__</Value>\r\n
<PlainText>true</PlainText>\r\n
</AdministratorPassword>\r\n
</UserAccounts>\r\n
<RegisteredOwner>__fullname__</RegisteredOwner>\r\n
<RegisteredOrganization>test</RegisteredOrganization>\r\n
<TimeZone>SA Pacific Standard Time</TimeZone>\r\n
<OOBE>\r\n
<HideEULAPage>true</HideEULAPage>\r\n
<HideLocalAccountScreen>true</HideLocalAccountScreen>\r\n
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>\r\n
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>\r\n
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>\r\n
<NetworkLocation>Work</NetworkLocation>\r\n
<SkipMachineOOBE>true</SkipMachineOOBE>\r\n
<SkipUserOOBE>true</SkipUserOOBE>\r\n
</OOBE>\r\n
</component>\r\n
</settings>\r\n
<servicing>\r\n
<package action=\"configure\">\r\n
<assemblyIdentity name=\"Microsoft-Windows-ServerCore-Package\" version=\"6.3.9600.16384\" processorArchitecture=\"amd64\" publicKeyToken=\"31bf3856ad364e35\"
language=\"neutral\" />\r\n
<selection name=\"WirelessNetworking\" state=\"true\" />\r\n
<selection name=\"Xps-Foundation-Xps-Viewer\" state=\"true\" />\r\n
<selection name=\"TelnetClient\" state=\"true\" />\r\n
<selection name=\"IIS-WebServerRole\" state=\"true\" />\r\n
<selection name=\"IIS-WebServer\" state=\"true\" />\r\n
<selection name=\"IIS-CommonHttpFeatures\" state=\"true\" />\r\n
<selection name=\"IIS-DefaultDocument\" state=\"true\" />\r\n
<selection name=\"IIS-StaticContent\" state=\"true\" />\r\n
<selection name=\"IIS-DirectoryBrowsing\" state=\"true\" />\r\n
<selection name=\"IIS-ApplicationDevelopment\" state=\"true\" />\r\n
<selection name=\"IIS-WebServerManagementTools\" state=\"true\" />\r\n
<selection name=\"IIS-ManagementConsole\" state=\"true\" />\r\n
<selection name=\"IIS-ManagementScriptingTools\" state=\"true\" />\r\n
<selection name=\"IIS-ASPNET\" state=\"true\" />\r\n
<selection name=\"IIS-ASPNET45\" state=\"true\" />\r\n
<selection name=\"IIS-NetFxExtensibility\" state=\"true\" />\r\n
<selection name=\"IIS-NetFxExtensibility45\" state=\"true\" />\r\n
<selection name=\"IIS-ISAPIExtensions\" state=\"true\" />\r\n
<selection name=\"IIS-CGI\" state=\"true\" />\r\n
<selection name=\"IIS-HttpErrors\" state=\"true\" />\r\n
<selection name=\"IIS-HttpRedirect\" state=\"true\" />\r\n
<selection name=\"IIS-RequestFiltering\" state=\"true\" />\r\n
<selection name=\"ServerCore-FullServer\" state=\"true\" />\r\n
<selection name=\"ServerCore-WOW64\" state=\"true\" />\r\n
<selection name=\"NetFx4ServerFeatures\" state=\"true\" />\r\n
<selection name=\"NetFx4\" state=\"true\" />\r\n
<selection name=\"MicrosoftWindowsPowerShell\" state=\"true\" />\r\n
<selection name=\"Application-Server\" state=\"true\" />\r\n
<selection name=\"IIS-Security\" state=\"true\" />\r\n
<selection name=\"IIS-BasicAuthentication\" state=\"true\" />\r\n
<selection name=\"IIS-WindowsAuthentication\" state=\"true\" />\r\n
<selection name=\"MicrosoftWindowsPowerShellRoot\" state=\"true\" />\r\n
<selection name=\"NetFx4Extended-ASPNET45\" state=\"true\" />\r\n
<selection name=\"IIS-ISAPIFilter\" state=\"true\" />\r\n
<selection name=\"IIS-ServerSideIncludes\" state=\"true\" />\r\n
<selection name=\"IIS-WebSockets\" state=\"true\" />\r\n
</package>\r\n
</servicing>\r\n
</unattend>\r\n
Ubuntu 18.04 and SCVMM
We use Ubuntu 14.04 and 16.04 on a Hyper-V cluster managed by SCVMM 2012R2. We also use the template functionality to deploy new Ubuntu VMs quickly, see: https://docs.microsoft.com/en-us/system-center/vmm/vm-linux?view=sc-vmm-1807
Since Ubuntu 14.04 will be eol in a couple of months we are looking to upgrade/migrate those VMs to Ubuntu 18.04. While Ubuntu 18.04 seems to work fine in our environment, when installed manually, we cannot create new VM templates. Ubuntu 18.04 has had a few changes, mostly in the networking department. It no longer uses the /etc/network/interfaces file to configure the network but something called netplan, which has different config files and syntax.
Does anyone have any experience on how to deploy Ubuntu 18.04 VMs with any newer SCVMM version? Any workaround? If you don't do SCVMM templates with Linux VMs, what do you use instead?
VMM 2016 - WSUS and Library OS version support
We currently have a VMM 2016 server running Server 2016. We also have a Server 2012 R2 VMM Library server and WSUS server. I'd like to upgrade to VMM 2019. I know VMM 2019 doesn't support Server 2012 R2 hosts, library or WSUS servers. I'd like to get to Server 2019 for everything, but VMM 2016 doesn't support it yet for hosts, library or WSUS servers. What's the ideal upgrade process considering I'd like to get my VMM server, Library Server and WSUS server all up to Server 2019? I see it as one of these two options:
- in place upgrade of library and wsus servers from server 2012 r2 to server 2016
- Uninstall VMM 2016
- in place upgrade of VMM server to Server 2019
- install vmm 2019
- in place upgrade of library and wsus servers from server 2016 to server 2019
This is a lot of Server OS in place upgrades, which isn't generally a path you want to take for servers.
Option #2
- provision new Server 2016 library and wsus servers and add them to VMM 2016
- uninstall vmm 2016
- in place upgrade of VMM server to Server 2019 (or provision a new server 2019 with the same hostname and IP of original vmm server)
- install vmm 2019
- in place upgrade of library and wsus servers from server 2016 to server 2019 (or provision new Server 2019 library and wsus servers)
I'll probably go with option #2, but am I missing anything? Can anyone fill in any holes or anything i'm not thinking of?
Thanks!
Creating new storage fails at "Mount Storage Disk on NODE"
When I create new storage in VMM, the creation always fails at the step:
Mounts storage disk on NODE
The error message observed is:
Error (20411)
VMM could not invoke method CreateVolume on MSFT_Disk (ObjectId = "{1}\\NODE\root/Microsoft/Windows/...) on the server NODE.DOMAIN. Failed with error HRESULT 0x80338029 The WS-Management service cannot complete the operation within the time specified in
OperationTimeout.
The disk is provisioned on the SAN and the iSCSI initiators are allocated. If I connect to the specified NODE, I can see that the disk is visible, but offline.
I can manually bring the disk online and format it, after which it will show up in the cluster properties for addition as an available disk.
Any idea on how to fix this issue?
VMM: Disable "Specify Credentials" in VMM login window
Is it possible to disable the "Specify Credentials" option in the VMM login window?
I want to have all logins use the current windows credentials. Is there a GPO or other configuration for this?
User role using AD Groups not working
SCVMM 2016 - I'm trying to give self-service users access to a Cloud by using an AD group.
I have set up a user role for the Cloud which has the AD group as a member.
I have given the AD group the required permissions to the VMs associated with the Cloud.
I then added an AD user account to the AD group.
When attempting to connect with the VMM client using the AD user account I get the following error:
"You cannot access VMM management server <Servername>. Contact the Virtual Machine Manager administrator to verify that your account is a member of a valid user role and then try the operation again. ID: 1604"
In VMM if I give the AD user account the same privileges as the AD group then everything works.
It appears therefore that VMM is not reading the AD group memberships and so the group members have no rights to connect.
Has anyone seen this before (and fixed it)? Are there any logs I can check which might help?
Cheers, Steve
Auto refresh feature in VMM 2019
We recently installed VMM 2019 in our environment and added VMware vCenter servers.
We would like to know if any changes to the hosts and VMs ((add/remove) from the vcenter will be replicated on VMM as well.
Does it auto refresh or need to do manually each time we do changes on vcenter?
Sharing VMs
Hello,
I would like to allow our Tenant admins to share newly created VMs with team members. Are they even allowed to share? They can change owners, but when they click on the Add button, the list is empty and there is a message on the bottom: "No Self-Service user roles were found for sharing this object". Delegated and regular admins don't have this problem.
Thanks
VMM 2016 - Unexpected Network Traffic Wireshark
Hi Everyone,
I manage our corporate network and I don't know much about VMM or the way it operates. I recently implemented a Network Access Control system and it started picking up rogue DHCP discover packets on our network. After running wireshark i was able to determine
that the VMM 2016 server and all other Servers that have the agent installed are sending out these packets. If i shutdown the VMM2016 server then i no longer see any discovery packets on the network. The issue with these is that they are sent out using random"Client MAC addresses" and my NAC software picks it up as a new host. About 16 of these are sent every hour so it the meaningless hosts start to add up quickly. See the packet below:
Ethernet II, Src: HewlettP_f4:31:9c (3c:4a:92:f4:31:9c), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol Version 4, Src: XXX.XXX.XXX.XXX, Dst: 255.255.255.255
User Datagram Protocol, Src Port: 68, Dst Port: 67
Bootstrap Protocol (Discover)
Message type: Boot Request (1)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Hops: 0
Transaction ID: 0x302c63f0
Seconds elapsed: 60
Bootp flags: 0x8000, Broadcast flag (Broadcast)
Client IP address: XXX.XXX.XXX.XXX
Your (client) IP address: 0.0.0.0
Next server IP address: 0.0.0.0
Relay agent IP address: 0.0.0.0
Client MAC address: c0:06:47:3e:c6:c4 (c0:06:47:3e:c6:c4)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (53) DHCP Message Type (Discover)
Option: (61) Client identifier
Option: (55) Parameter Request List
Option: (255) End
I notice that the machines with the agent installed also have "microsoft system center virtual machine manager dhcp server" What does this do? I removed it from a test machine but it did not fix the issue.
Why does this happen? can anyone think of a fix?
Thanks
-Mark
SCVMM 2019 Log Directory?
Hi,
Seems that SCVMM 2019 does not place Logs here anymore : C:\ProgramData\VMMLogs
Anyone who can tell me the new location?
This VMM is a 2016 which has been inplace Upgraded to 2019, FYI.
Thank you so much!
SCVMM 2019 - New Logical Switch error
Hello
I have added Windows server 2016 Hyper V host to System Center Virtual Machine Manager 2019.
I have Logical Switch created in VMM with Uplink Mode: Team
When i try to add New Logical Switch to Windows server 2016 Hyper V host i get error:
Error (505)
Virtual Machine Manager was unable to create a new virtual switch 2D70BE71-51B8-4B53-8C94-468752C31619.
Recommended Action
Check the virtual switch name, and then try the operation again.
I dont have any other Switches configured on Hyper V host.
Can someone help me with this?\
Thank You !
Smi-s storage provider not responding and failing to refresh
Hello,
We user SCVMM 2012 R2 UR 13 in combination with Netapp 3.0 shares. To make the shares available we have a seperate server running with the Netapp SMI-s agent.
For the last few days the SMI-s storage provider is showing status 'not responding' in the console and it fails to refresh or rescan with the following error:
2901: The operation did not complete successfully because of a parameter or call sequence that is not valid. Ensure that the parameters are valid, and then try the operation again.
On the smi-s agent server everything seems to be working alright. I can query the storage system without problems.
I have restarted both the SCVMM server and the SMI-S server, but this did not help.
I also tried to create a trace file on the SCVMM server for the storage provider which shows this error:
[0]04E0.13C0::2019-08-06 14:01:55.732 [Microsoft-VirtualMachineManager-Debug]14,4,ImgLibOM.cs,326,Update DB Row of StorageFileServer object netapp-svm with ID
d3e0bfd9-e1ac-49b3-a30b-91ab167430cd,{b8aa5894-0664-4797-a624-3ada50553e68}
[0]04E0.13C0::2019-08-06 14:01:55.733 [Microsoft-VirtualMachineManager-Debug]4,4,ImgLibOM.cs,308,Failing LibObjectBase.UpdateDB
[s#275616 6ms] [ex#14f9] New exception = [[(CarmineException#a891) { Microsoft.VirtualManager.Utils.CarmineException:
The operation did not complete successfully because of a parameter or call sequence that is not valid.
Ensure that the parameters are valid, and then try the operation again. at Microsoft.VirtualManager.DB.SqlRetryCommand.AddParameter
(String name, SqlDbType type, Boolean nullable, Int32 size, String typeName, Object value) at Microsoft.VirtualManager.DB.SqlRetryCommand.AddParameter
(String name, SqlDbType type, Boolean nullable, Int32 size, Object value) at Microsoft.VirtualManager.DB.ImageLibrary.StrgFileServerDBAccess.
SetStorageFileServerParameters(SqlRetryCommand cmd, StorageFileServerData data) at
Microsoft.VirtualManager.DB.ImageLibrary.StrgFileServerDBAccess.ExecuteSetStorageFileServerSP(String spName, StorageFileServerData stData, ImgLibCat
Has anyone ever seen this problem and/or knows how to fix this?
thanks!
Rename SCVMM server
Dear all,
i have SCVMM 2016 server with sql installed on the same server. Today i decided to rename the server, after that SCVMM service is stuck in starting state. In vmm logs i find the errors below. Sql service is running and the database is up and running.
'
Microsoft.VirtualManager.DB.NonFatalDbException: Database operation failed.Ensure that the SQL Server is running and configured correctly, and try the operation again. ---> System.Data.SqlClient.SqlException:'
Import-SCLibraryPhysicalResource, BITS and non-interactive sessions
I'm trying to automate the uploading of an artefact to the VMM library using Import-SCLibraryPhysicalResource as a self-service user.
The commands are being run remotely via Ansible, which uses WinRM.
The import fails due to BITS being unable to upload the file. I suspect this is an instance of BITS requiring aninteractive session in order to work.
Is there any way to do this import without VMM relying on BITS? Or is there a way to work around the interactive session requirement of BITS?
Oddity with Migrating in to Private Cloud
Hi there. I'm migrating our 2012R2 hypervisor environment up into VMM 2019 on 2019 and then breaking out Private Clouds for departments to use as opposed to having dedicated hypervisors.
One weird issue I'm seeing is in setting the tenant and user groups. So I created the private cloud with it's dedicated VLAN, resource quotas, etc.. all looks gravy from the admin side. Then went into the VM view and modified the VMs to be included to the farm. Everything is still great; quotas assigned and resources graphed out, etc... I configure a tenant admin group removing rights for shielded VMs and azure profiles, but otherwise left that open. I also left the user group resource limits unchecked, thinking it would just inherit from the private cloud.
I then log in as a tenant admin user to QA the site.... and there's nothing available. Going back to the tenant admun user group for this cloud, I add all the VMs into the Resources pane of the User role group and going back to the test user, I can now see the VMs. But what is still not working? Quota. Quota shows up as empty of resources with the set threshold listed. Outside of logic this then seems to prevent VM creation, snapshotting and other resource dependent functions.
Anyone know what might be going on here?
Cannot get VMs to talk to Domain Controller
Host not responding
The hosts are new servers running server2019 and the version of VMM is also 2019.
The plan is to move VMs from our current hyperV cluster to this new one.
I validated my cluster without issue and I have been moving non essential VMs from the old to the new cluster. A couple of weeks ago I started experiencing an issue with the cluster. All of the VMs on a particular host report "Host not responding"
Despite this message the VMs work without issue, but I am unable to migrate the VMs to a different host. When I check the host it appears to be working ok but I cannot connect to hyperV within the host even though the services appear to be running. If I try and restart the host it fails to restart complaining that it cannot terminate failover cluster manager. The only method I have found to resolve the issue is to power off the host. Once back up everything works fine.
I thought it may have been an issue with AV or backup software, but I have removed the AV and the backup software runs without issue every day whereas this error can take several days before it reoccurs. It can be any of the hosts that has this issue and it doesnt appear to correspond with certain VMs being run by the host.