Windows 10: Routing and Remote Access Automated CSV

Discus and support Routing and Remote Access Automated CSV in Windows 10 Network and Sharing to solve the problem; Hi all, I was wondering if I could get some help on this script that I have been working on. It's a small script and it works perfectly fine but... Discussion in 'Windows 10 Network and Sharing' started by bbkransomz, Jun 15, 2020.

  1. Routing and Remote Access Automated CSV


    Hi all,

    I was wondering if I could get some help on this script that I have been working on.

    It's a small script and it works perfectly fine but the only issue I am having is getting the script to run by itself at a certain time.

    The server that this will be running on will be a Windows Server 2012 R2. I have tried to add this script to the task scheduler and nothing has worked.

    This happens even though I have told the Task Scheduler to run as an administrator.

    The script I created is just a small script so HR can know who's really working from home and who's not, its basically an attendance sheet if you think of it.


    Start-Process powershell -ArgumentList '-nonprofile -file C:\Users\lesliej\Desktop\VPN\working script.ps1' -verb RunAs
    $startDate = Get-Date -Date "04/06/2020"
    $endDate = Get-Date -Date "12/06/2020"
    $Day = Get-Date -format "08:00:00"
    $endDate = Get-Date -format "17:30:00"
    $Path = "C:\Users\lesliej\Desktop\VPN\filelist.csv"
    Get-RemoteAccessConnectionStatistics -StartDateTime $Day|Export-Csv "\\KL-FS01\Data\Home\LeslieJ\VPN List of users\June\VPN User List - $((Get-Date).ToString('dd-MM-yyyy - HH-mm-ss')).csv" -NoTypeInformation

    Any help would be appreciated as this is getting really annoying having to do this manually.

    :)
     
    bbkransomz, Jun 15, 2020
    #1
  2. T0mmy1977 Win User

    Cannot Start the Routing and Remote Access Service

    I get the error below and the event below logged when I try to start the RRAS service. Any ideas?


    Routing and Remote Access Automated CSV [​IMG]



    Routing and Remote Access Automated CSV [​IMG]
     
    T0mmy1977, Jun 15, 2020
    #2
  3. DeFacto Win User
    Route to the remote station with win route table

    Hello,

    I have three pc's:
    - Local PC with an ip 192.168.1.100
    - Remote PC_1 with an ip 192.168.2.100
    - Remote PC_2 with an ip 192.168.2.101
    I would like to access remote pc_2 via remote pc_1. On the local pc and remote pc_1 i have enabled routing in the registry. Windows ip configuration shows as follow:
    Windows IP Configuration

    Host Name . . . . . . . . . . . . : (PC name)
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : Yes
    WINS Proxy Enabled. . . . . . . . : No
    I have installed teamviewer on local pc and remote pc_1 and a vpn adapters of the teamviewer and established vpn connection betwean local pc and remote pc_1.
    On the local pc i have added a route to the route table:
    route add 192.168.2.0 MASK 255.255.255.0 (ip of the teamviewer vpn of the remote pc)
    Route was added successfully, i have route in the route table:
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    192.168.6.0 255.255.255.0 (remote vpn ip) (local vpn ip) 56
    Now from the local pc i can ping to the address 192.168.2.100:
    C:\Windows\system32>ping 192.168.6.253

    Pinging 192.168.2.100 with 32 bytes of data:
    Reply from 192.168.2.100: bytes=32 time=238ms TTL=128
    Reply from 192.168.2.100: bytes=32 time=107ms TTL=128
    Reply from 192.168.2.100: bytes=32 time=123ms TTL=128
    Reply from 192.168.2.100: bytes=32 time=108ms TTL=128

    Ping statistics for 192.168.2.100:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 107ms, Maximum = 238ms, Average = 144ms
    I can also ping succesfully from the remote pc_1 to the remote pc_2, but when i try to ping from local pc to remote pc_2 - all packets are lost. Any help is highly appreaciated.
    Local pc is Windows 10 pro 1909 OS ver 19363.628. Firewalls, antivirus were temporary disabled while i did tests.
     
    DeFacto, Jun 15, 2020
    #3
  4. Hoggorm Win User

    Routing and Remote Access Automated CSV

    My VPN server has stopped working - Route and Remote Access error

    Anyone who knows how to start the Route and Remote Access service..?
     
    Hoggorm, Jun 15, 2020
    #4
