sublimnl Posted September 5, 2007 Share Posted September 5, 2007 I am trying to run an application from a network share, but need to do so with elevated privleges as it is an installer for a piece of software. The problem is that the users already have drives mapped to this server which causes running of the pogram to fail due to the fact that the AutoIt script is attempting to connect to the server with a username that conflicts with the username on the existing connection. This is a security feature of Windows 2000 Server and above I believe. Does anyone know of a way to get around this within AutoIt? I have tried to unmap all network drives first, but that does not kill the session on the server side (not sure how long they would take to expire either). I have also tried to re-map the drive using my alternate credentials, but that fails for the same reason as the Run command (duplicate sessions with different usernames). I hope I have explained the problem well enough for you guys to understand, let me know if you have any questions. Link to comment Share on other sites More sharing options...
herewasplato Posted September 5, 2007 Share Posted September 5, 2007 See if this tip helps:http://www.jsifaq.com/SF/Tips/Tip.aspx?id=6461-MSP- [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
sublimnl Posted September 5, 2007 Author Share Posted September 5, 2007 See if this tip helps:http://www.jsifaq.com/SF/Tips/Tip.aspx?id=6461-MSP-very nice. I thought about that, but did not try it since I figured the server was giving the error instead of the client. Will give this client-side workaround a try tomorrow morning. thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now