It is also important to adopt an approach that automatically remounts the network share in case of system restarts.
This article describes the steps required to mount a shared filesystem on Windows 2008 Server.
- Launch Windows Task Scheduler
- Create a folder named 'IBM'
- Create a Basic Task
- Name: Mount DOCLINKS folder
- Trigger: When the computer starts
- Program: net
- Arguments: use X: \\[SHAREDFOLDER] /persistent:YES
- Double click on the task to open its properties
- Click on 'Change User or Group' button
- Type 'SYSTEM' and press OK
Providing network credentials
If the net use command fails asking for credentials you can use the following syntax to provide them.
net use X: \\[SHAREDFOLDER] /persistent:YES [PASSWORD] /USER:[USERNAME]
Symbolic link technique
Drew Hohnstein has proposed to use the mklink command to create a symbolic link to the network folder.
A command like this should do the trick.
mklink /D C:\doclinks \\[SHAREDFOLDER]
UNC technique
If you can avoid to secure the shared folder you may also try this simple technique: Configure the doclink attachment folder in UNC path
Source:http://maximodev.blogspot.com/2014/05/mount-shared-doclinks-folder-on-windows.html
Tidak ada komentar:
Posting Komentar