Hello,
To maintain the same sharing and file/folder permissions after attaching the existing data disk to a new VM with Windows Server 2022, you need to ensure that the disk is properly attached and recognized by the new VM.
Once the disk is attached, you should be able to access the files and folders with the existing permissions intact. However, you may need to re-share the folders on the new VM and ensure that the appropriate permissions are set for sharing.
It's recommended to verify the permissions after attaching the disk to the new VM to ensure that everything is set up correctly. If there are any permission issues, you may need to adjust them accordingly on the new VM.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.