Sitemap

Amicuk Programming Answers

Access Connections - Autostart Programs - Always Twice

-0001-11-30   Views:0

Advertisement

Hi, I'm using AC for automatically starting programs (Outlook, Firefox) in my work environment. It's done by a cmd file that works great. But: It really often happens (maybe always), that the cmd file is beeing executed twice, so I'm seeing two windo

Hi,
I'm using AC for automatically starting programs (Outlook, Firefox) in my work environment. It's done by a cmd file that works great.
But: It really often happens (maybe always), that the cmd file is beeing executed twice, so I'm seeing two windows for each started program. This is a Bug, right?
Can anybody help?
Thx in advance
Axl
AC: 5.72
Win 7 32 Bit

The replay answer
Advertisement
I believe I have found the cause.
I noticed the same thing happening when I switched to a Profile...each of my "Start applications automatically" commands was being executed twice.
I used RegEdit to explore the Registry (careful, changing Registry values can be hazardous to your computer's health), by navigating to key \HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\Access Connections\Locations\ProfileNameGoesHere\AdptList, where I saw two Adapters (Adpt00 and Adpt01) - one for the WAN Adapter and one for the WLAN Adapter.
Each Adapter has the same set of keys...
AvayaProfileSettings
BrowserPxySettings
StartupAppList
VpnSettings
(except the WLAN Adapter also has a "SsidList" key).
Our commands are stored under StartupAppList. Each custom command has its own key, called App00, App01, etc. Within the AppNN key are several keys; you will recognize your command as the value to the key called "m_szAppName".
Even though the Access Connections app only lets you configure commands at the Profile level, it stores the commands in the Registry at the Adapter level (and there can be multiple Adapters per Profile). So if you have two adapters for the Profile (WAN & WLAN), the commands are stored twice. And therefore (incorrectly) executed twice when you switch to that Profile.
You can use the following steps to see if your Access Connections behaves the same as mine. Carefully using RegEdit, navigate to
\HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\Access Connections\Locations\,
then choose the name of a Profile that is giving you problems,
then navigate to AdptList.
You'll see 2 Adapters (Adpt00 & Adpt01). Navigate to Adpt00 then to StartupAppList. You'll see an AppNN entry for each of your commands for this Profile.
Now navigate to the same key path, except make it Adpt01 instead of Adpt00. You'll see the same number of AppNN keys.
Now, using the Access Connections app, edit that same Profile. Add an additional dummy application to run...something safe like Notepad.exe (navigate through the folders/menus to select it). Save your changes.
Now go back to RegEdit. Hit [F5] to refresh your Registry display. You will now see a new AppNN entry, for the Notepad command. Go into it, and look at the value for key "m_szAppName". It will have a path ending in "\notepad.exe" - the app that you just chose.
Assuming you were just looking at the "Adpt01" key, navigate to the equivalent key path under "Adpt00", and you will see the same new AppNN key, the same new "m_szAppName" entry, with the same value (a path ending in "\notepad.exe").
If you "connect" using this Profile, Notepad will start twice.
So...the solution?
My problems probably started when I wanted to "do the right thing" and convert a Profiles from being simply a WLAN-type profile to a "Best Available Network" Profile, which allows it to use the LAN adapter as well. Doing so enables both the WAN adapter and the WLAN adapter...each of them has a check mark by it when you edit the Profile in the Access Connections app.
My solution was to go through all my Access Connections Profiles (if you see Profiles with Type "Multi" instead of "WAN", "WLAN", "Modem", etc., the "Multi"s are the ones you want to select), edit them, and un-check the Adapter that I don't need for that Profile. If I only connect using WiFi, not with Ethernet cable, then I deselect WAN.
If you have a Profile where you actually do use multiple Adapters to connect to the network, and you run special commands when connecting to that network, and you want the same settings to apply regardless of which Adapter you are using, you still might consider making a 2nd copy of your exiting Profile. Turn one into a WAN-only Profile, and the other into a WLAN-only Profile. Of course, if you ever edit something (like change the default printer, for example), you'll have to make the same edit to each of the Profiles in the set.
Hope this helps. I don't think this was intended behavior by the Access Connections Developers, but being a Developer myself, I know how easy it is for small design problems to sneak into some well-intentioned software.
Thanks
Steve
Access Connections 5.62 Build B1CX57WW
T43 WinXP 2 GB

Go to See the other 5 answers

Access Connections - Autostart Programs - Always Twice

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I'm using AC for automatically starting programs (Outlook, Firefox) in my work environment. It's done by a cmd file that works great. But: It really often happens (maybe always), that the cmd file is beeing executed twice, so I'm seeing two windo[More]

Lenovo Access Connection​s Program Dead

Category:DefaultRelease time:-0001-11-30Views:130

  Hi, and thanks in advance for any suggestions.   I'm running Vista Business on a T500.  I've always used the Lenovo Access Connections program to switch wifi locations.  Access Connections now doesn't appear to work.  The program opens normally but[More]

Access Connections showing wifi connection as greyed out.

Category:DefaultRelease time:-0001-11-30Views:130

Under the tab called "Connect to Internet", the only radio button that shows ungreyed out is Other Connections. In other words, it doesn't allow me to even choose Wifi connections.  Nevertheless, Windows is connecting me to my wifi network. Is t[More]

I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

Category:DefaultRelease time:2015-10-11Views:130

I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.Close ...[More]

I have Acrobat XI on a PC and have received a Fatal Error message indicating that "Acrobat failed to connect to a DDE Server."  Acrobat will not open now.  How do I regain access to the program?

Category:DefaultRelease time:-0001-11-30Views:130

I have Acrobat XI on PC.  After trying to convert a webpage to PDF, I received a Fatal Error message indicating that "Acrobat failed to connect to a DDE Server."  Now, the program will not open.  How do I regain access to the program?I have Acro[More]

Access Connections and Tools won't install properly

Category:DefaultRelease time:2015-10-11Views:130

I have followed advice uninstalled the wireless driver, access connections, hotkey, power manager. . Reinstalled all ( latest versions) except access connection. Wireless connections work correctly and all hot keys function appropriately ( including[More]

Access Connections issues w L512

Category:DefaultRelease time:2015-10-11Views:130

I have a Lenovo L512 - 444CTO, running Windows 7, i5 processor, 4gb ram, 500gb hd it has the adapter 11b/g/n wireless LAN mini-PCI express Adapter II both at my home and at my office, both of which have wireless internet, it will log on initially and[More]

Access Connections 5.3 doesn't see wireless

Category:DefaultRelease time:2015-10-11Views:130

Suddenly Access Connections can no longer see any wireless networks -- even though the Windows wireless manager connects fine.  There are other similar recent posts but without a solution that works. T41 Type 2373 WinXP SP3 Access Connections 5.3 Ath[More]

ThinkVantage Access Connections, Power Manager, and Toolbox all crash on startup

Category:DefaultRelease time:2015-10-11Views:130

I have a SL 500 with factory Vista , updated to SP2 and the current versions of the thinkvantage components. Access Connections has always been very buggy of this machine (I guess the battery monitor has been as well), When I attempted to update them[More]

Access Connection​s fails to launch - "has encountere​d a problem and needs to close..."

Category:DefaultRelease time:2015-10-11Views:130

I have an R61 with XP, SP3 installed.  The underlying functionality of Access Connections appears to be working properly (I have access to both Ethernet and wireless using profiles previously established), but when I attempt to launch Access Connecti[More]

Access Connection Tray Icon disappear

Category:DefaultRelease time:2015-10-11Views:130

Hi, I got a problem on a T61p model 8889-AB5 owned by my boss.  The ThinkVantage Access Connections tray icon was disappeared occasionally.  It is noticed that below registry keys were missed and I needed to add them back to get the tray icon display[More]

Hot
Hello all, what is the wrong in code while creating container. *& Report  ZTEST_TREE4 REPORT  ztest_tree4. *       CLASS lcl_application DEFINITION CLASS lcl_application DEFINITION CREATE PRIVATE.   PUBLIC SECTION.     CLASS-METHODS: run_application. [More]
An external hard drive, 4TB Iomega...connected via eSATA cable...had a power outage and the drive won't be read by OSX now.  (Yes, it was on a surge protector and no I did not have a backup.  I was actually preparing for the process of creating a bac [More]
I have plugged in my flash drive into three different usb drive ports (one at a time) and no luck on opening documents on it. Its icon shows on the bottom bar of the desktop, however it is unable to access. I have restarted my computer to see if it w [More]
My iBook was getting slower and slower. Programs would quit working because they could not find their data files. 1. I started from the install CD and ran Disk Utility and asked it to Repair the volume. It did fix hundreds of errors. But at the end i [More]
I've been working on an idvd project. I can preview the slideshow but can't seem to find where to edit it or add more pics. I had been doing fine and now all of a sudden it seems to be lost. Help!!!!Is the slideshow one from still photos?  If so then [More]
Every single page I go to has lines through a link - what is causing this? I have Google Chrome and I do not have any problems with them! PLEASE HELP!!Sounds like an extension, theme, or style Are you sure it is all links as opposed to only visited, [More]
If I want to disable the E-Mail notifications for e.g. when approval is needed, can I configure this inside the IdM Admin Website or do I have to customize the the workfow?Then I get a big error message when creatin a user... Can I disable these erro [More]
Hi, My scenario is the HQ paying for the branch offices in one cheque but the branch offices having their own business partner code in the database. Can user make one incoming payment and select the invoices to match from few different business partn [More]
Hi all! I try to use Boost libraries in my plugin. When just add a line #include <boost/asio.hpp>       ------ included in SDK in external\asl\boost_libraries\boost after (also before) line #include "VCPlugInHeaders.h" --- the result is er [More]
When I synced my iphone 5 and laptop my iphone deleted a couple of outlook calendars off my laptop. Is there a way to find and restore the deleted calendars?I don't think i'm using the iCloud.  It tells me I have 5.0 GB Total Storage with 5.0 GB Avai [More]