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

hello,

I have a problem with the security features of Windows 7 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.

-DG
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 8.1 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

Win 7 Pro x64 SP1 Windows XP SP3
 
 

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 8.1 Pro (x64)
 
 

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

 cant save files to system folder




Thread Tools




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 06:55 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33