Here is the unsupported method from Microsoft for editing the path for shares and printers inside a GPO.
From a server —
1) Backup the problem GPO to your desktop
2) Edit the gpreport.xml and backup.xml files
3) Import the edited GPO
The engineer said if you have to do both, update the path for the file shares first.
If we still had a lot to do, I’d write a script to automate this process
— but we don’t.