Topic "ForceBanners=DWORD:0000001 not working"

Author Message
Guest




Hi,

I installed the lastest WinSCP build on a Windows XP system.
I implemented the ForceBanners fix as suggested on your site in the following registry key
HKLM\Software\Martin Prikryl\WinSCP 2

Users are still able to uncheck the box when the banner shows up.
Does having roaming profiles effect the way this fix works?

When I logged into the machine with my roaming profile account I noticed there was another entry in HKCurrentUser\Software\Martin Prikryl\WinSCP 2\ I took the liberty to apply the fix there but to no avail

Any insight to this will help me greatly

Thanks!!
Advertisements
Guest




Any answers to this topic??
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sorry, I've overlooked your post.
The ForceBanners works for me.

Please share exact export of the key.

It should look like:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Martin Prikryl\WinSCP 2]
"ForceBanners"=dword:00000001
Guest




Hi Martin,

I have place the exact key as you have written.
It seems to work when you don't have windows roaming profiles activate.
When you are on a network with Windows roaming profiles activated it tends to fail.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Do roaming profiles affect HKEY_LOCAL_MACHINE?
_________________
Martin Prikryl
Guest




Yeah I asked myself that question as well. I would have thought once you placed the correct flags into HKLM it would automatically kick in.

I did notice, however, that systems with Roaming Windows adds another registry key in HKEY_CURRENT_USER\SOFTWARE\Martin Prikryl\WinSCP 2 where you have to put in the ForceBanners flags in too. I decided to try it out but that didn't work, I'm out of ideas?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
WinSCP reads ForceBanners from HKEY_LOCAL_MACHINE only. Unless with Roaming profiles enabled, some redirections do occur behind the scenes.
Anyway, how do you set the ForceBanners in HKEY_LOCAL_MACHINE? (I do not know how Roaming profiles are administered). Can you see the value set in HKEY_LOCAL_MACHINE after you login with account that uses Roaming profiles?
_________________
Martin Prikryl
Guest




Hi Martin,

Yes I do see the value I set in HKLM after logging in, but for whatever reason unknown to me it still allows me to check the box to disable the warning banner
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
samsonite

Guest


I too am having this issue on Windows Server 2008 R2 SP1
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
samsonite wrote:
I too am having this issue on Windows Server 2008 R2 SP1

The same answer:
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
Guest




I'm still unsure what this problem might be. Roaming profiles are killer
samsonite
[View user's profile]

Joined: 2013-09-25
Posts: 1
Location: USA
Sent.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
As you are using 64-bit system, note that a physical location of the key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Martin Prikryl\WinSCP 2 (as WinSCP is 32-bit application).
I have added this to a documentation:
https://winscp.net/eng/docs/administration
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License