[GH-ISSUE #18] An unexpected error occurred: [WinError 10054] An existing connection was forcibly closed by the remote host #7

Closed
opened 2026-02-28 02:14:13 +03:00 by kerem · 4 comments
Owner

Originally created by @KashifHK123 on GitHub (Jul 11, 2020).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/18

Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-6.7.0-20200604001-standard ...
(Dated 06/04/2020 02:20:40, AcceptanceLevel: PartnerSupported,
No Doc)

Exporting the Imageprofile to 'F:\kashif\ESXi-6.7.0-20200604001-standard.iso'. Please be patient ...

**An unexpected error occurred:
[WinError 10054] An existing connection was forcibly closed by the remote host

If requesting support please be sure to include the log file
C:\Users\DABOO\AppData\Local\Temp\ESXi-Customizer-PS-2788.log**

ESXi-Customizer-PS-2788.log

Originally created by @KashifHK123 on GitHub (Jul 11, 2020). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/18 Running with PowerShell version 5.1 and VMware PowerCLI version .. build Connecting the VMware ESXi Software depot ... [OK] Getting Imageprofiles, please wait ... [OK] Using Imageprofile ESXi-6.7.0-20200604001-standard ... (Dated 06/04/2020 02:20:40, AcceptanceLevel: PartnerSupported, No Doc) Exporting the Imageprofile to 'F:\kashif\ESXi-6.7.0-20200604001-standard.iso'. Please be patient ... **An unexpected error occurred: [WinError 10054] An existing connection was forcibly closed by the remote host If requesting support please be sure to include the log file C:\Users\DABOO\AppData\Local\Temp\ESXi-Customizer-PS-2788.log** [ESXi-Customizer-PS-2788.log](https://github.com/VFrontDe/ESXi-Customizer-PS/files/4906124/ESXi-Customizer-PS-2788.log)
kerem 2026-02-28 02:14:13 +03:00
Author
Owner

@virtualex-itv commented on GitHub (Jul 11, 2020):

If a WinError 10054 is encountered, run the following commands then reboot your machine and retry:

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Ssl3

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12

<!-- gh-comment-id:656972325 --> @virtualex-itv commented on GitHub (Jul 11, 2020): If a WinError 10054 is encountered, run the following commands then reboot your machine and retry: `[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Ssl3` `[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12`
Author
Owner

@KashifHK123 commented on GitHub (Jul 12, 2020):

If a WinError 10054 is encountered, run the following commands then reboot your machine and retry:

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Ssl3

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12

Issue Still exist Now I'm Getting This Error message

PS F:\kashif> .\ESXi-Customizer-PS.ps1 -v67

This is ESXi-Customizer-PS Version 2.8.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Logging to C:\Users\DABOO\AppData\Local\Temp\ESXi-Customizer-PS-14264.log ...

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-6.7.0-20200604001-standard ...
(Dated 06/04/2020 02:20:40, AcceptanceLevel: PartnerSupported,
No Doc)

Exporting the Imageprofile to 'F:\kashif\ESXi-6.7.0-20200604001-standard.iso'. Please be patient ...



An unexpected error occurred:
[WinError 10054] An existing connection was forcibly closed by the remote host

If requesting support please be sure to include the log file
   C:\Users\DABOO\AppData\Local\Temp\ESXi-Customizer-PS-14264.log

ESXi-Customizer-PS-14264.log

<!-- gh-comment-id:657171186 --> @KashifHK123 commented on GitHub (Jul 12, 2020): > If a WinError 10054 is encountered, run the following commands then reboot your machine and retry: > > `[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Ssl3` > > `[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12` **Issue Still exist Now I'm Getting This Error message** ``` PS F:\kashif> .\ESXi-Customizer-PS.ps1 -v67 This is ESXi-Customizer-PS Version 2.8.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!) (Call with -help for instructions) Logging to C:\Users\DABOO\AppData\Local\Temp\ESXi-Customizer-PS-14264.log ... Connecting the VMware ESXi Software depot ... [OK] Getting Imageprofiles, please wait ... [OK] Using Imageprofile ESXi-6.7.0-20200604001-standard ... (Dated 06/04/2020 02:20:40, AcceptanceLevel: PartnerSupported, No Doc) Exporting the Imageprofile to 'F:\kashif\ESXi-6.7.0-20200604001-standard.iso'. Please be patient ... An unexpected error occurred: [WinError 10054] An existing connection was forcibly closed by the remote host If requesting support please be sure to include the log file C:\Users\DABOO\AppData\Local\Temp\ESXi-Customizer-PS-14264.log ``` [ESXi-Customizer-PS-14264.log](https://github.com/VFrontDe/ESXi-Customizer-PS/files/4907975/ESXi-Customizer-PS-14264.log)
Author
Owner

@KashifHK123 commented on GitHub (Jul 12, 2020):

@virtualex-itv i'm waiting for answer.

<!-- gh-comment-id:657271136 --> @KashifHK123 commented on GitHub (Jul 12, 2020): @virtualex-itv i'm waiting for answer.
Author
Owner

@virtualex-itv commented on GitHub (Jul 13, 2020):

this issue has previously been reported and is being tracked here. (#15)

<!-- gh-comment-id:657297512 --> @virtualex-itv commented on GitHub (Jul 13, 2020): this issue has previously been reported and is being tracked here. ([#15](https://github.com/VFrontDe/ESXi-Customizer-PS/issues/15#issue-609129562))
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ESXi-Customizer-PS#7
No description provided.