How to customize and extend your OpenVPN installation.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
Bishop
- OpenVpn Newbie
- Posts: 3
- Joined: Mon Apr 25, 2016 9:21 am
Post
by Bishop » Mon Apr 25, 2016 9:28 am
Hello guys,
I've created a one line script that when connected, it automatically embed network drive.
Unfortunately this does not work.
Code: Select all
net use X: \\hostname\Daten\xxx /persistent:no /user:domain\user paddword
If I connect to the VPN-Server and the script is running I get the message, that the script was close with error.
-
Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Post
by Traffic » Mon Apr 25, 2016 12:09 pm
All scripts must complete before the tunnel will pass packets.
-
Bishop
- OpenVpn Newbie
- Posts: 3
- Joined: Mon Apr 25, 2016 9:21 am
Post
by Bishop » Tue Apr 26, 2016 9:48 am
Thanks for the answer! Any idea how to fix this problem for me?
-
mototopo
- OpenVpn Newbie
- Posts: 4
- Joined: Tue May 31, 2016 7:45 pm
Post
by mototopo » Tue May 31, 2016 7:51 pm
hi, i have the same problem :
my _UP.BAT script ends in failure .
I have only one row with a net use command.
with win7 has always worked well ; now with win10 does not finish the script .
but if you just logged the launch by hand you run well.
it seems that the connection even if present with the IP address of the VPN functions not fine as you do not appear on the win10 popup indicating : offline .
You have any ideas on how to fix it ?