设为首页 收藏本站
查看: 1201|回复: 0

[经验分享] Hyper-V 学习笔记

[复制链接]

尚未签到

发表于 2015-4-2 17:04:16 | 显示全部楼层 |阅读模式
本帖最后由 wuyvzhang 于 2016-8-2 17:26 编辑

  开启用户管理Hyper-V权限~    下载配置脚本~    复制到Hyper-V服务器上    服务器操作:    将复制的hvremote.wsf保存在D盘    新建用户(用户名和密码必须同客户端的一模一样)    在cmd下定位到D:\执行脚本:   cscript.exe hvremote.wsf /add:计算机名字\用户名       客户端操作:    同样copy到D盘   执行 cscript.exe hvremote.wsf /mmc:enable   开放客户端撒谎能够MMC连入的防火墙配置    执行 cscript.exe hvremote.wsf /AnonDCOM:grant   开放匿名用户访问DCOM    重启服务器即可~    10-second guide
Configuration
Where
Purpose
Commands
Client and Server both workgroup
Server
Create a local account (eg “john”)
Use net user /? or Computer Management
Server
Grant the user access
cscript hvremote.wsf /add:accountname ***
Client
Allow Anonymous Logon remote DCOM access
cscript hvremote.wsf /anondcom:grant
Client
Logon with matching local account.
Ctrl+Alt+Del DSC0000.gif
Client
If passwords do not match
cmdkey /add:servername /user:servername\account /pass
Client
Set firewall exception
cscript hvremote.wsf /mmc:enable
Both
Verify configuration for errors
cscript hvremote.wsf /show /target:othercomputername
————————-
Client workgroup, Server domain
Server
Grant domain account access
cscript hvremote.wsf /add:domain\account ***
Client
Allow Anonymous Logon remote DCOM access
cscript hvremote.wsf /anondcom:grant
Client
Set credentials for domain account
cmdkey /add:servername /user:domain\account /pass
Client
Set firewall exception
cscript hvremote.wsf /mmc:enable
Both
Verify configuration for errors
cscript hvremote.wsf /show /target:othercomputername
————————-
Client domain, Server workgroup
Server
Create a local account (eg “john”)
Use net user /? or Computer Management
Server
Grant the user access
cscript hvremote.wsf /add:accountname ***
Client
Allow Anonymous Logon remote DCOM access
cscript hvremote.wsf /anondcom:grant
Client
Set credentials for local account
Use cmdkey /add:servername /user:servername\accountname /pass
Client
Set firewall exception
cscript hvremote.wsf /mmc:enable
Both
Verify configuration for errors
cscript hvremote.wsf /show /target:othercomputername
————————-
Client and Server both domain
Server
Grant the non-admin user access
cscript hvremote.wsf /add:domain\account ***
Client
Set firewall exception
cscript hvremote.wsf /mmc:enable
Both
Verify configuration for errors
cscript hvremote.wsf /show /target:othercomputername
     在服务端命令提示符安装驱动    Microsoft PnP 工具   用法:   ——   pnputil.exe [-f | -i] [ -? | -a | -d | -e ]   示例:   pnputil.exe -a a:\usbcam\USBCAM.INF -> 添加 USBCAM.INF 指定的程序包   pnputil.exe -a c:\drivers\*.inf -> 添加 c:\drivers\ 中的所有程序包\   pnputil.exe -i -a a:\usbcam\USBCAM.INF -> 添加和安装驱动程序包   pnputil.exe -e -> 枚举所有第三方程序包   pnputil.exe -d oem0.inf -> 删除程序包 oem0.inf   pnputil.exe -f -d oem0.inf -> 强制删除程序包 oem0.inf   pnputil.exe -? -> 此用法屏幕      更改密码   net user *   输入密码      开放防火墙端口   netsh firewall portopening (TCP | UDP)   常用TCP 80 3389 20 21 22 139 445   UDP 137 138      加入域   Netdom join /domain: /userd: /password:*      Windows 7 Service Pack 1 (SP1) 远程服务器管理工具   安装后,在控制面板,程序,打开/关闭Windows功能,开启~      原创文章,转载请注明: 转载自Seth's Blog by hekai SO娱乐城:真_人.足球.彩票齐全| 开户送10元.首存送58元.手机可投ヶ注任何游戏顶级信用ヶ提现即时到账SO.CC

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-53241-1-1.html 上篇帖子: Hyper-V性能监控_CPU 下篇帖子: hyper-V下虚拟机连接外网,怎么才能将Hyper-V 的虚拟机接入互联网?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表