AHK script to login into Windows 7 system - powershell

I run a small internet cafe of 15 computers (Windows 7). I have created an admin account and a user account on all of them.
From my own machine at the cash counter, I wish to control login to user accounts on the above machines. (Customer comes, says will sit on system 5, i click a shortcut and system 5 logins with necc. details and customer goes and starts his work). How do I go about doing this?
I have explored Sendkeys, nirsoft's nircmd, powershell calls etc. Nothing seems to work. There are two screens involved. First is the MS logon pictures that need to be clicked, then the password screen followed by 'Enter'.
I am assuming I wish to send something like: AHK_myscript \system1 "user" "password"
Please let me what I need to get past these two screens. (Also have uVNC running, if it helps). Thanks in advance.

Related

Username appears on logon but nowhere else

I'm running win10 and originally I had it set up not to need a password so it would just boot straight into the desktop. Then I decided to see if an email I expected had been sent to an old Hotmail account I haven't used for ages. Microsoft took me through a recovery process for the Hotmail account and eventually I was able to get back into it BUT next time I tried to logon the machine stopped at the logon page and showed 2 users - one looked like the original one I had been using and the other was for my Microsoft account complete with the icon I used to use.
I selected what I think was my old logon and without entering a password I just pressed enter - got kicked out with a wrong password. The forgot password option did not appear. Tried every password I have used in the past and the one for the new ms account - none work!
Logged in on the new ms account and then went searching for the other account using all the methods suggested on the web - it does not exist anywhere. How can I get rid of this account so I can get back into not having to use a password?

RDP MSTSC no logon screen?

Good day to you all!
Guys tell me what I can not find, in short, there is a domain theme - right-click on the account = change password, check the box: The user must change the password... Type a temporary password for example 123456
Ideally and on many DC machines with mstsc or other client, type in the address of the RDS machine, 1. A logon window appears and then you are asked to enter your login and password, we enter our login and password 123456, then in the same logon it asks you to change your password... This is configured in the GPO and so on, but here's the thing, there are controllers or PCs which terminal server is configured so that the logon window is not issued and immediately at the above request to change the password this window is issued: https://i.stack.imgur.com/PAk4V.jpg
In short! Here's the solution!
Make an account that will not be in any group of the domain, or rather make the group empty and put it the main user, removing even from the group domain users.
We add this user to the remote desktop group on the farm gateway only.
Then we write in ANY client properties of this user together with login, password, domain, ONLY in the gateway section.
In the same connection settings write the PC (usually the 1st PC in the farm), which needs to connect.
Everything. Profit. Thank you all. The solution was found by the collective mind of my team, for which she and I, including a BIG THANK YOU!

Powershell script to login with a specific user

I am looking for a script that will help me "lock" a computer with a specific username.
To give an example, John works in a company where every employee can use any computer to login, but John is tired to clean up the mess and leftovers from his colleagues at the office, so, he decided to run a powershell script in Gpedit.msc --> User Configuration --> Windows Settings --> Scripts (Logon/Logoff), or a generic script on the computer to, whenever the computer is rebooted, turned off or, logged off, only his username will ask for credentials. Basically, what I need is to "lock" that computer with a specific user ID, even if it's turned off, rebooted or logged off, only that user ID will show and prompt for password. The computer is always within the network, the user ID does not have administrator rights as the only thing is used on the computer is Internet Explorer to login to a webpage, but my point is the script that I need. A script that enables the "lock" with the specific user ID and a script that disables the "lock", as, I leave on long periods and the place at the computer is free for carnage. And no, I cannot just simply hit Win+Del keys because with a simple reboot, the computer will not remain with the user ID.
Also, I just need the computer to show up with the specific user and always ask for password. I do not need to automatically login.
I tried to search on the internet the specific script or some commands that I can play with, but I did not find something. Can someone help me shed some light on this please?
Thank you!
I'm not sure how an actual script would look, but I know you can lock certain users to only be able to log into certain computers (assuming its an AD domain). Does that help at all?

Disable wifi password remembering in windows 7

I'd like to disable password remembering in windows 7 in laptop. What I have done is that I have deleted wifi name in settings of network from list. Now I have to connect manualy with this network but windows still remembers password.
How to force it to ask every time for the network password? Can someone write step by step what should I do etc.? I'm getting nervous about it.
Open User Accounts by clicking the Start button Picture of the Start button, clicking Control Panel, clicking User Accounts and Family Safety (or clicking User Accounts, if you are connected to a network domain), and then clicking User Accounts.
In the left pane, click Manage your network passwords.
Click the password that you want to remove, and then click Remove.

How do I get Citrix Xendesktop to treat every client login as a unique Windows session?

I work at a moderately sized company and we currently have Citrix Xendesktop 7 tied in with our AD and domain. We have 25 clients we're having employees test right now via the Web Storefront.
Everyone can log in with their domain credentials fine enough, but the image treats every session as if it is a brand new Windows session whenever they first log in for the day (First-time user prompts for Adobe Acrobat, Word Processor, no initial file associations, etc).
Besides having everyone log directly into the main desktop image to save their profile, how would I go about configuring the applications so they don't treat everyone as a brand new user during each session? (I remember someone saying this could be accomplished through the registry settings but I couldn't pull the thread back up for reference).
I'd suggest Citrix UPM and use group policy for folder redirection. You may just need to configure the settings for your environment. You can then have mandatory or unique profiles set.
XD 7 User Profiles
Folder Redirection