Winscp cli scripting – practical notes
WinSCP · 6.7.1
This walks through winscp cli scripting on Windows 10 and 11: the file, the checksum, the install and the first configuration. It takes about five minutes and needs no account.
The full guide with the checksum and install notes is here: How to get Winscp sftp client without the Store.
WinSCP 6.7.1 is a SFTP client for secure file transfers. The installer here is 12.6 MB and the hash sits next to it – verifying it takes one PowerShell command and rules out a tampered download.
Context
Saved sessions hold host, port, protocol and key, so repeat connects are one double click; scripting via winscp.com automates the same tasks.
The build itself is 13,176,776 bytes and hashes to 95ea85587c30ac6dd0c4b8148e16971f…. Both are stated here so the copy is checkable, not assumed.
This note supports the main article rather than repeating it: the file facts and the checksum live there.
How to do it
Open PowerShell in the download folder and run Get-FileHash .\WinSCP-6.7.1-Setup.exe -Algorithm SHA256. The value must match 95ea85587c30ac6dd0c4b8148e16971f.
What changes
Run the setup and follow the wizard. The installer is Inno Setup, so /VERYSILENT works for a silent install from a script.
First run: open the program once, set the folder it should work in, then close and reopen to confirm the setting sticks.
Notes
A silent install uses <code>WinSCP-6.7.1-Setup.exe /VERYSILENT /NORESTART</code>. If SmartScreen warns on first run, compare the hash first: 95ea85587c30ac6d….
File facts: WinSCP-6.7.1-Setup.exe, 13,176,776 bytes, SHA-256 95ea85587c30ac6dd0c4b8148e16971f7854a6eee9e68298bf007566ebbe7603.
Questions
Why does SmartScreen warn on first run?
The binary has no extended-validation certificate, so the warning shows until it gains reputation. The published SHA-256 proves it is the right file.
Can it install to another drive?
Yes. Choose the folder in the wizard; nothing is locked to the system drive.
Is a silent install supported?
Yes, the installer is Inno Setup, so /VERYSILENT /NORESTART works from a script.
Does it run on Windows 11?
Yes, on 24H2 and older builds, both 32- and 64-bit.
Related
File facts: WinSCP-6.7.1-Setup.exe, 13,176,776 bytes, SHA-256 95ea85587c30ac6dd0c4b8148e16971f7854a6eee9e68298bf007566ebbe7603. Updated 26 November 2026.