I'm an IT Apprentice trying to use a group policy (in Windows Server 2012) to auto map network folders when someone first logs on to a machine. This is the batch file I have written and the 'Share' folder maps at logon, but the 'personal' folder doesn't map.
NET USE */delete
NET USE C: \\3AAA-LIVERPOOL\Home$\%LogonUser% /PERSISTENT:YES
NET USE C: \\3AAA-LIVERPOOL\Share /PERSISTENT:YES
I have manually mapped the folder on the client machine but the GPO won't auto map the file.
What is the correct code to do this?
I figured it was an it was an issue with the path but the same path works when manually mapped on the client machine.
Thank you:)