I have the following situation:

Unattended 4.5, currently set up to install Win2k, Win2ksp4 and WinXPsp1 from a Win2k machine using pxe booting. Installation of the operating system works fine (all of the different operating systems), however, installing applications and patches doesn't work. It appears that the perl-script doesn't get permission to reboot the machine, even though the script is running under the "administrator" account on the local machine to be installed.

I'm using the following unattended.txt:
------------------
[Components]
        ; Do not install IIS
        iis_common=Off
        iis_inetmgr=Off
        iis_www=Off
        iis_pwmgr=Off
        iis_doc=Off

[UserData]
        FullName="xxxx"
        OrgName="XXX"

[GuiUnattended]
        AdminPassword=xxxxxxxxx
        TimeZone=110

[Identification]
        ;JoinDomain=xx
        ;DomainAdmin=xx\xxx
        ;DomainAdminPassword=xxxxxxxx
        JoinWorkgroup=xxx

[RegionalSettings]
        InputLocale=1053:41d, 2057,809

[_meta]
        fdisk_lba=1
        replace_mbr=1
        fdisk_confirm=0
        ntp_servers="xxx.xxx.xxx.xxx"
------------------

and the following config.pl:

------------------
use warnings;
use strict;

#
# PUT YOUR CHANGES HERE
#

$u->{'UserData'}->{'ProductKey'} =

    sub {

        my $media_obj =
        Unattend::WinMedia->new ($u->{'_meta'}->{'OS_media'});
        my $name = $media_obj->name ();

        if ($name =~ /Windows XP/) {
        return 'xxxxx-xxxxx-xxxxx-xxxxx';
        }
        return undef;

    };
# Make this file evaluate to "true".
1;
----------------------

After the os has been installed, the machine goes on installing patches included in "base.bat" (which I choose when booting), I get the following error message:

---------------------
Mapping \\pc11096\install on Z:...
The command completed successfully.

...done.
The command completed successfully.

Access is denied.
Running: srconfig.pl --disable
srconfig.pl: SystemRestore class not found; nothing to do.
Running: base.bat
Running: hidepw.pl
Running: bootini.pl
Running: fixtz.pl
Resetting timezone [W. Europe Standard Time]...
...done.
Running: startup-type.pl Manual IISADMIN
Could not find service iisadmin.
Running: startup-type.pl Manual W3SVC
Could not find service w3svc.
Running: defrag.bat
Running: AutoIT Z:\scripts\enu\defrag.aut
Running: %WINVER%-updates.bat
Running: Z:\updates\win2ksp4\rootsupd.exe /q /r:n
Access is denied.
.reboot-on 194 Z:\updates\win2ksp4\rootsupd.exe /q /r:n failed, status 1 (0)
A)bort R)etry I)gnore ?
------------------------

I'm basically out of clues here.. I have verified that the computer is logged on using the administrator account. It doesn't appear to make any difference if I choose to join the AD domain or to just join a workgroup.

Thankful for any help :)

/ Magnus
--
Magnus Dahlstedt <[EMAIL PROTECTED]>              Phone: 013-28 4052
Systems Administrator                           GSM:  070-314 4052
Physics Department, Link�ping University        Office: G206
SE 581 83 Link�ping, Sweden


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to