Jump to content
Sign in to follow this  
chaitanya

Vista OS settings

Recommended Posts

chaitanya

Hi,

I have to set the following parameter using AutoIT.

Can anybody send AutoIT code or ideas for this?

Os : Win vista

1. Setting control panel-> power options ->high performance -> never

2. Windows Fire wall off

3. Vista UAC off

4. Vista defender off

5. Screen saver settings is none

6. enabling Aero theme and Enable transparancy.

Pls help on this .

Share this post


Link to post
Share on other sites
chaitanya

what is MMC?

Share this post


Link to post
Share on other sites
cherdeg

You need to use MMC to do this.

Sorry, Volly, but for nothing of his list he needs to use an MMC. All that can be done by doing some WMI or COM calls or even only commands. Here as a start a function for disabling the firewall and stop the Security Center naggin':

; Function _DisableFirewall to disable the internal Windows Firewall
; ==============================================================================================
Func _DisableFirewall($s_State)
    ; $i_State may have two values: disable or enable
    RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center", "FirewallDisableNotify", "REG_DWORD", "00000001")
    $s_cmd = "net stop ""Security Center"""
    RunWait(@ComSpec & " /c " & $s_cmd, "", @SW_HIDE)
    $s_cmd = "net start ""Security Center"""
    RunWait(@ComSpec & " /c " & $s_cmd, "", @SW_HIDE)
    $s_cmd = "netsh firewall set opmode mode=" & $s_State
    RunWait(@ComSpec & " /c " & $s_cmd, "", @SW_HIDE)
EndFunc   ;==>_DisableFirewall

But chaitanya (and I mean it!), use the search function of this site. You will find to every single of your topics full or partial solutions.

Edited by cherdeg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×