Mauser2002 Posted January 10, 2009 Share Posted January 10, 2009 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 offSET /P PCOWNER=Please Registered Owners name: REG ADD HKLM\SOFTWARE\Microsoft\windowsNT\currentversion /v RegisteredOwner /t REG_SZ /d %PCOWNER%/fecho %PCOWNER%PAUSEEachtime 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 More sharing options...
kyriaap Posted January 15, 2009 Share Posted January 15, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now