- Boot from Microsoft Windows Server 2012R2 DVD/ISO.
- From the Windows Setup menu, click "Next".
- Select "Repair your computer".
- Click on "Troubleshoot".
- Under Advanced options, click "Command Prompt".
At the command prompt, run the following commands:
| <# | |
| .SYNOPSIS | |
| Converts a .REG file into an XML document that is compatible with GPO | |
| preferences. | |
| .DESCRIPTION | |
| Converts a .REG file into an XML document that is compatible with GPO | |
| preferences. The registry file can contain updates or deletions. The | |
| resulting XML file can be copy and pasted, or drag and dropped onto the | |
| GPO preferences registry window to import the file. |
| #requires -version 2 | |
| <# | |
| .SYNOPSIS | |
| Outputs the last bootup time and uptime for one or more computers. | |
| .DESCRIPTION | |
| Outputs the last bootup time and uptime for one or more computers. | |
| .PARAMETER ComputerName |
| ## Configure eth0 | |
| # | |
| # vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
| DEVICE="eth0" | |
| NM_CONTROLLED="yes" | |
| ONBOOT=yes | |
| HWADDR=A4:BA:DB:37:F1:04 | |
| TYPE=Ethernet | |
| BOOTPROTO=static |