Difference between revisions of "Setup Windows 10 Without Mouse"

From Michael's Information Zone
Jump to navigation Jump to search
(Created page with "==Purpose== Setting up Windows 10 when you don't have a mouse. i.e. installing on a hypervisor without an agent ISO. <br> <br> ==Install== This part is simple as there is only...")
 
Line 9: Line 9:
 
Bring up powershell then<ref>https://stackoverflow.com/questions/7690994/powershell-running-a-command-as-administrator</ref><ref>https://www.technig.com/configure-ip-address-using-powershell/</ref><ref>https://docs.microsoft.com/en-us/powershell/module/dnsclient/set-dnsclientserveraddress?view=win10-ps</ref>
 
Bring up powershell then<ref>https://stackoverflow.com/questions/7690994/powershell-running-a-command-as-administrator</ref><ref>https://www.technig.com/configure-ip-address-using-powershell/</ref><ref>https://docs.microsoft.com/en-us/powershell/module/dnsclient/set-dnsclientserveraddress?view=win10-ps</ref>
 
<pre>
 
<pre>
startprocess powershell -verb runas
+
start-process powershell -verb runas
 
new-netipaddress -interfaceindex <index number here> -ipaddress <IP address> -prefixlength "24" -defaultgateway <gateway IP>
 
new-netipaddress -interfaceindex <index number here> -ipaddress <IP address> -prefixlength "24" -defaultgateway <gateway IP>
 
set-dnsclientserveraddress -serveraddresses <dns server IP>
 
set-dnsclientserveraddress -serveraddresses <dns server IP>
 
</pre>
 
</pre>
 +
 
==Windows Updates==
 
==Windows Updates==
 
<pre>
 
<pre>

Revision as of 13:50, 31 August 2018

Purpose

Setting up Windows 10 when you don't have a mouse. i.e. installing on a hypervisor without an agent ISO.

Install

This part is simple as there is only one window during setup that can be navigated using tab.

Network configuration

Bring up powershell then[1][2][3]

start-process powershell -verb runas
new-netipaddress -interfaceindex <index number here> -ipaddress <IP address> -prefixlength "24" -defaultgateway <gateway IP>
set-dnsclientserveraddress -serveraddresses <dns server IP>

Windows Updates

install-module pswindowsupdate -force
set-executionpolicy unrestricted -force
import-module pswindowsupdate
get-wuinstall -install -force

Driver Update