Thema:

Routing and Remote Access Automated CSV

Loading...
  1. Routing and Remote Access Automated CSV - Similar Threads - Routing Remote Access

  2. Routing and Remote Access Service Configuration

    in Windows 10 Gaming
    Routing and Remote Access Service Configuration: Hi all ,After configuring a RRAS service on 2019 windows server, I was able to have an internet access from the server, but I am not able to ping any of RRAS clients even though I can ping the server IP, not able also to reach any local service, The IPv4 router checkbox is...
  3. Routing and Remote Access Service Configuration

    in Windows 10 Software and Apps
    Routing and Remote Access Service Configuration: Hi all ,After configuring a RRAS service on 2019 windows server, I was able to have an internet access from the server, but I am not able to ping any of RRAS clients even though I can ping the server IP, not able also to reach any local service, The IPv4 router checkbox is...
  4. Routing and Remote Access Service Configuration

    in Windows 10 Network and Sharing
    Routing and Remote Access Service Configuration: Hi all ,After configuring a RRAS service on 2019 windows server, I was able to have an internet access from the server, but I am not able to ping any of RRAS clients even though I can ping the server IP, not able also to reach any local service, The IPv4 router checkbox is...
  5. Windows 10 Routing and Remote Access service terminated

    in Windows 10 Software and Apps
    Windows 10 Routing and Remote Access service terminated: Hello,I am currently trying to setup a VPN on Windows 10 Home following this guide: https://pureinfotech.com/setup-vpn-server-windows-10/.When I try to add a "New Incoming Connection" to my Network Connections, I get the following error:"Windows could not create your...
  6. Windows 10 Routing and Remote Access service terminated

    in Windows 10 Network and Sharing
    Windows 10 Routing and Remote Access service terminated: Hello,I am currently trying to setup a VPN on Windows 10 Home following this guide: https://pureinfotech.com/setup-vpn-server-windows-10/.When I try to add a "New Incoming Connection" to my Network Connections, I get the following error:"Windows could not create your...
  7. Script to add a rule for Routing and Remote Access

    in AntiVirus, Firewalls and System Security
    Script to add a rule for Routing and Remote Access: From Firewall I want to add a rule - Routing and Remote Access. This rule can be added manually, but I want to add it from the command prompt. I am using Windows 10 Pro 20H2. To add manualy, open Control Panel -> Windows Defender Firewall -> Advanced Settings -> -> Inbound...
  8. Routing and remote access services VPN problem.

    in Windows 10 Network and Sharing
    Routing and remote access services VPN problem.: Hi! I have a problem with my windows 10.. I try to create a incoming connection VPN and if a try i get that screen: [ATTACH] Sorry for the Hungarian but I'am Hungarian.. So thats screen says "The incoming connections depend on the routung and remote access sevice, that...
  9. Route to the remote station with win route table

    in Windows 10 Network and Sharing
    Route to the remote station with win route table: Hello, I have three pc's: - Local PC with an ip 192.168.1.100 - Remote PC_1 with an ip 192.168.2.100 - Remote PC_2 with an ip 192.168.2.101 I would like to access remote pc_2 via remote pc_1. On the local pc and remote pc_1 i have enabled routing in the registry. Windows ip...
  10. Cannot Start the Routing and Remote Access Service

    in Windows 10 Performance & Maintenance
    Cannot Start the Routing and Remote Access Service: I get the error below and the event below logged when I try to start the RRAS service. Any ideas? [img] [img] 85661