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
Hi All, Can someone help me get the import parameter of a function module to be of the type select-options( the way it is used in reports) in ECC 6.0. Thanks for all your help in advance. DivyaWhat I do is as following.... I create two parameters...O [More]
I've tried resetting the wireless router, resetting my iPod, restoring it even, but to no avail.  What can I do?Thanks for your response. I didn't know about this -- just tried it, and I was able to load a web site- but then immediately the connectio [More]
Hi all, I am encountering a performance issue when seelcting from BSIS table. The requirement is I have Internal Orders extracted from a Master table, based on these internal orders and company code I need to go to BSIS table and do an extraction for [More]
I'm trying to purchase gems on  boom beach and every time i tryout purchase could not be completed please contact i tunes support. I updated my personal and credit card information and i don't know whats wrongIf you haven't already done so then you w [More]
Hi Everyone, I am trying to print a custom report on specific printers for different users using the Assign Documents to printers functionality. I have assigned the document at user level to specific printers. The records have been enabled and a defa [More]
Hi all, I am doing an Idoc to Idoc scenario. In this, my sender system partner profile is of type KU(Customer) and at the receiver side it is LS. Does this cause any problem? What needs to be done to handle this? Regards, Divija.hi, it's a standard a [More]
Why does the last line cause a ClassCastException?: Vector vector = new Vector(); vector.add("One"); vector.add("Two"); vector.add("Three"); vector.add("Four"); vector.add("Five"); String[] array = (String [More]
Hi all, I have some problems with the dependencies check in SDM. Some time ago we have created several custom PAR files for our internal Portal. As it takes some time to upload all these PAR files manually we created EAR files out of these PAR files [More]
Hi Experts, I am having requirement to show the Quick view form on the form's header in MS CRM 2013. Is it possible? If yes please help me out to achieve this. Thanks Baji RahamanThanks Andrii for quick response. I am having look up control on the fo [More]
Dear all, I need your guy expertise to confirm whether oracle database SE can support below feature. thank Monitoring and Tuning the Database Self-Monitoring Architecture Automatic Workload Repository Using the Automatic Database Diagnostics Monitor [More]