Find windows install directory

How to find installed program files in Windows 10 (uninstall)?

To see all Windows 10 Installed Programs, this solution is also for all Windows 10 OS and MS Server 2019, . a fast solution!

1.) . THE DEFAULT INSTALLATION LOCATION FOR PROGRAMS IN WINDOWS 10!
2.) . THE DEFAULT DOWNLOAD LOCATION IN WINDOWS 10!
3.) . THE INSTALLED PROGRAMS WITH UNINSTALL FEATURE!
4.) . FIND RUNNING PROGRAM PATH IN WINDOWS 10!

1.) THE DEFAULT INSTALLATION LOCATION FOR PROGRAMS IN WINDOWS 10!

Please run the MS Explorer via hot key [Windows + E] and in the address bar [ALT+D] or [F4]

enter the address: shell:programfiles and you can see all installed programs in Windows 10 standard Programs Folder. (. see Image-1)

PS: On Windows 10 x64 (64-Bit) is also the 32-bit Program-Folder: shell:programfilesx86
Use shell:programs for the Start-Menu folder in Windows-10!

The address shell:Common Programs is for all User Programs in the Windows 10 Start-Menu folder!

2.) THE DEFAULT DOWNLOAD LOCATION IN WINDOWS 10!

If you download a Program from Internet the default download folder on Windows 10 is shell:download

Programs Download Folder on Windows-10!

The downloads folder is the default location for downloaded files with all the Windows operating system Web browsers. Therefore, if you download a file from the Internet using any browser, the file is automatically saved in the Downloads folder.

If you’re using Windows 10 as your operating system, you’ve probably collected hundreds of other files and programs in the Downloads folder in the last couple of months. Therefore, the Downloads folder in Windows 10 is likely to be slower than the first installation of the system.

3.) THE INSTALLED PROGRAMS WITH UNINSTALL FEATURE!

To uninstall programs in Windows 10 , press the key combination [Win-Logo]+[X].
Here simply click on «Programs and Features» and open «Programs and Features» in Windows-10

Then select the installed program in Windows 10, and via right-click on the corresponding program, you will see an option to uninstall the program. (. see Image-2)

Via appwiz.cpl:
See also: ► . Fax and Scan is gone at once, Windows (10, 8.1)!
or: Where are other Windows 10 features, how to activate it?

(Image-5) Uninstall installed programs on windows-10!

As a result, the list of installed programs recognized in the system is displayed. They are deleted in the same way as in the previous method: Select the application, click Uninstall, and confirm the action. The next step is to start the built-in installer or Windows 10 Installer, where you need to perform a few clicks.

4.) FIND RUNNING PROGRAM PATH IN WINDOWS 10!

Please press the key combination [CTRL+ Shift + Esc] to start the Windows 10 Task Manager!

Right click in the Windows 10 Task Manager on the appropriate program for example «Internet Explorer»,
then select «Open file location»! (. see Image-3 Arrow 1 to 5)

Please click the Windows-10 Logo or the Windows-Logo Key! Enter in Search Box for example mspaint and start it for example via a right click on the Windows 10 Paint! (. see Image-4)

(Image-1) shell program files in windows 10!

(Image-2) Uninstall programs in windows-10!

(Image-3) find running program location full-path in windows-10!

(Image-4) find file location in windows-10 via search-box!

The Solution to find installed program files is suitable for: Windows 10 Pro, Enterprise, Home, Windows 8.1, Windows 8, Windows-Server 2019, 2016, 2012, Windows 7 Basic, Professional, Starter, Ultimate

Change default Program Files installation directory location in Windows 10

In Windows 10/8/7 OS, by default, software gets installed on your System Drive, usually C drive, in the Program Files folder. The typical path is normally in Windows 32-bit is C:\Program Files and in Windows 64-bit is C:\Program Files and C:\Program Files(x86).

Microsoft recommends the C:\Program Files folder for the default installation destination. It’s a convention that ensures proper inter-operation between your program and the OS’s application and security models. So, once software programs are installed they go by default to C:\Program files on the computer.

This can, however, be changed by selecting another folder or location or partition. To change the default installation folder, the data must be modified in the ProgramFilesDir key and a new path must be chosen for the installation folder.

