Access slow launch from .accdb, but not from within Access application - performance

This just started happening for no good reason I can find.
If I launch the MSACCESS.EXE program, then open a database. The database opens within 1 second.
If I launch the same database by double-clicking on the .accdb file's icon. It takes about 40 seconds for the Access window to appear, and less than 1 second after that the database opens.
The database is local, and both Access and the DB are on an SSD. The system is an Asus Z97 motherboard, i7-4790K # 4MHz (not overclocked) with 32gb RAM and about 200gb of free hard disk space.
In both cases, performance after opening is excellent with no issues. It appears it's only the launching of MSACCESS.EXE by double-clicking a .accdb file that is affected. I double-checked the file association for .accdb and it points to the correct executable.
I captured some data with Performance Monitor during the 40-second pause. MSACCESS.EXE is using about 0.4% CPU, doing almost no disk I/O, and there's no network activity.
I've already tried "Compact and Repair" but that had no effect.
This just started happening, and now seems to be affecting Access on ALL .accdb files. They open instantly from within Access but take 40 seconds to open when double-clicked. I haven't installed any new software or Windows updates recently.
Curiously, if I change the .accdb extension to .accdr (runs the db in the client runtime instead of full Access) the database will launch instantly.
What could possibly be going on here? I've searched the web and found some posts having to do with databases on a network share, but that doesn't apply here.

For anyone else encountering this issue, it appears this bug has nothing to do with Access specifically.
I needed to shutdown the machine, and when I did so, Windows seemed to completely ignore multiple shutdown requests. As I was googling to troubleshoot, after about 10 minutes, the shutdown did finally start. It took another 10 minutes to shutdown.
After rebooting the slow launch problem no longer occurs, there's only about a 2 second delay, which I assume is just MSACCESS.EXE loading "cold".
So, the problem is most likely in Windows and not Access.

I spent ages looking for the answers to this on various sites but eventually cobbled together my own fix, so hopefully this saves others some time.
This worked for me and reduced the load time from circa 4 minutes - even just opening a blank accdb fle - to seconds... So 4 mins if double-clicking an accdb. Once MS Access open and using File | Open it was fast.
I had two instances of MS Access both on Windows Servers that can see the Internet but goes through a corporate proxy etc.
After getting some hints by Googling this issue I suspected that the 4 mins or so was some sort of timeout trying to access a site or sites (MS Office apps do this) and that eventually when the proxy returned a timeout then Access started responding again. It was quick on the 2nd open because it didn't redo this request.
Based on this, I tried to divert certain sites to 127.0.0.1 and turn off all the Internet options in Trust Centre | Privacy etc. Nothing worked.
Finally, I got the solution. In Windows Defender firewall I created a new Application rule for the MSACCESS.EXE. This was an outbound rule that blocked all Internet traffic. After this the first double-click was fast again. I assume with traffic totally blocked, whatever request is going out to sites, is immediately stopped and returns a "no internet" to Access, which then carries out executing, rather than waiting for the 3-4min timeout.

Related

Prevent screen-lock / sleep-lock / password-lock / etc on Windows 10

I have a computer-based test that takes several hours to complete.
However, the test is timed-out at some point, because my PC "goes to sleep in one way or another".
This is possibly related to the fact that the test consists of two processes which communicate with each other via port, so I'm suspecting that perhaps networking is disabled in some way (even if it's completely "local networking").
I have disabled both screen turn off and sleep in the Settings "page", under Power & Sleep.
Still no luck, the screen is locked with a password at some point, which I suspect causes the test to stop running in the background.
I even followed a procedure that I found on the web to disable screen-lock via Regedit in something like 18 steps (why on earth did this company figure out that this is a reasonable user experience).
Is there a solution to this problem?
Found a (very hacky) solution:
If you keep all windows minimized, then the screen doesn't get locked.
What a great operating system, by such a great company!!!

odoo 9 performance on ChromeOS

We are noticing a strong downfall in ODOO performance of the users that use ChromeOS, either using ChromeBook or ChromeBoxes (with different configurations...also very fast ones). After the startup of the machine all seems fine but after a while (depending on your activity) we notice a strong downfall in Performance. It is like the machine is not responding at all and after a few seconds (sometimes up to 30 seconds) it continues with opening the screen and seems to be very quick again. Restarting the browser and clearing the cache gives some relieve but the issue keeps coming back. Strange thing is that on our older windows machines (running Chrome Browser) we do not see this issue.

How to prevent script from bringing computer to near standstill

I have a bat script which is rather complex and runs every 15 minutes. It opens a browser, runs an iMacro to sign in and download a file, closes the browser, extracts the file, initiates a javascript which verifies that the downloaded file is more recent than the one downloaded 15 minutes earlier, opens Excel, imports the downloaded file, triggers a very involved VB Script, exports a csv file, closes Excel, opens a new browser, logs in to a 2nd site, uploads the csv file and closes the browser again.
Meanwhile I'm doing my job, which requires many browser tabs open in several different browsers, and web development software.
While the script is running, my computer will frequently come to a near standstill, preventing me from doing any other work - presumedly because the CPU usage is maxed out. Not only can I not do other work, but my script frequently fails to complete because the browser is so slow it times out before the page loads.
Task Manager tells me that my CPU usage while running the script is 98-100% and I'm using 7 out of 8 MB of RAM. Obviously, I'm pushing my computer to its limits. Is there anything I can do to help minimize the slow down, such as allocate some RAM, partition my hard drive, make a sacrifice to the processor gods, etc.? My computer is a 64-bit running Windows 7 Pro with 8MB of RAM and a 3.00 GHz processor. I can't get a new computer but I can probably ask for additional RAM if it would help.
I don't know very much about performance optimization, so any suggestions are welcome. I can't stop using the script, run it less often, or run it on a different computer.
In a script that loops to repeat a task immediately then the CPU usage will rise to very high levels.
Using timeout or ping to generate a delay between loops reduces the CPU usage.

VS2010 slowed to crawl when Hurricane Sandy killed internet connection

I'm in the greater New York area, and hurricane sandy has left us with power, but has killed our Internet connection. (I'm typing this on my ipad at a local McDonalds)
This has dramatically slowed VS2010 when starting a debug session within the IDE. There now seems to be a long pause...ten seconds for each dll...for every dll referenced in the project. Now it takes several minutes every time we run our project.
The project itself has absolutely no Internet functionality...seems to be strictly related to VS 2010.
Disabling MS Symbol Server had no effect, and I could not find anything else in VS settings that would need the Internet.
Edit
We now have internet again, and startup times are back to around 20 seconds.
Previously, I also tried disabling Symbol Server again, and this time it did have a major effect - reduced startup time from 4 minutes to 1 minute. Don't know why I did not see the same result the first time I tried.
Some testing with Win7 Resource Monitor indicates that VS is trying to talk to 224.0.0.251 and 252...Multicast DNS address and Link-local Multicast Name Resolution address respectively).
Also 239.255.255.250 (Simple Service Discovery Protocol). Got the definitions by looking up the IP addresses on Wikipedia, but that does not really help me.
Any suggestions on how to track this down?

Modify EXE to stop launching firefox

I'm using a wireless modem program from my ISP. This program automatically disconnect when it detects the line is idle. It does so in 2-5 minutes of idle time. Whenever I reconnect, It will automatically fire up my default browser to the ISP portal. I DID NOT pay them to shove their web portal in my face 50 times a day. The ISP provides no options for disabling this behavior. Can someone please show me how to hex edit the EXE program to stop it from annoying the hell out of me?
If thats the route you want to take then find a free hex editor for your system from : http://en.wikipedia.org/wiki/Comparison_of_hex_editors
And then search for hints. If it's obvious then you may be able to do something. Then again maybe not.
You can also look for programs that specifically deal with this annoyance, for example programs that do a network request every so often to keep the connection active.
If possible, try starting the program as another user, and deny this user read/execute access to your default browser's exe file.

Resources