Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Need to modify windows system file.

by SriniK (Beadle)
on May 13, 2011 at 09:53 UTC ( [id://904631]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Need to modify windows system file.
in thread Need to modify windows system file.

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
  • Comment on Re^4: Need to modify windows system file.

Replies are listed 'Best First'.
Re^5: Need to modify windows system file.
by Corion (Patriarch) on May 13, 2011 at 09:58 UTC

    Win32::GuiTest has SendKeys.

    Personally, I would make such setting changes through system policies. I presume there is a kit that creates and distributes these policies. This is far less fragile than trying to keep up with a changing UI and sending keystrokes to manipulate it.

    Also, when automating by sending keystrokes, I found it much less fragile to send ALT+... codes to trigger the hotkeys for each option instead of tabbing through the options.

      Hi,
      Because of Sendkey only the vb script not working.
      I am restricted i should not modify the Group policy. I have tried using registry but it's not working. I want to run the script over no of system that's why i need that.
        What do you mean by "not working"?
        Hi, group policy is designed exactly for your purpose: automatically change settings for a number of machines. Even I find it very strange not to modify group policy some specific cause may exist to do so. In this case you should look for registry settings responsible for the specific task and change it. In most cases registry modification of system settings require a system reboot, maybe this is why it "doesn't work" for you. It looks like you are installing the system from scratch so one more or less reboot should make no difference. A number of websites describe lot of different registry settings try google for "windows unattended"

        Take care if you change windows registry, if at some latter point you decide this changes don't fit your requirements anymore you need to adapt all systems again. Using a group policy you just need to change/remove a policy.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://904631]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found