- 进入Win10系统,插入SD卡
- 用管理员打开终端。
- diskpart
list part
exit
找出SD卡是分区几,我的是2
- dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive2 /SkipPlatformCheck
将系统安装到SD卡上。
-
将SD卡插入到Raspberry,接上网线,HDMI显示器,鼠标键盘等,然后开机,经过几次重启后,进入如下界面,
-
在Win8下打开powershell,管理员打开。
启动WinRM服务,
PS C:\> net start WinRM
将machine地址添加到信任列表
PS C:\> Set-Item WSMan:\localhost\Client\TrustedHosts -Value 192.168.0.18
删除一个错误,但我们遇到,
PS C:\> remove-module psreadline -force
连接到machine
PS C:\> Enter-PsSession -ComputerName 192.168.0.18 -Credential 192.168.0.18\Administrator
密码为:p@ssw0rd
进入后修改密码,
[192.168.0.18]: PS C:\> net user Administrator [new password]
又是一个不知名的命令,反正我的提示没有这个文件。
[192.168.0.18]: PS C:\> schtasks /Delete /TN Microsoft\Windows\IoT\Startup /F
修改新的machine name
[192.168.0.18]: PS C:\> setcomputername <new-name>
重启Pi2
[192.168.0.243]: PS C:\> shutdown /r /t 0
将新的name添加到信任列表
PS C:\> Set-Item WSMan:\localhost\Client\TrustedHosts -Value <new-name>
发表回复