广告

兔源码网 - 专注DZ模版分享、DZ插件分享!

 找回密码
 立即注册
PS教程

Windows server 2012 Administrator access denied问题

[复制链接]
tuyuanma 发表于 2016-8-24 09:31:51 | 显示全部楼层 |阅读模式
温馨提醒:禁止内容附带广告图片、二维码图片,否则将在不通知情况下永久禁言账号!
欢迎加入兔源码站长交流群,您的加入是我们前行的动力!

DZ站长建站交流群:493651246

[ 温馨提示:点击上方群文字,可快速加入QQ群 ]


基于ESXI5.0或5.1安装Windows Server 2012,在除C盘外新增分区或硬盘时可能会遇到新添加的分区在administrator下无新建删除修改权限,vmware tools安装报错“microsoft runtime dll安装程序未能完成安装”等问题,解决办法如下:

Found a solution to this issue in case it helps anyone else out. In VMware ESXi 5.0 all hard disks added to the VM will be detected as removable. To get everything working properly HotPlug capability needs to be disabled as described here:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012225

Disabling the HotAdd/HotPlug capability in ESXi 5.x and ESXi/ESX 4.x virtual machines (1012225)Symptoms
  • NICs and SCSI controllers appear as removable devices.
  • The Safely Remove Hardware option for the virtual hardware appears in the Windows System Tray.
  • If you are using VMware View, you notice that View desktops which have persistent disks are disconnecting.


PurposeThis article describes how to disable the HotPlug capability on removable devices.

ResolutionYou can disable HotPlug capability using the vSphere Client or by editing the .vmx file.

Note: You can disable HotPlug capability for PCI devices such as e1000 or vmxnet2 NICs.

To disable HotPlug capability using the vSphere Client:

  • Connect to the ESXi/ESX host or vCenter Server using the vSphere Client.
  • Power off the virtual machine.
  • Right-click the virtual machine and click Edit Settings.
  • Click the Options tab.
  • Click General > Configuration Parameters > Add Row.
  • Insert a new row with the name devices.hotplug and a value of false.
  • Power on the virtual machine.


To disable HotPlug capability by editing the .vmx file:

  • Power off the virtual machine.
  • Access the ESXi/ESX service console using an SSH client.
  • Open the virtual machine configuration file (.vmx) in a text editor. The default location is:

    /vmfs/volumes/datastore_name/vm_name/vm_name.vmx

  • Add the line:

    devices.hotplug = "false"

    Note: This setting does not interfere with HotPlug CPU/memory.

  • Save and close the file.
  • Power on the virtual machine.


Note: If you are using VMware View, follow one of the above procedures for the parent virtual machine first, then follow these steps:

  • Create a new snapshot of the parent virtual machine:

    • In the vSphere Client, right-click the parent virtual machine and click Snapshot > Take Snapshot.
    • Give the snapshot a name and description.
    • Click OK.



  • Recompose the affected pools to this new snapshot:

    • In the View Manager console, select a pool and open it.
    • Click View Composer > Recompose, and select the newly created snapshot.
    • Click Next.
    • Configure the Schedule and Warnings options.
    • Click Next.
    • Review the confirmation information.
    • Click Finish and verify that the recompose operation successfully completes.
    • Repeat the recompose procedure for all affected pools.








版权声明
1、转摘或引用本站内容资源须注明原网址,并标明本站网址(兔源码www.tuyuanma.com);
2、对于转摘或引用本站内容资源而引起的民事纠纷、行政处罚或其他损失,本站不承担责任;
3、对于不遵守本声明或其他违法、恶意使用本站内容者,本站保留其追究法律责任的权利。




自动排版 | 高级模式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

兔源码网 ( 赣ICP备17001544号 公网安备36112102000036号 )

兔源码 QQ交流群:493651246  GMT+8, 2018-12-18 00:48
←站长统计工具 查看密码:tuyuanma

兔源码DZ模板下载 站长邮箱:tuyuanma@qq.com 站长QQ:3197813386 网站地图

© 2001-2013 本站内容皆来自互联网及用户分享,如需删除请提供软著或商标证书。

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