in reply to Need to modify windows system file.

You want to edit a binary executable file that is part of the system security setup?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Need to modify windows system file.

Replies are listed 'Best First'.
Re^2: Need to modify windows system file.
by SriniK (Beadle) on May 13, 2011 at 07:49 UTC
    I want turn off some of the options in win7 Action center via script. So i want to access that file. It can be accessed through VB Script. I can able to solve the issue by VB script (It's like keyboard macro).

    But in some environment it's not supported. So i really want that run as a real script and not like keyboard macro.
      I want turn off some of the options in win7 Action center via script.

      So, you don't want to edit the file, but rather, run the program contained in the file and manipulate the dialog it displays.

      Perhaps if you posted the VB code here, then someone might be able to help you write an equivalent Win32::OLE script.

      Alternatively, it might be possible to do what you want using Win32::GuiTest.

      But in some environment it's not supported.

      I find it strange that a company would restrict access to VB, but allow Perl to be installed.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        Hi,

        I am using Windows 7 Enterprise 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_rtm.101119-1850).

        I want to disable the followings in wscui.cpl

        1. Network Firewall.
        2. Spyware and related production
        3. User Account Control
        4. Virus production
        5. Windows Backup
        6. Check for update
        7. Windows trouble shooting


        I want to enable the followings in wscui.cpl

        1. Windows update
        2. Internet security setting.

        The code not working because of "SendKeys". It jst like key board macro.

        Let me know anything else you need.

        Thanks
        Srinivasan.K