theniteowl
Programmer
My apologies if this shows up twice but after hitting submit on the last one it never showed in the forum and I assume it was lost.
I have a VB Script application that monitors files on a network share. The server is logged into with a local account that does not have access to the share but this has not been a problem when using Stored Usernames and Passwords to setup the correct credentials for the shares.
A recent policy change locked us out of using the stored credentials so now when the app tries to access the network resource it fails because the only credentials it has to use are the current login.
Is there a way in VBS to establish a connection to the network share passing it the credentials you want to use?
Right now I have to manually attempt a connection to the share which after a long wait finally comes up with a logon screen where I can manually enter the info. Once done this will continue to work until the authentication expires or the server is rebooted, etc. This can result in the app losing connection at unforseen times and causing production problems.
Is it possible to connect to a UNC path and push the authentication credentials along with it rather than having to manually re-authenticate to every share on every server when they fail?
Thanks.
At my age I still learn something new every day, but I forget two others.
I have a VB Script application that monitors files on a network share. The server is logged into with a local account that does not have access to the share but this has not been a problem when using Stored Usernames and Passwords to setup the correct credentials for the shares.
A recent policy change locked us out of using the stored credentials so now when the app tries to access the network resource it fails because the only credentials it has to use are the current login.
Is there a way in VBS to establish a connection to the network share passing it the credentials you want to use?
Right now I have to manually attempt a connection to the share which after a long wait finally comes up with a logon screen where I can manually enter the info. Once done this will continue to work until the authentication expires or the server is rebooted, etc. This can result in the app losing connection at unforseen times and causing production problems.
Is it possible to connect to a UNC path and push the authentication credentials along with it rather than having to manually re-authenticate to every share on every server when they fail?
Thanks.
At my age I still learn something new every day, but I forget two others.