How can we help you today?
You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.

Connection lost between Unity Pro PC and PLC (M340) after log off a session.

Goals and Symptoms

Connection lost between Unity Pro PC and PLC (M340) after log off a session. The USB cable must be disconnected then reconnected to re-establish the connection.

Facts and Changes

When a log off session occurs the Remote Access Service (RAS) are automatically closed.

Causes and Fixes

It is possible to change it by configuring the registry key KeepRasConnections.
Open Registry (RUN / regedit)
Go to HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon

The KeepRasConnections string already exists.
Put the value data at 1. To do that:

    • Select the line "KeepRasConnections"
      Click the right button of the mouse >> Modify / Value Data then write 1

The KeepRasConnections string does not exist.
Add KeepRasConnections To do that:
    • Go on Winlogon directory
      Click the right button of the mouse >> New / String Value then write KeepRasConnections. Take care to respect the syntax (Upper case/lower case).
      Put the value data at 1.

Schneider Electric Vietnam

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings