SOLVED – Windows Vista: Office 2007 installation runs every time I start Word or Excel, and Excel has an error about stdole32.tlb?
December 21, 2008 by Andy
My laptop has Windows Vista Ultimate 32-bit installed as the operating system, but looking at Google, the problem affects any version of Vista. Here is how the problem manifested on my machine.
- I install Office 2007 on the machine. The machine does not have any previous version of Office on it.
- When I run Word, the installation screen comes up and takes a minute or two configuring Office. On closing Word and restarting it, the installation routine runs again. In fact, it runs every time I run Word.
- When I run Excel, I get a rather unhelpful dialogue box popup saying merely “stdole32.tlb”. On clicking the close button for this dialogue box, it closes and Excel and the installation routine runs to configure Office 2007. Again, this happens EVERY time I want to run Office 2007 applications Word and Excel. The other applications appear to work OK on my machine.
The problem is down to registry problems, and I want to thank Brian Peek for the solution. However, since my operating system is in Spanish, and not English, his instructions needed a little modification. Here is a complete walk-through to solve this problem that gives you the info you need if your Windows Vista is in another langauge.
DISCLAIMER: If you follow these instructions, I take no responsibility for any problems you may subsequently have. You are using these instructions at your own risk. Also, this has not been tested on 64-bit Vista or any other version besides Windows Vista Ultimate 32-bit. Of course, if you do decide to go ahead and try this fix, you should backup your registry and your important data.
REQUEST: If this solution works for you (or even if it doesn’t), please consider adding a comment at the end of this page so that I can see whether this fix works for the majority of people trying it. Thanks very much, I appreciate it!
The first step is to check that your computer is indeed suffering from the permissions “bug” in Vista. Click the Windows Start Button, and type regedit into the search box and hit return.
This will open up Windows Regedit tool. Right click on HKEY_CLASSES_ROOT, and select Permissions:
This is what you should see in the resulting dialogue box:
Permissions should be set for a variety of users.
If your dialogue box looks like the following screenshot, then you have a problem:
As you see, no permissions have been assigned to HKEY_CLASSES_ROOT. This is cause of the Office 2007 installation problems, as well as potentially a lot of other problems you are having with installing products.
The very first thing you need to do is backup your registry. There is a good walkthrough of doing this here.
Next, you need to download a Microsoft tool called SubInACL and install it.
If your computer is the same as mine, it should install into the following folder:
c:program filesWindows Resource KitsTools
Open your text editor and paste in the following code:
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=administrators
subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /grant=restricted=r /setowner=administrators
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators
subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators
subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators
Save the file in the same folder as SubinACL.exe as “officefix.cmd”.
Now, edit the file by replacing the following text:
YOURUSERNAME – replace with your computer username.
You can find this by going into the control panel, and opening up User Accounts.
In my case, I replace YOURUSERNAME with Andy
NON-ENGLISH Vista additional instructions
Now, here is where you have to add an additional couple of steps if you are using a version of Windows Vista that is not in English. You also need to replace these:
administrators & users – needs to be replaced with the equivalent in your language.
If you are unsure what these equivalents are, you can find this information by looking at the properties of the hard drive on your computer. Open Explorer, and right click the C: drive and select properties:
In the dialogue that opens, click onto the Security tab. You should see both the administrator and the users equivalent words on that tab:
If you do not see these users listed here, look at the properties of files or folders on your hard disk until you see these users and you have the equivalent words in your OS language.
Look at the table below to see what you need to substitute in your officefix.cmd file if your OS is in a non-English language (If you can supply this info in another language, please post a comment at the end of this page):
| English | Administrator | Users |
| Spanish | Administradores | Usarios |
| French (thanks Romu) |
administrateurs | utilisateurs |
| Dutch (thanks Bavo) | Administratrors | gebruikers |
| German (thanks Raymond) | Administratoren | Benutzer |
| Portuguese (thanks Clara) | Administradores | Utilizadores |
| Swedish (thanks Emil) | administratörer | användare |
NOTE: Raymond who provided the German translation above, added the following piece of advice:
“If the user name contains a space, it should be written in quotes (“”) in officefix.cmd”
OK; you are now ready to run “officefix.cmd”
Open Windows Explorer and navigate to the folder where SubInACL.exe and your officefix.cmd files are located. This is probably:
c:program filesWindows Resource KitsTools
Double click the officefix.cmd file. A screen should open and you can see the progress of the operation.
You can now go and have a coffee. The process may take several minutes. When it is complete, try running Word and Excel again. This fixed my problems.
Since fixing my installation of Office 2007 (or should I say the Windows Vista Registry permissions), I have looked into other problems caused by the same registry bug. Here is a great post on Aaron Stebner’s blog showing how to reset your Windows Vista registry. His fix also addresses permissions in the program files folder and the windows directories.
I have since applied this fix over the top of the one I described above, and have had no problems with my machine since (except an annoying Adobe Updater issue, but I suppose I cant win everything).
Please feel free to leave a comment at the bottom of this page if you have found this works for you (or if you have any problems with it). If you are using a different language, please post the words you need to substitute for administrators & users to help others trying to fix this Windows Vista problem.
Related Articles
- Problems with Quick Launch Buttons on HP Pavilion HDX – a fix - Ever since I had my HP Pavilion HDX I have has an intermittent fault with the Quick Launch buttons which just stop responding. Here is a fix. Share and Enjoy:
- Problems playing Flash videos on some sites? - Do you have problems viewing videos online on some websites? No sound? Blank screen? It may be the Flash player on your computer that is causing the problems. Share and Enjoy:
- Test shots comparing the Nikon 18-200VR lens and the Sigma 18-200 lens - Playing with my new Nikon 18-200 VR lens I decided to compare it with my old Sigma 18-200. Share and Enjoy:



