?
Solved

A suspended process makes Word/Excel loading slow

Posted on 2013-11-03
5
Medium Priority
?
713 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 31

Accepted Solution

by:
Zoppo earned 2000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
New style of hardware planning for Microsoft Exchange server.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 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