# Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

# Topic review

martin

## Re: Script asks for password even though I do not have one configured

Please post session logs from both scenarios.

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
NewBieJeSuis

## Script asks for password even though I do not have one configured

Hello,

When I try to run the commands individually, no password is asked and I can easily connect to the server.
However, when I put all the commands in one .bat script it asks me for the password to enter the server even though I do not have one configured.

Do I need to have a password configured?