Secure Desktop Contents Explorer Tips File Open And File Save As Dialog Tips

Dialup Tips


A dialup session can be executed from within Secure Desktop, yet the approach is different between Windows 98/ME and Windows NT4/2000/2003/XP:

 

Windows 98/ME

 

In Windows 98/ME, the dial up items are not traditional exe files. The following command line executes the necessary files to start a dialup session:

 

c:\windows\RUNDLL32.EXE RNAUI.DLL,RnaDial <your DUN connection name>

 

For a connection named Test, use the following command to launch this connection:

 

      c:\windows\Rundll32.exe Rnaui.dll,RnaDial Test

 

The RnaDial and the connection name are both CASE SENSITIVE.

 

To get the correct icon for the program, simply type in the application RNAUI.DLL in the Icon dialog, then Index 1 (as an example)

 

Windows NT4/2000/2003/XP

 

In Windows NT4/2000/2003/XP, you can simply use the rasdial.exe program, found in the system32 folder, using the following syntax in the command-line:

 

        RASDIAL.EXE entryname [username [password|*]] [/DOMAIN:domain]

                [/PHONE:phonenumber] [/CALLBACK:callbacknumber]

                [/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]

 

        RASDIAL.EXE [entryname] /DISCONNECT

 

RASDIAL.EXE provides unattended dialing. It does not support the following features available in RASPHONE.EXE: prefix/suffix, auto-redial, change password, retry authentication, statistics, operator assisted dialing, and connections requiring Terminal mode input.

RASPHONE.EXE is found in the system32 folder.

To Create a RASPHONE Secure Desktop Icon to automatically dial, use the following command line:

rasphone.exe -d <entry>

You can put the icon in your Start Up group if you want to automatically dial when you log on.

The following RASPHONE command line options are not documented elsewhere, and are not guaranteed to work in future releases.

Usage: rasphone [[[-e|c|r|d|h|s|q] entry]|-a] [-f file]

 

 

      -e Edit phonebook entry mode

      -c Clone phonebook entry mode

      -r Remove phonebook entry mode

      -d Dial entry mode

      -h HangUp entry mode

      -s Status entry mode

      -q prompt user before entering Dial entry mode

      entry entry name

      -a Add phonebook entry mode

      -f file Full path for the phonebook



Running RASPHONE <ENTRY> without a switch is the same as running RASPHONE, highlighting the entry name, and choosing Dial.

Using WinExec() or CreateProcess() and the -a, -e, -c, and -r switches, you can open RASPHONE dialogs from another applications.



Secure Desktop Contents Explorer Tips File Open And File Save As Dialog Tips