Jump to content

creating unattend.xml


dkreifus

Recommended Posts

DOes anyone know of a good easy way to create an unattend.xml? Or maybe a guide with all the options, as well as syntax. I tried following the Microsoft guide, but it reads worse than a foreign instruction manual.

I simply need to disable IPv6. I am going to try to script a regedit on the WinPE image but I would like to use the offical way of using the unattend.xml. Maybe even make more changes with that.

I've tried loading WAIK, but the thing gives me errors every time I tried to load a WIM file. And without that, I can't do anything.

Link to comment
Share on other sites


DOes anyone know of a good easy way to create an unattend.xml? Or maybe a guide with all the options, as well as syntax. I tried following the Microsoft guide, but it reads worse than a foreign instruction manual.

I simply need to disable IPv6. I am going to try to script a regedit on the WinPE image but I would like to use the offical way of using the unattend.xml. Maybe even make more changes with that.

I've tried loading WAIK, but the thing gives me errors every time I tried to load a WIM file. And without that, I can't do anything.

There are no options in the unattend.xml file that will allow you to disable IPv6 during Windows Setup. One way to do this is after the OS is installed to disable it with the DisabledComponents regisrty value. The VBscript below will accomplish this:

Set objShell = WScript.CreateObject("WScript.Shell")

strIPv6 = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents"

objShell.RegWrite strIPv6, "255", "REG_DWORD"

Link to comment
Share on other sites

Since I don't know what you're trying to accomplish, I'll tell you what I do. I have VBScript in HTML Applications that need to know the device's IP address, so when I retrieve it from WMI I use the InStr function to determine if there is a "." in it so I know it's IPv4 instead of IPv6 with ":" as the separator.

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...