Windows uses the System Disk for installing any new applications, That is, if your Windows is installed on the C Drive, the default folder where all the applications you install would automatically show up as C:\Program Files, unless of course, you change in manually while installing the application’s locations.

Do note that Microsoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value. It states that if you change the location of the Program Files folder, you may experience problems with some Microsoft programs or with some software updates.

Change default Program Files directory

If you almost always prefer to NOT install on the System Disk, but instead on another partition, say, the D drive, then rather than changing the default location every time, you can edit the registry as follows:

Now open Regedit and navigate to the following key:

Now in the right pane look for the value ProgramFilesDir and/or ProgramFilesDir (x86) depending on whether your Windows is 32-bit or 64-bit.

Double-click on it and in the box which opens up change its Value data from C:\Program Files to say, D:\Program Files.

The default directory for the installation of all your programs shall now be D:\Program Files.

If you are using Windows 64-bit, you have to change the value of ProgramFilesDir and ProgramFilesDir (x86).

C# find installation directory of application

I build an application that’s run setup files and automatically patch it after setup completes.

Читайте также:  Планировщик задач для android windows

I use this registry key HLKM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall but some applications doesn’t have this key.

How I can find installation directory?

2 Answers 2

If you’re using the VS Setup Project as your installer, then you can utilize Custom Actions as one method of getting information about the Setup environment.

With that said, I feel there might be a better way to accomplish your goals, and with more information I think we could help you get there.

EDIT

I think I follow you now. If I were doing this I would first hard code the default setup location for each 3rd party app I’m packaging. If the user changes the default, it won’t be found, so then prompt them for their new path. Remember you can use Environment.SpecialFolder to get the actual location of Program Files (or other system folders), instead of assuming C:\. For probably 99.9% of installations and users this method will complete without any extra user interaction.

Another option is to create your own installer for those 3rd party binaries that are being contrary. Of course you have to maintain updates too, but it sounds like you’re already doing something like that with your patches.

Change Default Installation Directory In Windows 10/8/7

Last Updated on July 21, 2019 by admin 51 Comments

By default, Windows installs all the programs in C:\Program Files or C:\Program Files (x86) directory depending on the type of Windows 10 and the program you are installing.

You might want to change the default installation directory if your “C” drive is running out of free space. While some programs allow you to select the install drive and directory, most programs don’t offer the option to select installation drive. For instance, setup of antivirus programs like Kaspersky Internet Security and Norton doesn’t offer an option to select the default installation directory during the product installation.

If you want to change the default installation location of programs in Windows 10/8/7, there is an easy workaround. You just need to edit the registry to change the default installation directory or path. And if you want to move installed programs, please refer to our how to move installed programs to another drive in Windows 10 guide.

To start with this guide, make sure you have enough free space in your new directory which you are going to make as default one.

You need to do a small registry change in order to change your default installation directory as follows:

Changing the default installation directory

IMPORTANT: We recommend you create a manual system restore point or backup registry so that you can easily restore original settings if required.

WARNING: This is an advanced guide. So, proceed at your own risk.

Step 1: Type Regedit in Start menu/taskbar search box or in the Run dialog box and hit enter key to continue.

Step 2: Navigate to the following registry key in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Step 3: On the right side, locate the value named “ProgramFilesDir” and change the default value “C:\Program Files” to your new directory path (address).

Next, find ProgramFileDir (x86), double-click on it and change it value data to a location where you want to install programs by default.

Step 4: Finally, close the Registry Editor and reboot your system to apply the change. You might need to restart your computer to apply the change. Download a program and try to install it and check if it’s installed in the new installation directory.

If you are experiencing any issues, please restore Windows 10 to an earlier date using the previously created restore point.

PS: This tweak should work fine with Windows 7 and Windows 8/8.1 as well.

Comments

Patrick Sullivan says

I would highly advise to either NOT do this, OR to change the path BACK to the original (program files/program files (x86)), ESPECIALLY the 64-bit path back to C:\Program Files, because if the default path is NOT here, then Windows updates will constantly fail as it tries to install them to your set default installation path.

