Solved

VBA to Detect a Corrupt User Profile...

Posted on 2014-11-19
5
149 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 92

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 14

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 92

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 92

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 14

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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

914 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

18 Experts available now in Live!

Get 1:1 Help Now