question

support-6979 avatar image
0 Votes"
support-6979 asked jiayaozhu-MSFT commented

Vss not installed on Windows Server 2012 R2

I have this Windows server 2012 R2 Essentials, after try to perform a backup of it using third party backup apps, shows an error that the Vss is not installed. Even occur after try to install an agent of one of this programs. The vss service is totally absent, not disabled. How could I install the service?

windows-server-2012windows-server-backup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

support-6979 avatar image
0 Votes"
support-6979 answered jiayaozhu-MSFT commented

Hi,

I executed on a command window as administrator:

DISM /Online /Cleanup-image /RestoreHealth

after that,

sfc /scannow

Now, the Vss service shows description, dependencies, etc.

Thank you very much for your support

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Congraduations! I am glad o hear that you have solved your issues and happy to see that my advice can be a little helpful. And I found that your issue is quite valuable for the public. So would you please help me Accept Answer? You can also accept answer of your own reply! An accepted blog can be considered as a closed case and be put on top of the forum, then the public can get access to the blog more easily. Thanks for your support for my work!

Have a nice day! : )

BR,
Joan

0 Votes 0 ·
jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered support-6979 commented

Hi,

Thanks for posting on our forum!

Basically, VSS is a inbuild service that has been introduced since Windows XP, so I am not sure what do you mean it is absent? When you right click the volume that you would like to take VSS, can you see Configure Shadow Copies?

Besides, I need some time to download 2012 R2 Essential to test if this version can use VSS.

Thanks for your support!

BR,
Joan


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thanks for the quick answer.

If I right click in the volume I would like to take VSS, and clik on "configure shadow copies", a message box pops up that says:

"Initialization failed

Error 0x80070424: The specified service does not exist as an installed service"

0 Votes 0 ·
support-6979 avatar image
0 Votes"
support-6979 answered

Hi,

Thanks for the quick answer.

If I right click in the volume I would like to take VSS, and clik on "configure shadow copies", a message box pops up that says:

"Initialization failed

Error 0x80070424: The specified service does not exist as an installed service"

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered support-6979 commented

Hi,

Thanks for your reply!

Based on your error message, it seems that your VSS service may be missing from the list on the Services MMC (services.msc) console. You can first try to restart VSS service:
Step 1: Click Start, type services.msc (without quotation marks) in the Search bar and press Enter.
Step2: Double click Volume Shadow Copy Service and switch to General tab.
Step 3: Change the Startup type to Automatic and click Apply.
Step 4: Click Start and click OK.

You then can do other general troubleshootings for this problem:
https://www.dell.com/support/kbdoc/en-sg/000139498/windows-server-troubleshooting-volume-shadow-copy-and-windows-server-backup-errors

Secondly, there might some System File corruptions, you may perform System File checker [SFC] scan on the computer, the scan replaces the corrupted system files with the original Windows version files.

Please feel free to give us feedback from the above troubleshooting, so that we can help you move on to the correct direction.

Thanks for your support!

BR,
Joan


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

thanks for your reply.

Volume shadow copy is not present on the services list when I run services.msc, so ican't restart it

The sfc/ scannow didn't find any integrity violation.

I don't know why the service is missing

0 Votes 0 ·
jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered jiayaozhu-MSFT commented

Hi,

Thanks for your reply!

Don't worry, we can re-register VSS service if needed. Follow the steps to check:
1) Can you see the service under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VSS?
2) What is the output of following command: vssadmin list writers?
3) Please run DISM /Online /Cleanup-image /RestoreHealth from CMD
4) If you cannot see VSS service under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VSS, and vssadmin list writers show nothing, try to reinstall VSS service:
http://www.freetechanswers.com/2010/04/how-to-reinstall-or-fix-volume-shadow.html

Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

If you can see VSS service under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VSS and the output of vssadmin list writers show certain information of VSS writers, then check if you could see swprv.dll inside c:\Windows\system32\swprv.dll and re-register it "regsvr32 swprv.dll." from cmd.

Thanks for your support! Feel free to give me feedback.

BR,
Joan


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, Jiayaozhu

Thanks for your reply.

1) Yes, I can see the service under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VSS
2) "Error: A Volume Shadow Copy Service encountered an unexpected error. Check the application log for more information.
2.1) This was on event viewer:

Event id 8193: Volume Shadow Copy Service error: Unexpected error calling routine OpenService (shSCManager, 'VSS', SERVICE_QUERY_STATUS). hr = 0x80070424, The specified service does not exist as an installed service.
.
Operation:
Initialize For Backup

2.2) Event id 13: Volume Shadow Copy Service information: The COM Server with CLSID {e579ab5f-1cc4-44b4-bed9-de0991ff0623} and name IVssCoordinatorEx2 cannot be started. [0x80070424, The specified service does not exist as an installed service.
]
Operation:
Instantiating VSS server

2.3) Even id 8193: Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. hr = 0x80070424, The specified service does not exist as an installed service.
.

Operation:
Instantiating VSS server

3)

4) I think I follow the steps on that url. Where I can find the hotfixes?


0 Votes 0 ·

Finally, I used the command

sc create "VSS" binpath= "%windir%\System32\vssvc.exe" displayname= "Volume Shadow Copy"

after that ran DISM /Online /Cleanup-image /RestoreHealth from CMD. Also did something similar with the swprv service that was missing too. I think the service dependencies for VSS still are missing, but I could install the software for backup and configure it. Let's wait for the first backup. Thanks to jiayaozhu-MSFT for his answers.

0 Votes 0 ·

Hi,

Thanks for your sharing! Hope to hear your good news very soon!

BR,
Joan

0 Votes 0 ·