summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2016-07-04 10:55:09 +0000
committeririna <irinagomez@us.es>2016-07-04 10:55:09 +0000
commit42e802030acd2933e1d8a8c17ec790082953b9bb (patch)
treeb225fdd2b9960f0d05ad8fb2fa65d62a5ba957de /client
parent38aa1f3412fe6dca16a1af8650163ed3333cde19 (diff)
#728 ogSetWindowsName: cambia correctamente el nombre del equipo en Windows 10
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4974 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/Boot.lib2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib
index 50262f9d..f8800720 100755
--- a/client/engine/Boot.lib
+++ b/client/engine/Boot.lib
@@ -272,8 +272,10 @@ NAME="$3"
# Modificar datos de los valores de registro.
ogSetRegistryValue $MNTDIR system '\ControlSet001\Control\ComputerName\ComputerName\ComputerName' "$NAME" 2>/dev/null
ogSetRegistryValue $MNTDIR system '\ControlSet001\Services\Tcpip\Parameters\Hostname' "$NAME" 2>/dev/null
+ogSetRegistryValue $MNTDIR system '\ControlSet001\Services\Tcpip\Parameters\HostName' "$NAME" 2>/dev/null
ogSetRegistryValue $MNTDIR system '\ControlSet001\services\Tcpip\Parameters\Hostname' "$NAME" 2>/dev/null
ogSetRegistryValue $MNTDIR system '\ControlSet001\Services\Tcpip\Parameters\NV Hostname' "$NAME" 2>/dev/null
+ogSetRegistryValue $MNTDIR system '\ControlSet001\Services\Tcpip\Parameters\NV HostName' "$NAME" 2>/dev/null
ogSetRegistryValue $MNTDIR system '\ControlSet001\services\Tcpip\Parameters\NV Hostname' "$NAME" 2>/dev/null
}