DTM.inc Posted September 22, 2004 Share Posted September 22, 2004 Can someone please confirm, In regards to the Computer name that is automatically generated at install, will it be exactly the same the next time a fresh install is done? I ask this in reference to the NAV2005 in the App Switches Forum post where file are copied over for pre activation Of course the pre activated files are only valid for your machine !So with that in mind will I have to instruct my computer to have a set name or will it automatically generate the same name next time? Link to comment Share on other sites More sharing options...
Denney Posted September 22, 2004 Share Posted September 22, 2004 The automatically generated computer name is totally random and partly based on your workgroup or domain name.You will need to set your computer name. Link to comment Share on other sites More sharing options...
buletov Posted September 22, 2004 Share Posted September 22, 2004 you can set it using the following registry settings:now this is my autoplay media studio 5 code, but you can figure it out your self...function CompConf(Arg1) local clname = Arg1; local cuname = String.Upper(Arg1); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\Print\\Printers\\Fax\\DsSpooler", "serverName", clname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\Print\\Printers\\Fax\\DsSpooler", "shortServerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\Print\\Printers\\Fax\\DsSpooler", "uNCName", "\\\\"..cuname.."\\fax", REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\Print\\Printers\\Fax\\DsSpooler", "serverName", clname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\Print\\Printers\\Fax\\DsSpooler", "shortServerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\Print\\Printers\\Fax\\DsSpooler", "uNCName", "\\\\"..cuname.."\\fax", REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Print\\Printers\\Fax\\DsSpooler", "serverName", clname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Print\\Printers\\Fax\\DsSpooler", "shortServerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Print\\Printers\\Fax\\DsSpooler", "uNCName", "\\\\"..cuname.."\\fax", REG_SZ); --name Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\ComputerName\\ComputerName", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\ComputerName\\ActiveComputerName", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\ComputerName\\ComputerName", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\ComputerName\\ActiveComputerName", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\ComputerName\\ComputerName", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\ComputerName\\ActiveComputerName", "ComputerName", cuname, REG_SZ); --tcpip Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Services\\Tcpip\\Parameters", "Hostname", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Services\\Tcpip\\Parameters", "NV Hostname", clname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Services\\Tcpip\\Parameters", "Hostname", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Services\\Tcpip\\Parameters", "NV Hostname", clname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", "Hostname", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", "NV Hostname", clname, REG_SZ); --eventlog Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Services\\Eventlog", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Services\\Eventlog", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Services\\Eventlog", "ComputerName", cuname, REG_SZ); --wmp Registry.SetValue(HKEY_USERS, ".DEFAULT\\Software\\Microsoft\\Windows Media\\WMSDK\\General", "ComputerName", cuname, REG_SZ); Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows Media\\WMSDK\\General", "ComputerName", cuname, REG_SZ); --users Registry.SetValue(HKEY_USERS, "S-1-5-19\\Software\\Microsoft\\Windows\\ShellNoRoam", "@", cuname, REG_SZ); Registry.SetValue(HKEY_USERS, "S-1-5-20\\Software\\Microsoft\\Windows\\ShellNoRoam", "@", cuname, REG_SZ); Registry.SetValue(HKEY_USERS, ".DEFAULT\\Software\\Microsoft\\Windows\\ShellNoRoam", "@", cuname, REG_SZ);endclname - computer name variablecuname - computer name variable in uppercase Link to comment Share on other sites More sharing options...
prathapml Posted September 22, 2004 Share Posted September 22, 2004 Of course the pre activated files are only valid for your machine !The computer name does not matter. The activation looks at your hardware. So if you're installing the NAV and using the pre-activation on the same machine as before, it does not matter what name is auto-generated during setup. Link to comment Share on other sites More sharing options...
buletov Posted September 22, 2004 Share Posted September 22, 2004 DTM.inc, why don't you try some faster and higher quality antivirus product, for example avast...and it has a great support for unattended installs...you can configure it to the smalest detail and then create a "silent install files" from it's main menu with a single click...all described in help 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