Hi there,
You can follow the official Microsoft documentation over here on how to change the location for your witness:
And also can refer to this:
Changing Microsoft Failover Cluster File Share Witness
In addition, you can also consider that use of disk witness instead of file share witness if your cluster is not a S2D cluster. More often, I recommend using disk witness rather than file share witness.
Deploy a Cloud Witness for a Failover Cluster https://learn.microsoft.com/en-us/windows-server/failover-clustering/deploy-cloud-witness
Set up a cluster witness https://learn.microsoft.com/en-us/azure-stack/hci/manage/witness
-------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–