Link to home
Start Free TrialLog in
Avatar of 1_UP
1_UP

asked on

Running rasdial.exe hidden from view...

Hi guys,

Just wrote a .bat that automatically connects my VPN...only problem is that the batch file itself contains my user name and password(this I can hide myself) but it also shows it in the MS-DOS window while auto connecting...It has been years since I scripted anything using batch files and cannot remember the switch to run rasdial.exe hidden from view...
Help me out y'all...
1_UP
ASKER CERTIFIED SOLUTION
Avatar of WelkinMaze
WelkinMaze

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 1_UP
1_UP

ASKER

Hey thanks WelkinMaze...

Sorry man, I beat ya to the punch, by googling around a little today!!! I reaaranged the script(adding @echo off, of course), compiled it to a .exe, and it works fine when launched from the Startup folder. Completely hidden, and all that happy cr@ppy... But, now I am trying to run it as a Windows Service, and it is giving me a whole new series of problems!!!

I used srvany.exe and instsrv.exe to set it up as a service, edited the appropriate keys in the registry, but the service will not auto-start, and when I try to start the service manually it is giving me an Error 5: Access Denied...

Any ideas???

1_UP  
I'm not so familiar with windows services. :(
Except for not very smart tips like (restart your computer) I won't help you much in this area.
Maybe it's better to close this question and open a new one defining the new problem.
Avatar of 1_UP

ASKER

I will thanks!!! Sorry to waste your time buddy...