Jump to content

Adding Registered Owner & Organisation in during Unattended Instal


Recommended Posts

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

Link to comment
Share on other sites


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.

Link to comment
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
  • Recently Browsing   0 members

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