This worked like a charm. Regarding 4. under obtaining instance names. The key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\SQL] does not exist, but the key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER] does exist and is the one to use.Regarding Locale DWORD value 00000406 for danish, remark that this is HEX notation, if you use decimal notation, the value is 1030.
↧