How to Use a Network Disk
To use a network disk as an input source, you will need to add it under the Local System account (NT Authority\System):
- To add a network disk using psexec:
- Open the Command Prompt window and execute the following command: psexec -i -s -d cmd. This will open another Command Prompt window under the Local System account.
- In the new Command Prompt window, type net use z: \\servername\shareddisk /persistent:yes (where \\servername\shareddisk is the URL of the disk you want to use and z: is the desired drive letter) and press Enter. The disk you specified will be added under the drive letter z:, and you will be able to use it as an input source.
- To add a network disk using the Windows Task Scheduler:
- Create a text file with the *.bat file extension, for instance mount.bat. Save the following text in this file: net use z: \\servername\sharedfolder /persistent:yes, where \\servername\sharedfolder is the URL of the disk you want to use and z: is the drive letter you want the disk to have.
- Start the Windows Task Scheduler, open in the Create Task dialog box, and type NT AUTHORITY\SYSTEM in the When running the task, use the following user account field.
- Click the Actions tab, open the New Action dialog box, select Start a program from the Action drop-down list and specify the path to the mount.bat file in the Program/script box.
- On the Triggers tab of the Create Task dialog box, specify a condition for executing the task, such as a one-time start one minute from the current time. When the task is executed, the \\servername\sharedfolder disk will be added as disk z:, and you will be able to use it as an input source.
3/26/2024 1:49:49 PM