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, today I've encountered a strange issue when installing Arch to my new SSD. I've read a lot about the options you have to set to enable TRIM and tried to configure my system according to these tutorials. First of all the error: # fstrim -v /hom [More]
I have a couple of 4S iPhones bought at the Apple store in Jan. 2012. We used Sprint until we moved to Ecuador. I want to use them here using a local network, but Sprint has them locked and refuses to help me. What can I do? I bought out the contract [More]
I have a MacBook Pro early 2011 model. It came with the mac app store, and the iLife dvd which contained iMovie/iPhoto. Can I still update to the new releases of iMovie and iPhoto for free or do I have to buy them all over again through the Mac App s [More]
I recently switched from a PC to IMac. I have used Adobe Elements for 10+ years to organize my photos. When I got the new IMac they imported all of my photos into IPhoto. I tried to use IPhoto but decided I did not want to go back and try to organize [More]
Hello, I have the LabView 8.2.1 PDA Modul. In my programm I use a start button and stop button to start and stop the operation of my programm. If the programm is already running and I press the start button again, then it is somehow remembered and if [More]
Hi, I have idoc to file scenarion. The first record is coming from script. The other data is coming from idoc. After signature have sholud be a new blank line. But the second row is coming near to signature.  As follows: <SIGNATURE=GNDPLU.GDF><VE [More]
How can I update my iTunes to iTunes 10.5 when I get an error message saying I'm missing a program each time?The forum search bar is on the right side of this page. This is asked and answered many times every day, Disable your firewall/security softw [More]
Hi I have a universe which has multiple connections, each pointing to different schemas on a database. I want to find out in an audit report, which schema was accessed by a user. Is there any way to query the database info/connection info of a univer [More]
Hi Guys Im using OS X Yosemite (10.10.1) and use Mail with Exchange for emails.  Just recently when I click on the grey return arrow to view the reply ton an email I have sent, it get the following error message: 'Mail was unable to find reply to you [More]
Suddenly (I've only had the iMac for about 2 weeks But this started happening after I'd been using the computer for awhile.) iPhoto will start up when I restart the computer, and sometimes when I've had to do a "force quit" of another applicatio [More]