WinSCP show drives hidden by policy?

Advertisement

Pathduck
Donor
Joined:
Posts:
79
Location:
Oslo

WinSCP show drives hidden by policy?

Hey :)

At our work, we have management servers where sometimes drives like C: and D: are hidden from Windows Explorer by policy. Don't ask me why, I don't like it either :?

However for the work I do I need to view these drives. In Total Commander it is possible to change to these drives using the dropdown menu. They are actually there and available through cmd.

But in WinSCP these drives are unavailable, and I cannot change to them using Ctrl+O either.

Is it possible to have these hidden drives available in WinSCP as well?

Thanks!

Stian

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,791
Location:
Prague, Czechia

Re: WinSCP show drives hidden by policy?

Thanks for your suggestion.

This request has been added to the tracker:
https://winscp.net/tracker/1233

Implemented in 5.6.2 beta (released just now) as "hidden" feature (for now).

You can enable it using:
winscp.exe /rawconfig Interface\HonorDrivePolicy=0

(it gets saved, so you just need to do it once, not for every run).

Reply with quote

Pathduck
Donor
Joined:
Posts:
79
Location:
Oslo

That's awesome Martin, thanks for implementing this so quickly :)

I have confirmed it works and shows all drives as well as Documents and Desktop. Will test some more and let you know if I find anything strange.

cheers,
Stian

Reply with quote

Zeeman28a
Guest

Same issue with hidden drives

Hi.

Was searching the forums for this issue and came across this thread.

I tried the "winscp.exe /rawconfig Interface\HonorDrivePolicy=0" and I'm getting

"Host "Interface\HonorDrivePolicy=0" does not exist."

Is there another way to get WinSCP to display the local HDD's that are hidden by Local Policy?

Thanks.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,791
Location:
Prague, Czechia

Re: Same issue with hidden drives

Zeeman28a wrote:

Was searching the forums for this issue and came across this thread.

I tried the "winscp.exe /rawconfig Interface\HonorDrivePolicy=0" and I'm getting

"Host "Interface\HonorDrivePolicy=0" does not exist."

Is there another way to get WinSCP to display the local HDD's that are hidden by Local Policy?
You are probably using an old version of WinSCP that does not support the /rawconfig switch.
https://winscp.net/tracker/876
And your version won't support HonorDrivePolicy anyway.
https://winscp.net/tracker/1233
Upgrade to the latest version.

Reply with quote

Advertisement

You can post new topics in this forum