Secure Mobile Access 100 10.2 User Guide
- Secure Mobile Access 10.2 for the SMA 100 Series
- About This Guide
- Virtual Office Overview
- Using Secure Mobile Access Connect Agent
- Using Virtual Office Authentication
- Importing Certificates
- Using Two-Factor Authentication
- Using One-Time Passwords
- User Prerequisites
- Logging In with an Email One-Time Password
- Logging In with a Mobile App Time-based One-Time Password
- Logging In with an SMS One-Time Password
- Generating Backup Codes
- Configuring One-Time Password Settings for E-mail
- Configuring One-Time Password Settings for Mobile App
- Configuring One-Time Passwords for SMS-Capable Phones
- Configuring One-Time Password Settings for SMS
- Verifying User One-Time Password Configuration
- Using NetExtender
- User Prerequisites
- User Configuration Tasks
- Installing NetExtender on Windows
- Launching NetExtender Directly from Your Computer
- Pre-Filling the Key Fields While Installing with Microsoft Installer
- Configuring NetExtender Properties
- Configuring NetExtender Connection Scripts
- Configuring Batch File Commands
- Configuring Proxy Settings
- Configuring NetExtender Log Properties
- Configuring NetExtender Acceleration Properties
- Configuring NetExtender Packet Capture Properties
- Configuring Language Properties
- Configuring Protocol
- Viewing the NetExtender Log
- Disconnecting NetExtender
- Upgrading NetExtender
- Changing Passwords
- Authentication Methods
- Uninstalling NetExtender
- Verifying NetExtender Operation from the System Tray
- Using the NetExtender Command Line Interface
- Installing NetExtender on Linux
- Using NetExtender on Linux
- Using Mobile Connect
- Using File Shares
- Managing Bookmarks
- Warranty and License Agreements
- SonicWall Support
Configuring Batch File Commands
NetExtender Connection Scripts can support any valid batch file commands. For more information on batch files, see the following Wikipedia entry: http://en.wikipedia.org/wiki/.bat. The following tasks provide an introduction to some commonly used batch file commands.
- To configure the script that runs when NetExtender connects, click Edit “NxConnect.bat.” The NxConnect.bat file is displayed.
- To configure the script that runs when NetExtender disconnects, click Edit “NxDisconnect.bat.” The NxConnect.bat file is displayed.
- By default, the NxConnect.bat file contains examples of commands that can be configured, but no actual commands. Too add commands, scroll to the bottom of the file.
-
To map a network drive, enter a command in the following format:
net use drive-letter\\server\share password /user:Domain\name
For example to if the drive letter is z, the server name is engineering, the share is docs, the password is 1234, the user’s domain is eng and the username is admin, the command would be the following:
net use z\\engineering\docs 1234 /user:eng\admin
-
To disconnect a network drive, enter a command in the following format:
net use drive-letter: /delete
For example, to disconnect network drive z, enter the following command:
net use z: /delete
-
To map a network printer, enter a command in the following format:
net use LPT1 \\ServerName\PrinterName /user:Domain\name
For example, if the server name is engineering, the printer name is color-print1, the domain name is eng, and the username is admin, the command would be the following:
net use LPT1 \\engineering\color-print1 /user:eng\admin
-
To disconnect a network printer, enter a command in the following format:
net use LPT1 /delete
-
To launch an application enter a command in the following format:
C:\Path-to-Application\Application.exe
-
For example, to launch Microsoft Outlook, enter the following command:
C:\Program Files\Microsoft Office\OFFICE11\outlook.exe
-
To open a Web site in your default browser, enter a command in the following format:
start http://www.website.com
-
To open a file on your computer, enter a command in the following format:
C:\Path-to-file\myFile.doc
- When you have finished editing the scripts, save the file and close it.
Was This Article Helpful?
Help us to improve our support portal