xue has asked for the wisdom of the Perl Monks concerning the following question:

Hi there!

I am writing a Perl script to automate an install procedure on Windows server. I have two issues here:

1. I need to adjust Windows Terminal Services Configuration-> Server Settings ->

example: set "Delete temporary folders on exit" to "No"

2. I need to check if the computer is AMD Opteron machine. If it is, I need to change the boot.int file

I had hard time trying to figure out how to automate these either through Perl or a batch commands. Any help will be greatly appreciated!

Replies are listed 'Best First'.
Re: Automate changing system settings
by GrandFather (Saint) on Mar 04, 2006 at 01:49 UTC

    What does the configuration file look like, or is the information in the registry? There are Perl modules that will help you manipulate .ini files (most likely configuration file format) and registry settings.

    If what you are dealing with is neither of these then you need to describe the file format more fully. So far you have asked the equivelent of "Tell me how to drive". It's not a well formed question!


    DWIM is Perl's answer to Gödel
Re: Automate changing system settings
by mda2 (Hermit) on Mar 05, 2006 at 14:34 UTC
    You need to "google" this options for ADSI (Active Directory Services Interface) ou WMI (Windows Management Interface)... to found perl scripts to configure many things, but I donīt see any with terminal services...

    --
    Marco Antonio
    Rio-PM