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: cant save files to system folder

29 Dec 2010   #1

Windows 7 Home Basic 32bit
cant save files to system folder


I have a problem with the security features of win7 and vista.

I have tried googling for answer but none found but I found this forum to which I would like to ask help.

I have this program that I made. It is suppose to extract vb6 resources to sub custom folder in windows system32 folder.

the problem is that I cannot extract the files there. With other security feature like UAC, I have found a registry function that will disable UAC.

Is there a registry entry also that will enable me to save file in windows system folder? Or how should I do that?

I need to extract my config files in a subfolder under system folder.

Please kindly help. Badly needed to finish my project.

I know that those are security features of windows but I would like to bypass that so that I can successfully install my program.

My System SpecsSystem Spec
29 Dec 2010   #2

Windows 7 Ultimate x86

Hi there surfexplorer and welcome to SF!
A short question beforehand:
Why does it have to be a sub folder of Systems32 ? For accessibility?
Why don't you just use a different folder and add that one to the path variable?

If you really put your stuff under system32 (where it doesn't belong) you will constantly have to deal with problems due to windows UAC plus you would have to take ownership over a core systems folder which can and will give you grieve later on.
Plus if you ever think about giving/selling your program to somebody else they will run into a heap of problems as well.

My System SpecsSystem Spec
30 Dec 2010   #3

Windows 7 Home Basic 32bit

well the purpose of creating the subfolder under system32 folder is to hide the configuration files extracted from the prying eyes of the user because it is confidential informations there.

if I cannot put/extract my configurations in system folder, where is the best place to extract my config files that can be hidden from users. and without me having problem with all the write access permission etc...?
My System SpecsSystem Spec

30 Dec 2010   #4

Windows 10 Pro (x64)

....Hide configuration details from the user?! Impossible Impossible. You might as well just embed that stuff in your executable file. But I'm don't think I will help any further. This all seems like shady business going on here. There is no logical or legitimate reason I can think of to do this.
My System SpecsSystem Spec
30 Dec 2010   #5

Windows 7 Home Basic 32bit

i guess nobody wants to help.
My System SpecsSystem Spec
30 Dec 2010   #6

Windows 7 Home Basic 32bit

Happy New Year to all anyway.
My System SpecsSystem Spec
30 Dec 2010   #7
Julio Cortez

Windows 10 1703

Quote   Quote: Originally Posted by surfexplorer View Post
i guess nobody wants to help.
It's not like nobody wants to help, really.
I think that by disabling UAC you'll be able to create/modify files directly in the C:\Windows\System32 folder, even if I wouldn't ever do it.

For what regards your software:
If you want to be sure that the final user doesn't tinker with the configuration, just hard-code the paremeters you need directly in the executable (even if I don't advise you to do so).
Otherwise, I'd suggest you to store configuration files in a user-specific folder, so different users can configure the app the way it best suits their needs (and you wouldn't run into UAC blocking the user anytime he/she tries to make a change to the configuration files) without interfering each other.
My System SpecsSystem Spec
30 Dec 2010   #8

Windows 7 Ultimate RTM (Technet)

I agree with the other poster who said that it appears you are attempting to pull something shady on the users of your software. Either that or you are not a very experienced programmer. You shouldn't be doing anything to the system32 folder or below.
My System SpecsSystem Spec
01 Jan 2011   #9

Windows 7 Home Basic 32bit
where to save files in win7/vista

where can i save/extract my files from my program so that i have right permission there coz I cant extract files to system folder?

need reply asap
My System SpecsSystem Spec
01 Jan 2011   #10

Windows 10 Pro (x64)

Your User directory. C:\Users\[USERNAME]
My System SpecsSystem Spec

 cant save files to system folder

Thread Tools

Similar help and support threads
Thread Forum
Cannot save excel files in a redirected folder unles I use save as
The computer involved is using Windows 7 Pro 64bit and Office Professional Plus 2010. I am having a problem I cannot find a solution to. I have one user at a clients location that has recently stopped being able to save excel files in their my documents. The my docs is being redirected to a...
Network & Sharing
Seagate 7200.12 NTFS Save Files/Save Hard Disk
I have a number of files I would like to try and save off of the disk, and/or I would like to know if there is any saving the hard drive for future use. I record music and use adobe programs for freelance artwork. Also there are a number of pictures I'd love to recover (though as far as I know...
Hardware & Devices
Unable to save files to any folder other than downloads.
Hello, I have come across a slight problem, I use Google Chrome to download pictures, videos and such, I've set the default location to download said files is the "My Pictures" Folder, but when I choose to save a picture to the file it just says that I cant save it there, and to choose another...
General Discussion
save office files to public folder
Is there a simple way of saving Office 2010/2007 files to a public folder without having to go through the C:Users/public/myplaypen every time. There is an icon in Favorite links for my documents. Can I add a link to my public folders?
Microsoft Office
Setting default save location to last save folder
Is there any way to set the default save location folder for downloads in IE8 to the last folder that the same file type was saved in? It makes no sense to default to a single folder and have to browse through to the desired folder for every single download, so I assume there has to be an option...
General Discussion

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 14:47.
Twitter Facebook Google+