Jump to content

Adding Registered Owner & Organisation in during Unattended Instal


Recommended Posts

Posted

Hi all,

I wonder if anyone can help me with this simple batch file.

I want to load this batch file at t-12 during an unattended install and customise the install for a specific user & organisation. This will mean that I can use this disk on multiple install, if necessary.

the batch file includes

@echo off

SET /P PCOWNER=Please Registered Owners name:

REG ADD HKLM\SOFTWARE\Microsoft\windowsNT\currentversion /v RegisteredOwner /t REG_SZ /d %PCOWNER%/f

echo %PCOWNER%

PAUSE

Eachtime I test this batch file, it says successfully installed but the system properties show the original registered Owner, even after re-booting.

I am sure I am making an obvious and simple mistake................please help


Posted

have you already tried to put the batch in the [GuiRunOnce] part of the winnt.sif file?

as far as i know my batch (created by the nlite tool) is loaded during the first login of the machine as admin and runs all batches.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...