Helping people with computers... one answer at a time.

You can move the I386 folder, but in order to keep Windows File Protection happy, you'll need to update a registry key as well.

The folder c:\i386 takes up a lot of space on my hard disk, so I moved it to a drive on another machine on my network where I have more room. I'm now getting Windows File Protection errors, and there's no option to tell it where the files are. What do I do?

I actually get variations of this question on a regular basis. Recently as I was cleaning up the hard disk on my primary machine I found myself asking the same question.

The answer is that you can move I386, if you then also make another change deep in the Windows registry.

If it exists C:\I386 (the folder "I386" at the root of your "C:" drive) most likely contains an image of the installation copy of Windows. It's often placed on your hard drive as a way to avoid having to ask for a CD when Windows decides it needs some file that hasn't yet been installed.

It's also used as one of the repositories for the original files used by System File Protection and the System File Checker. If Windows determines that one of its files has been replaced with an unrecognized copy, perhaps due to a virus, then the System File Checker will restore the file to its original version from C:\I386. (It actually uses additional repositories as well, in case service packs and other updates have legitimately updated the file.)

In an attempt to answer the question "I wonder what happens if ...", I carefully backed up the contents of my C:\I386 folder, and then deleted it.

The next morning I woke up to this error message:

Windows File Protection Error

".. you can move your I386 folder to wherever you like, as long as it remains visible to your machine, and you make the registry update to let Windows know where it is."

Windows File Protection had attempted to check my system files. I'm fairly certain that the error message it technically incorrect. No files had been replaced by unrecognized versions. Rather, the error was simply that the reference copy it expected in C:\I386 was no longer there.

I restored the copy of my machine's C:\I386 folder to another machine, on a folder that had been shared and that was visible on my local network.

The "trick" to telling Windows where to look turns out to be a simple registry setting. Specifically the key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\SourcePath.

Firing up regedit, locate that key:

Registry Editor opened on the SourcePath setting

Note how it's set to "C:\" by default. The folder must be named I386, and this setting tells Windows where to find that folder. Double clicking on SourcePath, you can then change it to be the full path to the I386 folder:

Editting the SourcePath value

Note that it doesn't include the "I386", it just points to where I386 can be found. In my case it's \\freenas\notenmax\machine_specific\leo\i386, but the registry setting is \\freenas\notenmax\machine_specific\leo. (In my case "freenas" is the server, "notenmax" is the share, and then "machine_specific" and "leo" are just folders within that share. I386 does not have to be at the root of the share.)

Once updated, the setting does not take effect until you reboot.

After rebooting I opened up a command prompt window and forced Windows File Protection to check all my files by running the System File Checker (SFC /scannow):

Window File Checker progress

It completed normally, indicating that all files were good, and that the I386 folder had been accessed successfully from its new location.

The bottom line: you can move your I386 folder to wherever you like, as long as it remains visible to your machine and you make the registry update to let Windows know where it is.

Article C3104 - August 2, 2007

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
35 Comments

kernal32.dll is missing to run a pdf how do i correct this/

Posted by: Jamey Odau at February 5, 2010 11:45 AM

Hi Leo - My registry does not have the folder SourcePath. What should I do - can I just create a folder in the registry with this name?
Thanks

Posted by: Alison Murney at September 17, 2010 7:19 PM

when using regedit to find HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\SourcePath. my reg editir states that source path is looking at D:\ is this right? I've had a few problems with the PC as i had two trogans and they were removed by malwarebytes but if this source path is wrong then changing it to C:\ might solve my other problems - IE no longer works at all

It's not uncommon for I386 to be on D:. It's location has nothing to do with whether running programs work or not - it's only used at the time of installing programs or features in Windows.
Leo
20-Nov-2010

Posted by: momtaz at November 19, 2010 6:28 AM

Im running xp pro sp3, Ive tried changing that registry location to my I386 folder(correctly) but sfc still demands the cd. why?

another problem lately, is when i run sfc /scannow it doesnt replace any of the files it finds is corrupted. Sfc used to run and each time it found a file it said "retry". when it would finish and i would run it again it no longer came up with the "retry" so I knew it had replaced them. Now it just shows the same retry demands as it did the 1st time and I can tell that the Op system is slowly getting more corrupted. why is it no longer replacing files? is there a public software that can replace sfc?

The only alterantive I'm aware of to SFC is to re-install the operating system. If your OS is becoming more and more corrupt, I would do that, and then also figure out WHY it's becoming more and more corrupt and take steps to stop that from happening - it shouldn't.
Leo
23-Sep-2011

Posted by: D wazzle at September 23, 2011 1:10 AM

Dear Leo,

I knew 'SFC / scannow' allready by a moderator who helped me. I have the problem too of a pop-up that asks me a cd of XP with SP3 for all the dll's. I have burned a cd with the iso of SP3, also I have tried several other things...till I formatted my HD and installed it allover, a new install....the 1st thing is that I did 'SFC / scannow', on the installment of how i bought the pc brand new in the shop....there was the same question about the cd! Was it corrupt when I bought it?
The weird thing is, my sister, my father, and brother of my sisters husband all have the same pc, and with all the 'SFC / scannow' isn't working and there is asked for a cd of XP for SP3 to load all the dll's...
On Microsoft is nothing to find yet that helped...
I know XP is old and antique in the world of pc's, maybe that's the crucial factor. Though i like XP...
Do you recognise the problem? I read somewhere about the i386, that's a part of SP3 too, that it has a shadow file somewhere...when rebooting, it wouldn't be the same in both files, the shadow file is recovering to the previous status, so they are not the same, that would cause this? I couldn't find the page anymore where i read it unfortunately.
Thank you for you site with info&suggestions, i like it.
Best regards.

Posted by: Patty at November 28, 2011 11:39 AM
Post a comment on "How do I tell Windows where my I386 folder has moved?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...