Jump to content

Unknown Username of Bad Password???


Recommended Posts

Hi All,

I'm having a big problem at the moment with running AutoIT to automate a logon process whereby it will sign me in to multiple PC's all with the same account. Attached is my script, and I have even tried other accounts but when I run the batch file (psexec.exe @ITsuites.txt -c -f (pclogon.exe) the command prompt window states unknown username or bad password, despite the fact that I have triple checked the details and even tried a few other accounts...Have I done something silly???

I have been trying to follow the instructions from here:

http://community.spiceworks.com/how_to/show/2568

myscript.txt

Link to comment
Share on other sites

Sorry, perhaps that was the poorest choice of words. I am wanting to get AutoIT to save my username and password to log into 100+ machines for me, instead of doing it myself 1 by 1. Is this allowed with the software? there's a whole guide on spiceworks, but as for the link you sent me about rules, thanks, I had a good read through and apologize if my question is out of bounds for the software etc.

Link to comment
Share on other sites

  • Moderators

ashleylewisms,

It is not "out of bounds" for the software - you can do what you like with it - but it might be "off limits" for discussion on the forum. ;)

I will let you know when we have come to a decision. Until then I am locking the thread - my apologies in advance if I am being over-cautious. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

This is fine. This is enabling a built-in Windows feature that requires administrative rights to enable.

Anyway, this question isn't really AutoIt related. It's about getting psexec to work right which can be annoying and tricky on Vista and later. Otherwise this seems a simple two step process to debug.

  • Does the script work testing it on a local machine?
  • Does psexec work with anything else? If yes, are you positive it's run as the correct user and that the user has the correct access rights?
Link to comment
Share on other sites

I'm not able to test it on a local machine as it's designed to login to approx 100 PC's from the CTRL+ALT+DEL screen over my network.

As for PSEXEC, How would I go about checking the access rights? I've used PSEXEC for other uses in the past such as Wake-On-Lan and that seems OK...Then again that's not exactly "in windows"

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...