在WIN10上安装ESXI-Comstomer (转自技术社区)

摘要:
WinVer!“==”5.0“call:logCons---信息:RunningDows2000.什么?!if”!WinVer!“==”5.1“调用:logCons---信息:RunningDowsXP.if”!WinVer!“==”5.2“调用:logCons---信息:RunningDowsServer2003.if”!WinVer!“==”6.0“调用:logCons---信息:RunningInDowsVistaorServer2008.if”!WinVer!“==”6.1“调用:logCons---信息:RunningDows7orServer2008R2.if”!WinVer!“==”6.2“调用:logCons---信息:RunningDows8或Server2012.if”!WinVer!“==”6.3“调用:logCons---信息:RunningDows8.1或Server2012R2.if”!WinVer!“GTR”6.3“调用:logCons---警告:在8.1/2012R2之后的Windows新版本中运行。不知道它是否有效…如果”!WinVer!“LSS”5.1“调用:earlyFatalUnsupportedWindowsVersion:!WinVer!.AtleastWindowsXP需要退出(&E)/b1if”!WinVer!

I recently required the use of ESXi Customizer to integrate some NIC drivers into my ESXi 5.5 ISO.

Having never used it before, I was surprised to see that it was not compatible with Windows 10 but as the script is now unsupported, I understand why. I’m no programmer but it states that it is supported on Windows 8 and 8.1 so 10 should be similar enough to work so I got cracking to disable the compatibility checks and see if I could make use of it.

Once you’ve downloaded and extracted ESXi Customizer, you’ll have a bunch of files in a folder. The file we are looking for is called ESXI-Customizer.cmd and you need to open that in a text editor such as Notepad, you should be able to right-click it and choose ‘Edit’ to do this.

Then you need to find and remove the following lines:

if /I "%1"=="silent" goto :eof
if "!WinVer!"=="5.0" call :logCons --- INFO: Running on Windows 2000. What?!
if "!WinVer!"=="5.1" call :logCons --- INFO: Running on Windows XP.
if "!WinVer!"=="5.2" call :logCons --- INFO: Running on Windows Server 2003.
if "!WinVer!"=="6.0" call :logCons --- INFO: Running on Windows Vista or Server 2008.
if "!WinVer!"=="6.1" call :logCons --- INFO: Running on Windows 7 or Server 2008 R2.
if "!WinVer!"=="6.2" call :logCons --- INFO: Running on Windows 8 or Server 2012.
if "!WinVer!"=="6.3" call :logCons --- INFO: Running on Windows 8.1 or Server 2012 R2.
if "!WinVer!" GTR "6.3" call :logCons --- WARNING: Running on a Windows newer than 8.1 / 2012 R2. Don't know if this will work ...
if "!WinVer!" LSS "5.1" call :earlyFatal Unsupported Windows Version: !WinVer!. At least Windows XP is required & exit /b 1
if "!WinVer!" NEQ "6.1" call :logCons --- WARNING: Your Windows version is supported for customizing ESXi 5.x, but not ESXi 4.1.

And save the file. Now, you can run it and use the program as needed and it will open and run on Windows 10. I wouldn’t recommend using this for anything mission-critical as I can’t guarantee there aren’t any bugs with running it on an unsupported system but for me it worked fine and the resulting ISO worked perfectly.

免责声明:文章转载自《在WIN10上安装ESXI-Comstomer (转自技术社区)》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇CentOS开启SSH Server服务使用a标签实现页面的定向跳转下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

win10全局安装插件却不能全局用,https:/go.microsoft.com/ fwlink/?LinkID=135170禁止运行脚本

报错最关键信息 win10 https:/go.microsoft.com/ fwlink/?LinkID=135170禁止运行脚本 或者: tsc : 无法将“tsc”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1 tsc --version...

Win10访问Ubuntu的samba共享文件

大致分为以下几个步骤: 一、开启samba服务器 二、配置共享目录和用户权限 三、开启samba客户端 四、访问共享目录 一:开启samba服务器 安装samba服务器:  sudo apt-get install samba samba-common 检查是否自动samba服务:samba -V   (如果出现下面版本号说明已经安装了samba服务器)...

Kafka win10下启动

 启动kafka之前先要启动zookeeper,而kafka里面时自带有zookeeper的,建议独立部署一套zookeeper服务,kafka下的zookeeper启动命令: zookeeper-server-start.bat ....configzookeeper.properties 启动kafka 服务的命令: kafka-server-star...

win10系统谷歌浏览器崩溃的解决方法

我们在操作win10系统电脑的时候,常常会遇到win10系统谷歌浏览器崩溃的情况,想必大家都遇到过win10系统谷歌浏览器崩溃的情况吧,那么应该怎么处理win10系统谷歌浏览器崩溃呢?我们依照找到Chrome浏览器的快捷方式图标,右键单击选择“属性”,在目标后面添加--no-sandbox,如下图所示。这样的步骤就行了;下面小编带领大家看看win10系统谷...

Win10 教育版

Windows 10 版本 1607 引入了专为 K-12 机构的特有需求而设计的两个版本:Windows 10 专业教育版和 Windows 10 教育版。 这些版本为不断发展的 K-12 教育 IT 环境提供特定于教育的默认设置。Windows 10 专业教育版Windows 10 专业教育版基于 Windows 10 专业版的商业版本构建,提供学校中...

Win10系统如何利用蓝牙设置动态锁?

很多小伙伴都会有这样的经历,出门之后没走多远,却已然忘记是否锁门,有强迫症的人就会重新返回查看,以确保门是否反锁。 我们在使用电脑时也是这样,遇到事情要临时离开,却忘记是否锁屏,再返回来就耽误时间了。好在Win10系统为我们解决了这个后顾之忧,我们可以通过Win10系统的动态锁屏功能来实现。Win10动态锁屏功能有什么用平常我们锁屏是通过“WIN+L”的快...