Tuesday, 27 August 2024

The VHD containing the replica or one of it's snapshots could not be mounted or unmounted. (ID 40002)

Issue: 

The VHD containing the replica or one of its snapshots could not be mounted or unmounted. (ID 40002)


Environment:

the backup was configured in DPM 2016 of a VM in Windows 2016, Failover cluster, which was failing with above error. the only change due to which this issue started was the Hyper-V physical server was rebooted.

Solution:

Remove and Re-Add the VM in protection group, the issue was resolved. 


Wednesday, 21 August 2024

SCOM warning: Failed accessing windows event logs

 In SCOM 2019 was getting the following warning for few servers.

"Failed accessing windows event logs"

Resolution:

  1. Using Services Console:

    • Press Windows + R to open the Run dialog.
    • Type services.msc and press Enter.
    • In the Services window, find Microsoft Monitoring Agent.
    • Right-click on it and select Restart.

Tuesday, 2 July 2024

How to display video on Barco wall in VLC from NGS device

First note the IP of NGS device of which you want to display the video on Barco wall.

Type the IP and access in web browser as below.

https://192.168.12.12

select settings tab and then select Encoder settings and go down to "HDMI in" and there is steam 0 and stream 1, select the concern stream and right click on rtsp and select copy link.

Now open the VLC tool on the barco wall. From Media menu select Open network steam and past that copied URL. i.e it will be like "unsafe;rtsp://192.168.12.12/HDMIIn/v2dstream0" 

Delete the unsafe; from the above URL and hit enter.

Now the video should be displayed in the VLC in barco wall. 

Wednesday, 29 May 2024

How to install SCCM client manually on windows machine


To install SCCM agent on client windows machine, first download the source file to the windows machine on which you want to install the agent. place it in a folder, go to that path in command prompt and run the following command. 


ccmsetup.exe /mp:sccm.abc.com SMSSITECODE=101 SMSMP=sccm.abc.com FSP=sccm.abc.com DNSSUFFIX=abc.com

ccmsetup.exe /mp:NameOfManagementPoint SMSSITECODE=101 SMSMP=NameOfManagementPoint FSP=FallbackStatusPoint DNSSUFFIX=DomainName




Thursday, 18 April 2024

Disable the First things First popup in office 2013

To disable the following message in office 2013. You may do the following registry changes.


[Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Registration]
“AcceptAllEulas”=dword:00000001


 



To disable the following message in office 2013. You may do the following registry changes.



[Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\General]
“OptInDisable”=dword:00000001


Thursday, 19 October 2023

How to change Microsoft Exchange services startup type to automatic and start the services

 Issue:

There are some security patches of Microsoft exchange server which change the startup type of exchange services to disable from automatic, Due to which these services would not auto start after deploying the patches.  changing the startup type of these services may be time consuming and the better option would be to use the following command in exchange PowerShell. 



Get-Service | Where-Object { $_.DisplayName -like "Microsoft Exchange *" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -eq "IIS Admin Service" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -eq "Microsoft Filtering Management Service" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -eq "World Wide Web Publishing Service" } | Set-Service -StartupType Automatic

Get-Service | Where-Object { $_.DisplayName -like "Microsoft Exchange *" } | Start-Service

Get-Service | Where-Object { $_.DisplayName –eq “IIS Admin Service” } | Start-Service

Friday, 29 September 2023

Resolved: This computer is a member of a database availability group (DAG). It must be removed from the DAG before you can uninstall Exchange.

Issue detail:

Was trying to decommission Exchange 2019, but was getting the following error.


 "Error:

This computer is a member of a database availability group (DAG). It must be removed from the DAG before you can uninstall Exchange."


Resolution:

From role and feature, remove the failover cluster feature and reboot the system and then try again to start the uninstall from control panel/uninstall program.

the above error was no more.