PowerShell script exchange
Post Reply
365Tech
Lurker
Posts: 2
Liked: never
Joined: Jan 07, 2018 1:02 am
Full Name: 365 Technologies
Contact:

Veeam B+r 9.5 Azure ad sync service

Post by 365Tech »

We had issues prior with a Windows server 2012 instance which is setup with Active Directory (secondary DC) which is dedicated for Azure AD sync and our future DC, it has Veeam B+R 95.

It all stemmed from an unfreeze error

5/15/2018 12:26:12 AM :: Processing DC Error: Unfreeze error: [Backup job failed.
Cannot create a shadow copy of the volumes containing writer's data.
A VSS critical writer has failed. Writer name: [SqlServerWriter]. Class ID: [{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}]. Instance ID: [{dd51cbfc-3624-4c08-82a3-bc11476f555f}]. Writer's state: [VSS_WS_FAILED_AT_PREPARE_SNAPSHOT]. Error code: [0x800423f4].]

We are using this pre-freeze script mentioned in this article:
https://forums.veeam.com/veeam-backup-r ... 83-30.html
http://www.tecfused.com/2017/10/veeam-b ... -31102017/

However the script is not restarting Azure ad sync service after the pre-freeze runs, any ideas?
rajesh.r988
Influencer
Posts: 12
Liked: 2 times
Joined: Mar 06, 2019 5:45 pm
Full Name: RAJESH RADHAKRISHNAN
Contact:

Re: Veeam B+r 9.5 Azure ad sync service

Post by rajesh.r988 »

First Try to start the services using Script Manually
Uninstall VM Tools - > Reboot , INstall VM Tools -> Reboot and Try
Additionally, Check Event Logs and Check Error related VSS and share

Check This KB , it may help also - https://www.veeam.com/kb1980
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Veeam B+r 9.5 Azure ad sync service

Post by veremin »

I'd start with testing the following string:

Code: Select all

start-process -filepath "MsiExec.exe" -argumentlist "/f {6C026A91-640F-4A23-8B68-05D589CC6F18}" -wait
Seems to be the root cause of the issue.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests