Cómo configurar inicialmente Windows Server 2019

Agregar usuarios locales
Paso 1. Ejecute PowerShell con privilegios de administrador y configure lo siguiente:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # for example, add [Serverworld] user # [[email protected]] ⇒ the password you set (replace it you like) # [PasswordNeverExpires] ⇒ set password never expire(if set default expiration, do not specify this option) PS C:UsersAdministrator> New-LocalUser -Name "Serverworld" ` -FullName "Server World" ` -Description "Administrator of this Computer" ` -Password (ConvertTo-SecureString -AsPlainText "[email protected]" -Force) ` -PasswordNeverExpires ` -AccountNeverExpires Name Enabled Description ---- ------- ----------- Serverworld True Administrator of this Computer # add [Serverworld] user to [Administrators] group PS C:UsersAdministrator> Add-LocalGroupMember -Group "Administrators" -Member "Serverworld" # verify PS C:UsersAdministrator> Get-LocalUser -Name Serverworld Name Enabled Description ---- ------- ----------- Serverworld True Administrator of this Computer PS C:UsersAdministrator> Get-LocalGroupMember -Group "Administrators" ObjectClass Name PrincipalSource ----------- ---- --------------- User RX-7Administrator Local User RX-7Serverworld Local # if remove an user, do like follows PS C:UsersAdministrator> Remove-LocalUser -Name "Serverworld"
Paso 2. Ejecutar Administrador del servidor y abierto Herramientas> Gestión Informática .
Paso 3. Haz clic derecho Usuarios bajo Usuarios locales y grupos izquierda y seleccione Nuevo Usuario.
Paso 4. Entrar Nombre de usuario y Contraseña para un nuevo usuario, luego haga clic en Crear botón. Otros artículos son opcionales para la instalación.
Paso 5. Una vez creado, el nuevo usuario se muestra en la lista de la siguiente manera.
Paso 6. Si desea establecer derechos de administrador para el nuevo usuario, haga clic con el botón derecho en el usuario y abra Propiedades .
Paso 7. Ir a Arte del artículo pestaña y haga clic Agregar botón .
Paso 8. Asignar Administradores se agrupan de la siguiente manera.
Paso 9. Asegúrate Administradores el grupo se agregará a la lista y haga clic en bien botón para completar la instalación.
Cambiar el nombre de usuario del administrador
Si desea cambiar el nombre de la cuenta de administrador por algún motivo, como la seguridad, puede cambiarlo de la siguiente manera.
Paso 1. Ejecute PowerShell como administrador y configúrelo de la siguiente manera:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # for example, change the name [Administrator] to [ServerworldAdmin] PS C:UsersAdministrator> Rename-LocalUser -Name "Administrator" -NewName "ServerworldAdmin" PS C:UsersAdministrator> Get-LocalUser # changed Name Enabled Description ---- ------- ----------- DefaultAccount False A user account managed by the system. Guest False Built-in account for guest access to the computer/domain Serverworld True Administrator of this Computer ServerworldAdmin True Built-in account for administering the computer/domain sshd True WDAGUtilityAccount False A user account managed and used by the system for Windows Defender Application Guard scen.
Paso 2. Ejecutar Administrador del servidor y abierto Herramientas> Gestión Informática .
Paso 3. Abrir Usuarios y grupos locales> Usuarios clic izquierdo y derecho Administrador luego seleccione Rebautizar derecho. Luego cambie el nombre que desee.
Paso 4. Se ha cambiado el nombre del administrador.
Cambiar el nombre del ordenador
El nombre del ordenador se asigna automáticamente de manera predeterminada, así que cámbielo.
Paso 1. Ejecute PowerShell como administrador y configúrelo de la siguiente manera:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # for example, change Computer Name to [RX-7] PS C:UsersAdministrator> Rename-Computer -NewName RX-7 -Force -PassThru HasSucceeded OldComputerName NewComputerName ------------ --------------- --------------- True RX-7 RX-9 WARNING: The changes will take effect after you restart the computer RX-7. # for example, change Primary DNS Suffix to [srv.world] PS C:UsersAdministrator> Set-ItemProperty "HKLM:SYSTEMCurrentControlSetServicesTcpipParameters" –Name "NV Domain" –Value "srv.world" -PassThru NV Domain : srv.world PSPath : Microsoft.PowerShell.CoreRegistry::HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters PSParentPath : Microsoft.PowerShell.CoreRegistry::HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip PSChildName : Parameters PSDrive : HKLM PSProvider : Microsoft.PowerShell.CoreRegistry # restart Computer to apply changes PS C:UsersAdministrator> Restart-Computer -Force # verify PS C:UsersAdministrator> (ipconfig /all)[0.9] Windows IP Configuration Host Name . . . . . . . . . . . . : RX-7 Primary Dns Suffix . . . . . . . : srv.world Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : srv.world
Paso 2. Ejecutar Administrador del servidor y seleccione Servidor local izquierda y luego presione Nombre del ordenador sección de la derecha.
Paso 3. Ir a Nombre del ordenador pestaña y haga clic Cambio botón.
Paso 4. Ingrese cualquier nombre de ordenador que desee Nombre del ordenador cuadro y haga clic Lee mas. botón .
Paso 5. Ingrese el nombre de dominio al que pertenece esta ordenador.
Paso 6. Reinicie su ordenador para aplicar los cambios.
Paso 7. El nombre del ordenador cambia a normal.
Deja una respuesta
Artículos de interés