Solved

VBA to Detect a Corrupt User Profile...

Posted on 2014-11-19
5
154 Views
Last Modified: 2014-11-25
Hi All,

From time to time a corrupt user profile causes all sorts of issues in MS Word, see this EE question for example.

I'd like some help to detect corrupt user profiles using VBA, if there is a way...

Thoughts?
0
Comment
Question by:DrTribos
  • 3
  • 2
5 Comments
 
LVL 93

Accepted Solution

by:
John Hurst earned 500 total points
ID: 40454029
You do not know if a profile is corrupt until is does not do something you want. Office errors in damaged profiles are quite common. But the profile does not have an error flag saying "I am bad". Further, the Office errors can all be different. There is no one Office error or even one (say) Outlook error.

I am fairly sure you cannot do what you want in VBA or any programming tool.
0
 
LVL 15

Author Comment

by:DrTribos
ID: 40458987
Hi John,

Sorry the delayed reply - none of my computers would connect to EE, I don't know why but all other websites continued to work :-(

So I realize that MS don't have a flag saying "Oi! Hey You.... Yes you... I'm a corrupt profile"... BUT are there some characteristics of corrupt profiles that could be used to test against?

Perhaps different corruptions cause wildly different issues... perhaps there are some common themes... I'm not sure.  

I was thinking more along the lines of collecting as many of these characteristics as possible and creating a function to test how word behaves against the knowns...
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 40459342
I have seen too many different issues and bad profiles are very common. If there was a list of errors, I think we would have seen them by now.
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 40464320
@DrTribos  - Thank you and I was happy to assist, although I know you were looking for a different outcome.
0
 
LVL 15

Author Comment

by:DrTribos
ID: 40465853
No worries, I think it would be possible - perhaps onerous to compile a list of issues to test for but I now realise this is entirely the wrong forum to do so... I don't think EE has a mechanism for that type of activity.

Cheers,
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

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…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

773 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