i just wanted to say thanks for this fix. i have spent days trying to fix this and yours was the only one that worked.
I want you to know how much I appreciate this. I’ve been working on this issue for over two weeks, several sessions with Microsoft Update Support, and hours searching Google for an answer. My “stdole32.tlb” problem in Excel started after updating Office 2003 with Office SP3 on my XP Home system. Your subinacl routine did the job beautifully. Thanks.
Thx a lot, I solved my problem with “stdole32.tlb” with Office 2007 on Vista.
Merci beaucoup, j’ai corrigé le problème du “stdole32.tlb” sur Office 2007 avec Windows Vista.
Comme je suis français, j’ai du changer “administrators” par “administrateurs” et “users” par “utilisateurs”.
Problème résolu donc.
Merci bcp, honte à Microsoft de ne pas avoir fait un fix.
It realy works. Thanks a lot
You rock! Finally something that works-thank you.
Hi, I just wanna say very very very thanks to you, superb!
Thankyou for achieving something that microsoft cannot
even though it is their stuff
This works and nothing else did
I knew it was a microsoft bug and they can’t fix it.
at last !!!!!!!!!!!!! Thank you so much for this fix. It worked like a charm. Like others I’ve been looking for the correct fix for ages – and yours was the only one that work. Many thanx
thanks a lot!!!….you save me…this was drive me crazy,…
When I ran this it scared me because it showed a lot of failed errors in the DOS dialog box, but it worked when nothing else would take care of the problem!
It really worked on a Greek Vista Office machine. Thank you very much.
Thank you very much for this solution. I have been searching for a solution on the internet for the past 2 days and nothing worked until I applied your solution. Thank your again!!!
Well done, brilliant!
It worked for me after wasting hours trying other fixes over 3 months.
Office 2007 was running fine, until probably a windows update caused the registry problem.
I have also had severe problems with flash player not working after installing Photoshop Elements 7 recently. Your fix has also resolved that problem.
Thanks very much.
Also a great thank you from Belgium.
The Dutch translation of “Administrators” is “Administratrors” and of “users” is “gebruikers”
Worked perfect.
thank You very much on this one. I also posted link from my blog, maybe this will help people to find the fix.
Greetz from Lithuania.
I have installed Winfows VIsta Premium 64 bits. It wotks with a little mistakes. (Office 2003)
Language Spanish:
administradores / usuarios
Thank you very much.
Gracias.
Thanks for the help – another method is to download the SP1 office 2007 service pack which also does the same thing for those of us that are less tech savvy.
What is text editor????
This worked like a champ. One update, I added the appropriate permissions to the HKEY_CLASSES_ROOT using the interface. One does not need to generate the commands that then run in the command file. But that is perhaps a function of the comfort level people have fooling with the registry at all. Anyway, this was an awesome find. Thank you Andy!
thank u so much dude
Actually Chris, the Office SP1 service pack DID NOT fix this on my machine.
OMG! Fantastic. I had given up as I had tried so many other suggestions that were either too difficult to understand or just didn’t work. After many months of this problem THIS worked perfect. Thanks so much.
You are simply the best!! Two months without using Outlook and five minutes to fix the bug!! Thank you very much, indeed!!!
You, Sir, are my hero. After at least a dozen hours of Internet research, half a dozen fixes that didn’t solve the issue (the last one even forcing me to boot from CD and revert to a previous restore point), this one did the trick.
Thank you, thank you, thank you!!!
(and shame on Microsoft for not having fixed this colossal blunder or included a fix for it in their knowledge base yet, given the large number of people having this problem)
One suggestion for your excellent writeup above: If the user name contains a space, it should be written in quotes (“”) in officefix.cmd, for example, if your user name is “Zaphod Beeblebrox” you should substitute
/grant=YOURUSERNAME=f
with
/grant=”Zaphod Beeblebrox”=f
The translations for the German version of Vista are as follows:
Administrators -> Administratoren
Users -> Benutzer
Also, note that if the users start the texteditor from the Vista menu, it will not have administrative permissions and thus officefix.cmd can not be saved to a subfolder of c:\Program Files, where subinacl.exe was saved by its installer.
And finally, the translation problem could probably be avoided by using the “Well-known group” S-1-5-* SIDs which are built-in and language-independent (see http://support.microsoft.com/kb/243330):
S-1-5-32-544 is the SID for Administrators
S-1-5-32-545 is the SID for Users
there is no “Well-known group” for the individual user accounts, of course, but you can retrieve them by typing “whoami /all” into a command prompt.
Caution: I haven’t tried if the SID-stuff above really works and I’m not much of a Windows hacker, so stick with Andy’s method until someone with courage and a system to spare has confirmed that the alternative works!!!
Again, thanks for taking your time and publishing this!
Raymond
Thank you so much, because it’s really worked on my computer. i have 2003 office and I can’t believe that it works well now. I spend hours for trying find out, what’s wrong. Really, thank you for your help!
i have this problem and can follow your instructions until it comes to the open text editor .what is it you mean ,i am a complete novice
Barry
For a Text editor open notepad that comes with Windows.
Works like a charm. I wasted some time searching for a solution like this on Google, only to find it at the top on Yahoo. Go figure!
I hate to be the one guy with a negative response on this. I have the wonderfully powerful (joke) 64-bit Vista and the instructions contained on this site did not work for my computer. I am hopeful that maybe there is something someone knows that can help me fix it but I remain cautiously optimistic.
I have tried changing the “YOURUSERNAME” to just about anything it could possibly be. I used the method shown above as well as the “whoami” command to retrieve the name (they returned different results). When I run “officefix.cmd” my machine begins like you would expect but then continues to process for a couple of hours and finally errors out.
I was so excited when I saw this site and the results people were having. Hopefully someone knows a fix to my problem. I’m not counting on Bill Gates to solve it anytime soon.
I have also tried fixing the registry by downloading and purchasing software recommended by Microsoft to supposedly fix the problem. WTF Microsoft!?!? You would think with this many people experiencing the problem they would have a solution patch for their software.
Anyway. I am a slave to Word, Excel, and Access now because I have tens of thousands of lines of code that I have written to streamline processes. Unfortunately I can’t run any of it on my new laptop so I am also a slave to my desktop. I don’t think I will “upgrade” to a new Microsoft OS on that machine any time soon.
Hi Glen
Sorry it didn’t work for you, but as I said, it hasnt been tested on 64 bit Vista. Did you have a look at Brian Peek’s site. I provide a link to it at the beginning of this article. There are some people there with 64 bit who have chipped in with some advice. Let us know if it helps.
My friend I have (both in spanish, since I’m from Buenos Aires) Windows Vista Ultimate SP1 with Office 2007 Enterprise updated to SP1 trough Windows Update (I only have installed Word, Excel and Powerpoint, upgrading the same apps from Office 2003)… and I get this annoying error message (with no description or any else): stdole32.tlb … and CAN´T GET SOLVED by following (extrictly) your method…
Besides ANYTIME I run Excel or Word (not with Powerpoint) I get involved in a “office configuration” (part of the setup program?) that starts and finish (at least, it seems to be) fine!
I obviously tryed to uninstall office completelly and re-install… reinstall as Administrator… rebooting at any instance… updating ANYTHING by Windows Update… I’m getting rid of this, and I can´t find a way to solve it.
CAN YOU HELP ME PLEASE?… PLEASEEEEE!!??
Thank you VERY VERY MUCH in advance!
Leonardo
If your Windows is in Spanish you need to change the words Adminstrator and Users into the Spanish shown in the table above.
First of all: THANK YOU FOR YOUR PROMT FEEDBACK.
I missunderstud some point of your instructions and get the Idea that if (in spanish) Administrator and Users are shown as “Administradores” and “Usuarios” at the security tad, under the system hard drive properties, that would be enough to get it work. SORRY FOR THAT.
At second instance: THANK YOU FOR YOUR ATTETION AND HELP.
Your answer push me to review carefully your original post and finally I get the right concept on the work to be done!
After 2 days of intensive search for the solution, finally I get the solution… EVERYTHING is working fine! (at 100%)
As a final comment: THANK YOU FOR BEING!
May be this sounds crazy or funny, but let me tell you that the way on which you help people (anybody, don´t care who is or if you know them) brings me a high reflection: why the things are going so bad in the world while being people like you??… I’m not jocking!
I’m not a philosopher… neither (and so far) a mystic or religious guy!
JUST THINKING:
People like you: commited on to give a hand to other people by gaining anything else than a “THANK YOU” are the difference… and makes the world a better place.
THANK YOU – THANK YOU – THANK YOU!
Hi
I am having this terrible problem…
I did not solve it with this solution
As so many people did t, so maybe i a doing something wrong.
My Vista is in Portuguese and this is what i did wrote:
subinacl /subkeyreg HKEY_CURRENT_USER /grant=Administradores=f /grant=system=f /grant=restricted=r /grant=J&S=f /grant=restricted=r /setowner=Administradores
subinacl /keyreg HKEY_CURRENT_USER /grant=Administradores=f /grant=system=f /grant=restricted=r /grant=J&S=f /grant=restricted=r /setowner=Administradores
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=Administradores=f /grant=system=f /grant=Utilizadores=r /grant=everyone=r /setowner=Administradores
subinacl /keyreg HKEY_LOCAL_MACHINE /grant=Administradores=f /grant=system=f /grant=Utilizadores=r /grant=everyone=r /setowner=Administradores
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=Administradores=f /grant=system=f /grant=Utilizadores=r /setowner=Administradores
subinacl /keyreg HKEY_CLASSES_ROOT /grant=Administradores=f /grant=system=f /grant=Utilizadores=r /setowner=Administradores
My username is J&S and i think did found rigth the names: Administradores and Utilizadores…
i am a litle lost here…
Thanks
Great tutorial, but i think i did something wong, cause it did not worked for me…
My vista is in portuguese.
Does it help if i put here exactly how i did?
thanks
Yose
Are you sure you got the correct words for administrator and users? Also are you using 32 bit Windows as this tutorial has not been tested on 64 bit Windows (other than one comment on here that said it did not work on 64-bit). For 64 bit I suggest you look at Brian Peeks tutorial (see beginning of this article).
I think i did use the right words… Administradores and Utilizadores, as seen in c:/ Properties/security ( It says: Utilizadores Autenticados, Sistema, Administradores (Portatil_HP\Administradores), Utilizadores (Portatil_HP\Utilizadores) )
It is 32 bit Windows Vista Home Premium SP1. What else you think it may be?
Brian Peeks tutorial can be aplyed to 32 bit, also?
Thanks
I think i discovered the problem
I neeed to activate the super administrator account, pass to it , and only then aply the fix 
Will check it now. Tell you then.
Solved !!!!!
Thanks
WOW!!! AWSOMEEEEEEEEE!
It worked perfect for me… some starting problems but then it works perfect !
finallyyyy THANK YOU!
Thank you. You’re a life saver. This solution works perfectly!
Thank you!!! worked for me too.
Your solution worked for me too. Thank you very much for solving hours of frustration!
Thanks for pointing me in the right direction, but I may have found an easier way? Instead of using the SubInACL program, I just manually set the permissions inside the HKEY_CLASSES_ROOT. Then I uninstalled Office 2007, and then reinstalled Office 2007.
At least this worked for me. Was there something in that SubInAcl program that I needed to use?
Thanx alot dude… worked like a charm.
Hi! First let me say what a clear and helpful set of instructions, thank you!
Windows Office 2007 installer starts up at every opportunity on my Vista Ultimate laptop with Office 2007, + Access 2003 and MS Project 2007.
I was really pleased to read your solution and tried it, unformtunately it didn’t work. My permissions seem to be OK, so I was wondering if you had any thoughts on what the problem might be and how to solve it? I also had a look at Aaron Stebner’s weblog and treid his reset steps, still no luck
Anyway many thanks for addressing this, it seems to be a common problem and neither my laptop supplier (Dell) or Microsoft seem to be able to fix it.
Just an update to this. Dell spent 3 hours in this today and have resolved it by uninstalling MSOffice 2007 and re installing it, plus some registry editing work. Everything seems to work as it should, but there are now some updates waiting to install and I am reluctant to do that in case it starts the whole configuring problem off again.
Suggest that an uninstall and reinstall might work for anyone who has this problem, and does not find relief with the permissions fix on this site.
Thanks – it really works for Office 2007 and for my Itunes which was also trying to configure each time I started it.
Thank you. You’re my Idol!
This works perfectly with my Windows Vista Premium and Office 2003 Portuguese.
Portuguese:
Users = Utilizadores
Administrators = Administradores
I felt very confident about the fix with the amount of positive feedback logged here, but the fix made no difference in my case.
By chance I found that by running the programs directly from the program folder the problem was not encountered. I tried adjusting the the “start in” parameter in the shortcut properties but this made no difference either.
In the end I simply deleted the shortcuts in the program group and simply recreated them.
This looks so promising but no joy. I get alot of errors -
example: HKEY_CLASSES_ROOT – RegSetKeySecurity Error : 5 Access is denied.
What do I do to fix that? I only have one account on my Vista 32 machine so I am at a loss.
Also it was helpful to see the post about spaces in the username and to surround with quotes. I use “Selwyn Family’.
Thanks in advance for any help.
B R A V O et merci.
J’ai passé plusieurs jours à trouver la solution et la votre a été efficace au premier essai.
Merci Microsoft !!!
Andy…After following your easy-to-follow instructions and restarting my computer, it worked like a charm! Thanks for the very helpful advice!
Thanks works fine also for me.
For the Adobe Installation problem i resolved disableing the “Acrobat PDFMaker Office COM Addin”.
bye
Tried this, ran through the office fix fne, on a 32 bit vista machine – but no joy! All in English too – Annoying but lucky for those that it works for.
Thanks for the great post! I can confirm that it worked great on Windows 7 RC x64. It didn’t repair all apps though, so I had to uninstall Visio and reinstall it.
Wow finally a solution, it worked great.
Now the “BIG QUESTION”
Why has Microsoft not released a fix, they have got to have known about this solution?
Or
Is it that they do not want to admit that Vista is full of bugs and holes, you know it makes you think what else are they hiding. For once I just wish Microsoft would be honest.
YOu Rock…I have talked to everyone and called everyone, this is the only thing that has worked.
Thanks
THANK YOU !!!!! I agree with everyone else you did a great job putting this together,other fixes were confusing or didnt work. I did a clean removal of office 2000 and did and install of 2007 and I regreted it ever since.I’m so tired of microsift bugs and gliches ,I even shut of microsoft updates because every single day there updates the last one shut down half of my im messenger conversations. A good programming team would never put out such garbage.I read the micosoft is giving billions to indian and pakistany software programmers training sites. Talk about a sell out to america !!
Worked for me. Thank You. I contacted Microsoft and I am still waiting for a resolution from them. It will feel good to tell them I don’t need their help. Well Done !!! I just wonder how my registry got messed up in the first place. I’ve never done any registry editing, but I guess I have now.
Hi,
I’ve got pretty similar problem. I am actually the only user of the computer, with the administrator rights, but still, every time i try to run the instalation of MS WORD 2007, it says: “you have to be administrator to run this program”. I checked my account: I am logged as User/Administrator! Can this be fixed?
thank you!
Great, thanks very very much.
Worked great, I’ve been searching for a fix for this for months.
Hi, HKEY_CLASSES_ROOT has appropriate permissions but i have this problem, too. What also may cause this problem except registry permissions? Please help, I use Home and Student edition
Hi, I´m trying to do this but when I want to save the code as officefix.cmd a dialog box says that I don´t have permissions to save in the same folder as SubinACL.exe that I need to need permission from administrator and this asks me if I want to save it in my user folder as an alternative.
What should I do???
Because I saved in my documents and then I cut it and pasted in the folder that you said, then I clicked but it didn´t work
Help please.
I have another question. Do you know how to eliminate the window of windows installer every time I want to open word or excel or power point this windows appears and it´s very stressful.
Thank you.
This worked perfectly.I appreciate the time you have taken to solve this and to share the answer with the rest of us.
Unfortunately it did not work for me! When the subinacl.msi program was running a red band showed some errors occurring as it ran.
It did not change the registry permission file and the same problem still exists with Excel, Word and Powerpoint.
Too bad I was hoping this was the solution.
Work great…took over an hour. I wish microsoft would make a built in permissions repair like MAC does. Vista is horrible with permissions.
***The errors are registry entries that do not require modification.
****If anyone is having trouble saving or coping the file into program file try logging in as administrator.
Didn’t work for me… Excel is still starting with the prompt showing “stdole32.tlb” and afterwards a “Configuration Process” starts – minutes later it is ready to use.
I also saw the red band showing a high number of “failed” entries or corrections (I suppose)
IT WORKED after I had done a small correction to the described procedure and ran it again: I started the command prompt as admin – right-click on it and click Run As Administrator and did it again… PERFECT, THANKS!
I’ma try this fix. Im hopeful that this would work. Thank you!
Update: Worked like a charm! Thank you so much! You saved me from a days work of reformatting and configuring my system.
You are the best Andy! I’m amazed. I just started having a problem with office after a new install. I tried everything and nothing work. Then I found your article. It fixed not only that, but a few other issues I had. IE would not let me install Flash, and several design applications I have would not work because they thought Flash wasn’t installed (it worked in other browsers…). Now everything is working fine. Now why can’t MS find someone with a clue like yourself to sort this shit out for them. They might develop a nicer product.
Thanks man.
Brilliant! I had problems initially, i had high number of errors and it still did not work, so what i did was:
Click on start:
Select All programs
Select Accessaries
Right click on cmd (Choose to run as Administrator)
Then from there type in
cd c:\(The location where you stored the file)
Then run the “officefix.cmd”
You know it worked when you have 100% modification rate. 0 fail and 0 errors.
Cheers!
Well done thanks alot too!
I have 64bit Windows Vista Home ed. and it worked for me!!!!!!!!!!!
Many thanks!
Thanks for taking the time to compile this fix, it has worked for me first time.
Briliant news.
I have the same problem as apparently a lot of other people
32bit Vista Home and Student , when I run Word 2007 it runs configure everytime,
Excel the same and also comes up with “stdole32.tlb” .
The other applications seems to work fine.
I followed Your instructions and went into regedit, my screen shot is identical to yours,
so I conclude that it, in my case, is not an admin. problem, I then went into the control panel and repaired office 2007, but to no avail, I have still got this annoying problem.
But thanks for trying to help some of us not so smart puter buffs.
Many thanks
Hey Great work Man Iam Annoying from this problem from 2 months and in two minutes u just solved my problem
thnx
Windows 7 x64 : This cause my registry to mess up. Upon restart my sound card is uninstalled, no audio, internet acting weirdly claiming there is no net connection, explorer.exe can’t run cus of no HDD apparently. I can’t browse my PC anywhere. Not even My Computer. My computer is severely messed up meaning I’ll have to reformat just as I had recovered from my last one and just in time to intercept my internet course I’ve paid $200 for and is ticking away.
System restore is broken. No HDD space available it claims. Registry wasn’t restored in safe mode’s system restore. Same issues.
I fixed my Ms Word, not by the guide but another one: reg add
HKCU\Software\Microsoft\Office\11.0\Word\Options /v NoReReg /t REG_DWORD /d 1
reg add HKCU\Software\Microsoft\Office\12.0\Word\Options /v NoReReg /t REG_DWORD /d 1
Enter both lines into Run and hit enter. Replace \Word\ with \PowerPoint\ etc and enter them to help remove the config’ing popup on each launch.
I solved office but messed by PC. Yay
Any help is much appreciated.
Also…
it may be a good idea to suggest for people to actually back their registry keys up beforehand…
Sorry it didn’t work for you, but as I did state, this fix was only tested on Windows Vista 32 bit (Ultimate version). Whenever you do anything to your registry, you should of course back it up.
Have you tried starting up in Safe Mode? I am not familiar with Windows 7, so don’t know to do this. On Vista, you also have an option to restore Vista when its starting up. I believe its the F8 key.
Oh how I wish I had found this earlier and not wasted so many hours trying to find a solution. Thank you SO much!!!
I would like to thank you so much , you have save me from reinstalling windows again, i have tried every possible solution and none,
thank you forever for the nice demostration as well
best regards
Hi Andy , it took me a while to get this problem resolved and right at least 4 tries – But thanks as it worked on my dell laptop and I am delighted the problem has gone away for good..I made a few little mistakes – like not changing date on Registry etc – not running program office file correctly ..Anyway tks Alan
Thank-you Thank-you Thank-you Thank-you……I tried about 6 different “fixes” found on the web….this was the only one that worked!!!
I’m on Vista Business 64-bit. There’s no registry permission discrepancy as reported but I also experienced the same “stdole32.tlb” error everytime Excel is opened.
The problem is finally resolved after I manually uninstall all Office components including Trial and Activation Assistant before installing the paid version of Office Professional Plus 2007.
If MS Office cannot be completely uninstalled using Programs and Features (or Add or Remove Programs) in Control Panel, follow the instructions in http://support.microsoft.com/kb/928218 to manually delete all Office files and registry subkeys.
Hope this helps those who are still struggling with the error.
Perfect, thanks very much
It does not work in Windows 7 *64
Perfect! Have been searching for and trying different solutions for several weeks now. Your solution worked first time…..and the way it was explained was perfect for a relative novice. Thank you!
Thank you, I spent many hours with this.
Your solution did fix the problem with word and excel (setup running at every start and the stdole problem) BUT Outlook still runs the configuration at every start.
That was my original problem, the problem with word and excel came after uninstalling and reinstalling office
.
So I am really back where I started.
Any hints someone?
Hoping that someone can come up with a solution, I did a workaround.
Just renaming the setup.exe in “C:\Program Files\Common Files\microsoft shared\OFFICE12\Office Setup Controller” did not help, it will be reinserted at next start up.
So I created a “do nothing” setup.exe and put it in that folder, and now outlook starts without annoying dialogs.
This seems to be an issue for many, according to all the hits when searching for a solution, it is amazing that MS don’t publish a fix to this.
(BTW I this has not been a problem to me earlier, I was using Thunderbird until last week, but now I have to connect to an Exchange server and use the calendar and contacs of that one and that does not seem to work properly in Thunderbird yet, mail is no problem).
It worked like a champ!!! Muchas Gracias, Thank You, Xie xie, etc.
Thank you very much for this clear and quite fast guide, it acctualy solved my problem.
Regards from Lithuania
Andy, i need your help ! I’m using super-administrator account and when I run officefix.cmd the following error occurs:
C:\Program Files\Windows Resource Kits\Tools>subinacl /subkeyreg HKEY_CURRENT_US
ER /grant=administradores=f /grant=system=f /grant=restricted=r /grant=Débora=f
/grant=restricted=r /setowner=administradores
LookupAccountName : HKEY_CURRENT_USER:restricted 1337 A estrutura da identificação de segurança é inválida.
Current object HKEY_CURRENT_USER will not be processed
Translating the error message: “1337 The structure of the security ID is invalid”
Thank you in advance
Sorry Emerson, I dont know the answer to that. Maybe someone else who reads this can help.
Thanks a lot! All works fine.
But I just use regedt32 and made modifications to HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_CLASSES_ROOT
where
f=full rights
r=restricted
and USER was selected from Active Dicectory
Brilliant!
Andy,
My HKEY_CLASSIS_ROOT looks just like the first one that ou say is how it should look. However, I still have the problem with an install every time I start one of the Office tools…..
Any thougts?
well I had spent days trying to find the answer and this worked for me – I also had a problem with my handhelp mobile PC syncing with out look and as soon as it had finished all my data then synced with the phone.
Thanks
I don’t know Rob. I would probably backup the registry and create a restore point anyway, and try this fix.
Thanks for this – Brilliant! In my case, there were two ‘failed’ errors, but it fixed the problem with Office 2007 anyway!!
Incidentally, I ran it as my Username first (2 errors), then as an Administrator (same 2 errors), then again as my Username (same 2 errors). Typically I interuppted it the first 2 times after I’d seen the errors, but the third time I let it run through – so I don’t know which one fixed it.
Thanks again.
Hey!
Thanx for the fix.. I run Vista 64-bit and it solved my problem.. also it solved a regitry issue on Illustrator CS4 =)
Thanks for the Great Info Andy,
Unfortunately, my Vista 64 will not run “SubInACL.exe”. I’ve downloaded it and double click it to run and all I see is a momentary window open them immediately close. Any suggestions?
By the way, I am experiencing the “config” running anytime I try to open one of the Office programs.
Both are legit copies with legit keys.
Thanks for the help,
Frosty
I tried this fix several times and also Aaron Stebner’s fix. Neither works for me. I’m running 32-bit Vista and just installed Office 2007. I get the stdole32.tlb error message with Excel and also each time I start Excel or Word the Office configuration routine occurs. Any suggestions?
Its just a guess, but have you tried running subinacl as administrator? Right click it and select Run As Administrator.
Wow, this fixed that office problem that just started yesterday! So glad I found your instructions before I decided to wipe Vista clean and start over! Thank you!
At last – Advice that works!
Forums are littered with advice on how to solve this windows bug but this is the only answer that I have found that works!
Thank You.
You total star put to rest a months pain! Thank you!
One time I found that it does not work unless UAC is turned off!
Thanks again!
Very good! – I can confirm that it also works on Windows 7 64bit (Home Premium).
When installing MS Office 2002, 2003 or 2007 I first always got the Installation/Configuration routine with missing stdole32.tlb when starting the programs – very frustrating!
I used your procedures with downloading/installing SubInACL and making the “officefix.cmd”, changing the username and running it with double-click.
It did NOT succeed – many FAIL’s, very few DONE’s.
I then looked into Aaron Stebner’s blog (your link) and used his routine with his “reset.cmd” (downloaded from his link), changed the username and run it then the way he instructed. It was a complete success!!
I believe that it is vital to run the “reset.cmd” or “officefix.cmd” as an Administrator with elevated privileges, i.e. select All Programs, then Accessories, then right-click on the item named Command Prompt and choose Run as administrator.
In my case the “reset.cmd” using SubInACL run for 28 min and changed 300,000 entries, failing on 100,000 entries.
After reinstalling MS Office everything is as it should be – no funny messages.
Also, the routine removed all silly “You don’t have permissions” prompts to open folders, so now my Windows 7 performs like good old XP.
I am really happy now and recommend this for anybody working on Vista or Windows 7.
Thank you for this advice!
The Swedish translations are:
administrators = administratörer
users = användare
And it worked for me after a few set backs
Thank you. It works for me. However, after reboot, my network connection didn’t come up. I have to manually configure the IP address, subnet mask, default gateway and default DNS server before it works again.
The problem is I oftenly go out of town, thus will need auto-config for my wireless connection. Did anyone ever get the same problem like me? I am using Vista SP1 Home Edition and Office 2007 Professional.
Thanks in advance.
Thank you.
Thank you. It works for me.Thank you.
I have the problem but my registry permissions seem to be set correctly. Any ideas? Sorry if I missed this in the thread.
Wow. Was scarey but Excel, Word and others are working normally now.
Hi,
My auto-config network connections (both LAN and Wireless) still not working after applying this change. I think I still can live with the Office error rather than not being able to connect to any other wireless/wired routers (except my home router).
Is there a way to undo the “subinacl /subkeyreg” changes above?
Thank you in advance for any help.
Jo
REstore from backup.
I did the work and ran the fix but it did not change the error. installer still tries to run every time I open word.
excel gives me that stdole32 error.
I have vista and office 2003 on an hp laptop
Thank you, Thank you, Thank you! Brilliant. After hours and days of research yours is the only fix that fixed it. I am running Office 2003 & 2007 on Vista.
What amazes me is that I didn’t always have this problem. I wonder what program messed up the permissions in the first place.
Rick
Thank you so much.
Your instruction are so clear.
You have saved me a lot of time and effort.
I you ever visit Dublin (Ireland) let me know and I will
shower you with Guinness