I used this after installing windows on my brand new pc. Works for about half the programs i installed, the others just use hardcoded C in the installer.

But that’s not the biggest problem. The biggest problem is – this breaks windowsupdate. Error 0xc1900204 is caused by this, and undoing it fixed the error for me.

I’m never doing this again, SO much easier just to change the letter during installation every time.

Here’s a different procedure that worked perfectly for me.

Create a *.bat file in the same folder of your *.exe installation file.
Edit the *.bat file with the following content:

.exe TARGETDIR/INSTALLDIR=”E:\Program Files\”

I’m not a computer expert… don’t know if it will work for everyone.

@TIBS
I never had problems with this after having installed plenty of software and then switching in the afterwards

Jonas T. Dralle says

I developed an app to simplify this progress

1. Download Install Dir Changer
2. Use it to change the default installation folder
3. Profit

It’s a very small application (

help me I have already change window path and reboot it in regedit menu but now many program doesn’t run in computer advance setting dnt work it show unidentified path help me what I can do plzz

This does not work. At all.

Clueless. First thing this should say is to ONLY do this if it’s the VERY FIRST THING YOU CHANGE after a CLEAN install of Windows. If not, expect mayhem, as MANY programs refer to the default variable to know where they themselves are installed after the event. In other words, a lot of software will fail to function as normal, if at all, after changing this setting.

On top of this, Kaspersky, for one, does not even get ‘fixed’ by this anyway! Brilliant.
If you want a true way of doing that, you could always just go for the plain and simple:
kis16.0.0.614en-gb.exe /p”INSTALLDIR=X:\PILLOCK”

Please, do not offer yourself as some sort of guru when you could quite easily screw someone’s installation of Windows beyond their own limits of recovery.

Читайте также:  Samsung np300e5c установка windows с флешки

How do you undo this? I changed this last night, now half of my programs will not open. Regedit will not work. Even tried putting in Windows CD to repair without any luck. Please help

@John yes, office 365 (click and run) will install into the program files dir you set in regedit.

John Stark says

Will this approach work with Windows 8.1 and installing Office 365 to a Drive other than “C”?

Please advise. Thank you.

When I change the registry values, can I leave it as the root of the drive (eg. “D:\”) or does it need to exist in a path (eg. “D:\Stuff 32bit”)?

3.i go to programfilesdir and change the default location to D/:program files
and also change the location of program files(*86) to D/:program files (*86)
– – –
Fix your registry typos, it should work better:
D:\ NOT D/:
program files (x86), NOT program files(*86)
D:\program files (x86) NOT D/:program files (*86)

Johan Eriksson says

I tried to do this but via another tutorial and now I need help.

When I try to open alot of programs like regedit it says that it cant find C:\Windows\regedit.exe and there is not a single file in the my other D:\ drive.

i did this
1. Type “regedit” in Vista start menu search box or in Run dialog box (for XP) and hit enter to continue.
2. Navigate to the following registry key in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
3.i go to programfilesdir and change the default location to D/:program files
and also change the location of program files(*86) to D/:program files (*86)
4.i closed the registry and reboot pc
but now my pc says that WINDOWS CANNOT ACCESS SPECIFIED DEVICE,PATH, OR FILE.YOU MAY NOT HAVE APPROPRIATE PERMISSION TO ACCESS THE ITEM
I EVEN CANNOT INSTALL ANYTHING
EVEN REGEDIT.EXE IS ALSO NOT OPENING.THE FOLLOWING MESSAGE COMES AGAIN & AGAIN ,PLEASE HELP.i also have copied all the files of programs files to program files d drive.my installed apps can be opened but new softwares cannot be installed.

You really only need this for programs that don’t give you a choice where they install.

I made the above changes to the registry (actually changed both with Run/Regedit and the Wow64 regedit) .

Then installed Skype.

Then changed them back.

Actually %SystemRoot% is the Windows directory (Windows on most installations), so all you need to do is navigate to C:/Windows/SysWOW64/regedit.exe to get to the 64bit version.

The reason most shortcuts don’t work after you change the default install directory is that they point to a registry key, not the actual executable.

After I changed the directories back to normal, the shortcut that Skype created didn’t work……..so I just created a new one from Skype.exe inside the install folder.

Also it really helps to be able to make image backups of the C drive with Acronis.com

How do I undo this? I changed my c drive default to our server default and now I can’t even get back into the ‘regedit’ as it says it no longer works AND I can’t get on to the internet without going into the program files! HELP!

How to change Windows 7 “Program Files” and “Program Files (x86)” destination folders.
In the registry find two branches. Some suggest only one but other entry is hidden in Wow6432Node as well and to make live easier must be allso edited.
“C:\” to “D:\” or what ever you need.

I would consider to take a look here as well.
3 be careful
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment

I was wondering if you ever considered changing the structure of your
site? Its very well written; I love what youve got to say.

But maybe you could a little more in the way of content
so people could connect with it better. Youve got an awful lot of text for
only having 1 or two images. Maybe you could space it out better?

Does anyone know how to do this for Windows 8? I cant find how to do it and my SSD for the OS is rapidly filling up…

Hello! It is all great .When i installed a program after changing the registry the shortcut wouldnt open. The program itself was installed on x:/Programs but shortcut said it was x:/Programs (x86)… Do i have to change all future program shortcuts? Or is there another way?

In registry i only changed the disc name from C to X.
On both regedits.

@sarthak:”Now many of my programs are not opening and many links like advanced system properties says something like syntax is incorrect!
what should i do?”

For anyone following this tread on a search, I would say — use symbolic links. someone mentioned this earlier in the thread. In light of everything that follows that, I suspect that poster had the right answer.

Hey guys!
I accidentally changed the windows path while changing temp path and rebooted my computer!
Now many of my programs are not opening and many links like advanced system properties says something like syntax is incorrect!
what should i do?

Can we make it dynamic? The installing program should ask the destination folder instead of the static program location?

im looking for a version of this for vista ultimate 64.

There are some potential issues with this modification: http://support.microsoft.com/kb/933700

I have Dell Studio Laptop 1737. I just bought new 64 GB SSD. Want to clean install Win 7 onto it. This drive will only be used for the OS/Recovery files. I plan to then take my existing 500 GB mechanical HD, format it, and install it in second HDD bay. Would like all program and data files on this 2nd HDD. Not sure about if all programs will be allowed to do this, ie, antivirus programs and MS office. Any suggestion? Need detailed instructions please.

When I followed this tutorial, I couldn’t see the folder I chose as installation folder after restarting my system. It just disappeared and as I checked – IT WAS NOT INVISIBLE. I had to reset the installation drives to default and there you go – visible again!

While I was following these instructions I apparently did it in the dumbest way possible. I didn’t back up my registry beforehand and now am in a rather tight bind…
http://imageshack.us/f/252/immensestupidity.png/
I modified the circled box to a folder on my desktop and probably didn’t even manage to that correctly. Now when I turn my computer on I get six beeps in a row (due purely to this).Any advice? Thanks regardless.

Читайте также:  Shutdown now ��� linux

2nd CORRECTION to Redirecting Installation Path. Now have double folders in new location:

I used a directory printer to try and compare what is in each of these folders. This is how the program showed the name of the folder with a second one within:

P:\Program Files\Program Files
P:\Program Files (86)\Program Files (x86)
P:\Program Files (x86)\Program Files (x86)

CORRECTION to Redirecting Installation Path. Now have double folders in new location:

After doing maintenance and completing system scans I went back to pull up both versions of REGEDIT.

My missing directory paths were now back. So the majority of my questions in my previous post are now
no longer needed.

My basic question I need to ask is still concerning how to get rid of a file within a file in each of my 3 P:\Program Files folders?

Also, should I have a third P:\Program Files folder because I have Win 7 64-bit?

Hopefully this will be easier to answer than the ones about disappearing Regedit paths! Thanks!

I redirected the installation path for my Program Files from C:\ to P:\ following the directions
from all the posts shown in the topic at intowindows.com/change-default-installation-directory-in-windows-7-vista

I have Windows 7 Home Premium 64-bit so I followed the suggestions for my system using the following
information:

The end result was I did not use the regular REGEDIT but the one suggested by typing in Run:
%systemroot%\syswow64\regedit. Then HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion.

I changed the four things suggested: dir; dir (86); ProgramFilesPath; and ProgramW64 to P:\.

There are several things going on since I did this to make me question some of the changes I made.
First, was it really necessary or an advantage in any way to use %systemroot%\syswow64\regedit
instead of the regular Regedit? Were there any disadvantages by using this version of Regedit?

I understood that I now was to have a P:\Program Files and a P:\Program Files (x86).

What I ended up with is:

P:\Program Files; P:\Program Files
P:\Program Files (86); P:\Program Files (86)
P:\Program Files (x86); P:\Program Files (x86)

I believe I figured out that I have two folders in each category because I made a folder in the new P:\
drive to copy everything from C:\ into instead of just copying it the the P:\ drive without indicating a folder. (If this is correct, this information should be updated in the original directions I followed for
people like me that have to have things spelled out.)

I have no clue why I have the third Program Folder: P:\Program Files (86); P:\Program Files (86).
If I am not supposed to have this one, how would I get rid of it or put it back?

My next question is, how do I get just the one folder in each of the new locations, whether it is two or three locations? Get rid of the folder within the folder? Or would it just be easier (or perhaps the only way) to format and re-install Windows and start from scratch?

I tried to pull up both versions of Regedit to see what was showing and perhaps changing things back to C:\. The Regedit version suggested for 64-bit was not even there. The error message said perhaps it had been moved. Which I’m sure I did, but do not know how to locate it. The regular Regedit did not show anything at all for the things I redirected.

I redirected my program files using the regular Regedit once prior to this time, which I had formatted and re-installed Win 7 so thought I’d do an even better job using the one supposedly for 64-bit. The first time using the regular Regedit allowed me to go back in and change them back to C:\ from P:\. I was trying to re-install using the Recovery Partition, which required I put the installation path back to C:\ before I could. If I ever need to (and I will) re-install Win 7 again, I would now have to use the system image as there is no where I can see to change things back. If the system image goes wrong, it appears I’ll be up a creek. I finally discovered how I could make recovery disks but am unclear whether I would need to change the P:\ back to C:\. I don’t think so, but I am pretty confused at this point.

I did a complete system image prior to installing Acronis Disk Director and partitioning, then redirecting the installation path. Six DVDs. I’ve never had any success backing up anything. I have never tried a system image restoration, so not sure how reliable they are. I really just want to set everything up as
customized and streamlined as possible and attempt a complete system image containing the way I’d
want Windows to load up just the pre-installed programs of my choice, not theirs. Without unnecessary
duplication of files or folders.

Would anyone be able to solve any of my questions? I know this will work just great once I’ve worked out the wrong turns taken! Thanks for any help!!

phunktional johnkey says

@ Jay: Nice 1! I was on my last strand of hair untill I saw this.

The 64bit version of Win7 has two versions of regedit. Make this change as well:
1.) Enter into Start>Run: %systemroot%\syswow64\regedit
2.) Go to: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion
3.) Change the Path in DWORDs ProgramFilesDir, ProgramFilesDir (x86) to the new path, probably just changing the drive letter.

This is the correct fix !

You shouldn’t have to make the changes to the normal regedit, just the %systemroot%\syswow64\regedit.

As stated above you will need to change both the ProgramFilesDir & ProgramFilesDir (x86).

Caution! If you changed the regular regedit ( found by typing regedit in search box on start menu) by making changes to the path in regedit, some programs that you have installed on your OS drive (SSD) will not start. You can correct that problem by right clicking the shortcut in the start menu under all programs….right click, properties, and change target path. However, the only program I couldn’t change to correct target was Windows Media Player and as a result WMP would not function….I could fix that by going through windows explorer and finding the shortcut and pinned that to both start menu and taskbar. WMP would now function, UNTIL I tried using it in internet explorer then an error screen came up stating connection problems…..

Basically….. If you’ve changed the regular regedit ProgramFilesDir and ProgramFilesDir (x86), change it back and make the changes to the %systemroot%…….

THIS IS AWESOME…JESUS! I’ve spent months looking for this.

Оцените статью