Robson Martins
Robson Martins

Reputation: 61

Blue Screen - SnapShot restore in Compute Engine - GCP

I cannot restore a snapshot of an instance with Windows Server 2019. When restoring the snapshot generated with the machine turned on, I get a machine that does not start and always has a blue screen as a return. When restoring a snapshot generated with the machine turned off, everything works normally, the restored machine boots normally. Serial Port = inaccessible_boot_device 0xffff google cloud platform

Upvotes: 6

Views: 1032

Answers (1)

rriovall
rriovall

Reputation: 486

There is a restriction in VSS enabled snapshot.

  • When a VSS snapshot is taken, Windows marks the volume as read-only.
  • The read-only flag must be cleared if a user want to create an instance from it.

To work around this, remove the read-only flag from any new disk that you create from a VSS snapshot.

Alternatively, you can create a new disk/compute instance using gcloud beta compute instances create --erase-windows-vss-signature

gcloud compute instances create instance-3 \
--source-snapshot=snapshot-1 \
--boot-disk-size=50 \
--boot-disk-type=pd-standard \
--boot-disk-device-name=instancedisk-3 \
--erase-windows-vss-signature

Upvotes: 10

Related Questions