Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User boolz's Avatar
    Join Date: Jul:2010
    Location:
    Posts: 890

    Windows 10 , VPN

    ,
    Windows10, VPN , . . VPN . .. .

    1723 VPN

    633
    Last edited by boolz; 25th November 2014 at 00:07.
    keep your spirit high and let it flow

  2. #2
    is pro Labira's Avatar
    Join Date: Jul:2004
    Location: Sofia
    Posts: 1,027
    , .

    - /,
    Ivy bridge in da mix...

  3. #3
    Registered User boolz's Avatar
    Join Date: Jul:2010
    Location:
    Posts: 890
    ,
    keep your spirit high and let it flow

  4. #4
    is pro Labira's Avatar
    Join Date: Jul:2004
    Location: Sofia
    Posts: 1,027
    ... , Rasman ...


    I noticed that rasman service doesn't stop after VPN disconnects.

    So if it's running when i send my PC to sleep, then after awake VPN got 633. So i created a sheduler task that stops rasman service on the log even 20226. I hope this bug will be fixed in the next pupdates.

    I am also running Win 10 TP x64 and sleep gives VPN error 633 every time. To test this, I disconnected from my VPN, put the PC to sleep and yet I still get error 633. Disconnecting doesn't avoid the issue.

    In short I can confirm emoxam's issue with Win 10 TP + sleep = VPN error 633 and the task scheduler fix is a great work around.
    Quote Originally Posted by Fix
    If you all want to fix this while we wait for microsoft to fix the Rasman service, try this:

    Create a notepad file and type: net stop rasman and save it as VPN-fix.cmd. do not save it is vpn-fix.cmd.txt, look online how to save it as whatever extension you want if you don't know how.

    Save it somewhere elegent, I have a bunch of scripts I run on my PC and I save it to c:\#Scripts\ Find a spot on root c: or wherever.

    Connect to your VPN. If you can't, reboot to clear the 633 error and try again. Open an elevated command prompt, type: sc query rasman and it should show it running, since you are on your VPN.

    Disconnect from VPN, do not sleep yet. do an sc query rasman again, rasman should still be running. This is part of the bug; it should stop on disconnect and sleep.

    You SHOULD be able to net stop rasman since you haven't entered sleep yet. You can reconnect to your VPN without issue. I've noticed the Rasman service doesn't stop on VPN disconnect, however it does not affect VPN reconnectivity so long as you have not entered sleep.

    Check event logs. Exomam shows his disconnect VPN event ID to be 20226, for me event viewer shows 20268 when I disconnect from my VPN. Do some connecting and disconecting before sleep to check what event ID is logged for you.

    I created a basic task to run c:\#scripts\vpn-fix.cmd upon event ID 20268 (or 20226, depending). If you're new to scheduled tasks, make sure under security on the general tab you set to use the following settings... account: system. Run: whether logged in or not, hidden: yes, configure: for windows 7. - Trigger tab; begin the task: on an event, log: system, source: rasman event ID: 20268. Actions; run the vpn-fix.cmd we created earlier. conditions; check power. on my laptop, I needed to uncheck 'start task only if computer is on AC power'
    to test, save the task. Connect to VPN (you didn't sleep yet right? if so reboot to test) When I disconnect from my VPN, the event ID is created, my vpn-fix.cmd is ran, rasman stops completely. I can then sleep and resume and reconnect without issue. Check "last run time" and "last run result" on the task itself.

    For me, this works when I disconnect from my VPN before sleep, AND when I do not disconnect first. Event logs show event 42 "system is entering sleep" and 1 second later that VPN is disconnecting so no need to add an extra trigger event.

    If This fix only works when you disconnect before sleep, and NOT when you do not disconnect first, add another trigger for this task and add; Trigger tab; begin the task: on an event, log: system, source: kernel-power event ID: 42 In my case, the disconnected from VPN log is submitted BEFORE sleep and therefore triggers my script. I can see on some PCs this not being logged fast enough, causing rasman to stay running before sleep.
    Ivy bridge in da mix...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |