Storing credentials in Credential Manager In case of an unattended script you might want to add a new entry in your credential manager of windows. Select Windows Credentials and add a new generic credential: