Solved

A suspended process makes Word/Excel loading slow

Posted on 2013-11-03
5
657 Views
Last Modified: 2013-11-05
Hello,

I have an issue in my Environment.

What is happening (and how the problem can be reproduced):
When another process is suspended (using Process Explorer) opening a document with "double click" on the document file, the Word takes too long to open.
When I "resume" the suspended process, then the document opens.

When a process is suspended, the Word or Excel Software can be opened without problem. And then the File can be opened with File>Open.
The problem is happening only when a document is opened with "double click".

This happens in Outlook 2007. As tested, I am not having Problems in Outlook 2013.
This is not a local Problem. The same happens on other Machines too.

I've reproduced this problem on both physical and virtual machines running the following operating systems: Windows XP Pro x64, Windows 7 Pro x64, Windows 8, Windows 8.1, Server 2008. Same problem with both Office 2010 and 2013.

Also, when a process is suspended (and it does not matter what process is suspended. It can be calc or notepad or any other process), if excel (for example) is already opened, double clicking the excel document will open (same as file>open). It seems like the problem is when the application (EXEL, WORD) is starting and not when its already opened.

Thanks,
Oren
0
Comment
Question by:or1969
  • 3
  • 2
5 Comments
 
LVL 31

Accepted Solution

by:
Zoppo earned 500 total points
ID: 39620908
Hi or1969,

I think it's a problem related to DDE initialization. When double clicking a file in Explorer a broadcast message (WM_DDE_INITIALIZE) is sent to all top level windows so an application which acts as DDE server for double clicked file's filetype can return a WM_DDE_ACKNOWLEDGE. The suspended process in this case IMO blocks the system for some time (I think Windows cancels this after some timeout) since messages added to the message queue of a suspended processes aren't processed.

If the DDE server is already running Explorer doesn't need to re-dend the broadcast message, therefore the behavior is different.

I think there's nothing you can do against this.

BUT: Does it really matter? Is suspending processes and using i.e. Office applications at the same time really a use case you need to handle?

There's no official API function (and even no official tool) to suspend a process in Windows, I guess it's simply not intended to allow suspending processes.

ZOPPO
0
 

Author Comment

by:or1969
ID: 39620916
To suspend a process you can use Microsoft Sysinternals Process Explorer. Right click a process (calc for example) and select suspend (or resume when suspended).

and yes, there are times ware I need to suspend (or there is a suspended process not related to any of Microsoft products) and still work with Microsoft Office.
0
 

Author Comment

by:or1969
ID: 39620919
you wrote "...The suspended process in this case IMO blocks the system for some time (I think Windows cancels this after some timeout.."

Is there a way to reduce the timeout? any setting I can set?
0
 
LVL 31

Expert Comment

by:Zoppo
ID: 39620934
Well, I know how to use Process Explorer to suspend a process.

And well, ok, if you really need this I fear you have to live with it.

IMO there's no way to somehow change this DDE related behavior in Windows and Explorer. I don't know of any possibility to change such a Windows-internal timeout. Even if it might be there's a possibility, i.e. to use some inofficial, undocumented API or registry settings, I think it's highly recommended not to change them because it might be the system gets unstable or some other things may stop working correctly.

ZOPPO
0
 

Author Comment

by:or1969
ID: 39620980
Thanks for your reply.
I've just opened a support ticket at Microsoft and hope they will provide a solution.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no backā€¦
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now