covaks Posted December 23, 2007 Share Posted December 23, 2007 Sorry if this has been asked before, I tried searching, but I'm not even sure what to search for. I've written a program to perform a few common tasks at work. It reads a list of servernames from a text file, then can go through them and retrieve various information and output to a log file or .csv file. So far it gets Serial numbers, Current time (for after DST patching), Symantec, or McAfee definitions/engine/etc information. So it uses WMI queries, and RegRead. It works fine for all servers on the same domain, but some servers are standalone or have alternate login information. I've made a tab with a listview where the user can enter in specific username/password information for each server. Now how do I authenticate to the server? In Autoit, is there a commandline equivalent of: net use \\servername "password" /user:username ? I don't want to use shellexecute to net use authenticate everytime. Is there another way? Link to comment Share on other sites More sharing options...
covaks Posted December 23, 2007 Author Share Posted December 23, 2007 Well covaks, if you weren't such a doorknob, you might have noticed DriveMapAdd in the help can be used for that purpose... *sigh*... Some people.. .sheesh.. (ps. sorry) Link to comment Share on other sites More sharing options...
DW1 Posted December 31, 2007 Share Posted December 31, 2007 LMAO, nice post AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Paulie Posted December 31, 2007 Share Posted December 31, 2007 if you weren't such a doorknob...Hahaha! You wouldn't mind if i started calling people "doorknobs" would you? 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