cant save files to system folder

Page 1 of 2 12 LastLast

  1. Posts : 9
    Windows 7 Home Basic 32bit
       #1

    cant save files to system folder


    hello,

    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 Computer


  2. Posts : 2,009
    Windows 7 Ultimate x86
       #2

    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 Computer


  3. Posts : 9
    Windows 7 Home Basic 32bit
    Thread Starter
       #3

    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 Computer


  4. Posts : 5,642
    Windows 10 Pro (x64)
       #4

    ....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 Computer


  5. Posts : 9
    Windows 7 Home Basic 32bit
    Thread Starter
       #5

    i guess nobody wants to help.
      My Computer


  6. Posts : 9
    Windows 7 Home Basic 32bit
    Thread Starter
       #6

    Happy New Year to all anyway.
      My Computer


  7. Posts : 107
    Windows 10 1703
       #7

    surfexplorer said:
    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 Computer


  8. Posts : 1,326
    Windows 7 Ultimate RTM (Technet)
       #8

    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 Computer


  9. Posts : 9
    Windows 7 Home Basic 32bit
    Thread Starter
       #9

    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 Computer


  10. Posts : 5,642
    Windows 10 Pro (x64)
       #10

    Your User directory. C:\Users\[USERNAME]
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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:17.
Find Us