1. Open notepad from run command or start menu.

2. Enter command “net use Z: \\DDC2\Temp

Graphical user interface, application, Word

Description automatically generated

3. Save notepad as a Batch file “filename.bat” Graphical user interface, application

Description automatically generated

 

 

 

4. Open local group policy “gpedit.msc”

 

Graphical user interface, application, Word

Description automatically generated

 

5. Navigate to user configuration> windows settings> scripts(logon/logoff)> Logon

 

Graphical user interface, text, application, Word

Description automatically generated

Graphical user interface, application

Description automatically generated

 

6. Click on show files and navigate to the location and copy the batch file.

 

7. Click add and select the copied batch file.

Graphical user interface, application

Description automatically generated

8. Run command “gpupdate /force” in cmd

Graphical user interface, application, Word

Description automatically generated