I am trying to configure a script to install a software remotely in all openvpn client machines. But I am getting this error when trying to use administrative share.
Command I used. 10.0.0.X is the IP address of the client machine and I am running below command from openvpn server:
C:\>net use s: \\10.0.0.X\c$ /USER:administrator PASS
Error:
System error 67 has occurred.
The network name cannot be found.
Could someone please shed some lights on this..?
The openvpn server configuration file looks like:
===================
port 1194
proto udp
dev tun
dev-node Tap_1194
ca "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "server.crt"
key "server.key" # This file should be kept secret
dh "dh1024.pem"
server 10.0.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
route 192.168.2.0 255.255.255.0
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
===============
openvpn client configuration file looks like:
===============
client
dev tun
dev-node stageTap
proto udp
remote PUBLIC_IP 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca stage-ca.crt
cert file.crt
key file.key
comp-lzo
verb 3
===============