Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: trying to install

02 Jan 2011   #1

windows 7 home premium (64 bit)
trying to install

every so often i try to install something and it gives me the error saying cannot expand "userappdata" or "userappdataerror"ect...

Today while trying to install "Advanced system care "

I get this error ...

Runtime error (at 21:1227):
internal Error : Failed to expand Shell Folder constant "userappdata"

Can someone please help me to fix this userappdata ERROR please ?

Attached Images
trying to install-run.jpg 
My System SpecsSystem Spec
02 Jan 2011   #2

win 7 ultimate32bit, Win8.1pro wmc 32bit

Hi cnrimgr1, have a look at this link userappdata also run a malware scan Malwarebytes' Anti-Malware: Malwarebytes download the free version
My System SpecsSystem Spec
02 Jan 2011   #3

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1

This can possibly be related to user permission's. The next time you go to install a program, right click on it, and then click on "Run As Adminstrator". See if that helps.
My System SpecsSystem Spec

02 Jan 2011   #4

windows 7 home premium (64 bit)

@pebbly i have MBAM on my system and i run it regularly..

@anak i tried to run as administrator and came up with the same error any advice ?
My System SpecsSystem Spec
02 Jan 2011   #5
Martin Dendev

Windows 7 Home Premium 32 bit

did you try compatibility mode? or is it with every single piece of software you want to install?
My System SpecsSystem Spec
02 Jan 2011   #6

windows 7 home premium (64 bit)

no it only happens on a few that i try to install .... i have had it happen like 6-7 times with diffrent things though
My System SpecsSystem Spec
02 Jan 2011   #7

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1

Quote   Quote: Originally Posted by cnrimgr1 View Post
@anak i tried to run as administrator and came up with the same error any advice ?
If you look in Event Viewer, and have "Event ID 1606" There is a registry exercise you can try.

See Dave_D's answer that worked for Spallina here:
Internal Error: Failed to expand shell folder constant "userappdata"

Farther down in the thread one poster says it helped him by getting rid of a virus corrupted registry key.

A little further the one poster had no problems installing Open-Source programs.

There is also a suggestion to create a new user with Admin rights because the one you're using is corrupt.

Before you do that go to your: Control Panel\All Control Panel Items\User Accounts\Change Your Account Type , and see how your account is listed, if it is standard user, change it to Administrator, then click "Change Account Type" OK, apply your way out if applicable.
Then try to install your program.

If it is already set as Administrator, your user account may be corrupt.

Create a new user account and give it Admin rights, then try to install your program.

Can you get to Event Viewer to see what Event ID this problem is throwing?

You can get there either by going to; Start-Orb, All Programs, Administrative Tools, Event Viewer.


Start-Orb, type in Event Viewer in search box, click on result.

Check Windows Logs
My System SpecsSystem Spec
02 Jan 2011   #8
Microsoft MVP

Windows 7 Ultimate 32bit SP1

It sounds like you may be infected.

I'd like you to scan your machine with ESET OnlineScan
  1. Hold down Control and click on the following link to open ESET OnlineScan in a new window.
    ESET OnlineScan
  2. Click the button.
  3. For alternate browsers only: (Microsoft Internet Explorer users can skip these steps)
    1. Click on to download the ESET Smart Installer. Save it to your desktop.
    2. Double click on the icon on your desktop.
  4. Check
  5. Click the button.
  6. Accept any security warnings from your browser.
  7. Check
  8. Push the Start button.
  9. ESET will then download updates for itself, install itself, and begin scanning your computer. Please be patient as this can take some time.
  10. When the scan completes, push
  11. Push , and save the file to your desktop using a unique name, such as ESETScan. Include the contents of this report in your next reply.
  12. Push the button.
  13. Push
My System SpecsSystem Spec
03 Jan 2011   #9
Martin Dendev

Windows 7 Home Premium 32 bit

now that you're saying, I had this once too!

but the answer from Jacee helped me out, so you should try that!
My System SpecsSystem Spec

 trying to install

Thread Tools

Similar help and support threads
Thread Forum
Windows update fails to install IE10 after repair install
I did a repair install of W7 Ult. x64 SP1. Applied all updates, but if fails to install IE10 update : (as you see it is a dutch version). If have run sure & sfc /scannow. Both report no problems. CBS files are attached. Please help ?
Windows Updates & Activation
Windows 7 Install - Cannot install required files... Error message
I have been trying to do a clean install of windows 7 and I am now getting this message. I have probably done a clean install using the exact same disk 5 times before. I've tried formatting the hard drive and re partitioning. This is a custom build. The thing that is interesting to me is that I...
Installation & Setup
BSOD playing Guild Wars 2, recent SSD install and fresh install of W7
I just added a new SSD drive and installed a fresh copy of Win 7 Enterprise. I have had a previous driver issue with this system in the past. The amazing people on this site helped me work it out. Now for the life I just can't seem to sort it out again myself this time. I ran and uploaded the...
BSOD Help and Support
BSOD on fresh install when install updates, misc error codes
My system info is in my profile, installing Windows 7 x64 Ultimate Retail. Attached is all of the report info. I have no idea what is going on. Whenever I try to install all of the Windows updates it blue screens. Then it will reboot, try to apply the updates, and blue screen again. I've run...
BSOD Help and Support
Windows 7 Install Disc fails to see hard disk after Ubuntu install
After I tried to make a dual boot with Ubuntu and Windows 7 Ultimate (64-bit), Windows now does not boot. I have tried to reinstall and repair the HDD but the disc fails to recognize my HDD (Western Digital Scorpio Black 500 GB). My HDD is Basic, has 3 primary partitions and 1 extended (3 logical)....
Installation & Setup
Office 2010 programs wont install / lauch after install
one of my co-workers wants me to get rid of some viruses and install office 2010 home and student on her computer with the key she bought. her computer runs windows 7 64-bit. after backing up her data, i finally ended up doing a factory reinstall from the backup partition. so i downloaded all...
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:15.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App