| View previous topic :: View next topic |
| Author |
Message |
Wizard
Joined: 18 Apr 2007 Posts: 13
|
Posted: Tue Apr 24, 2007 5:07 pm Post subject: Remotely login in a "local" way... |
|
|
Hi guys!
A number of PCs have started and they are all waiting in the login dialog. Is there any way I can use another PC to make these PCs login locally as if someone was there? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Apr 24, 2007 5:51 pm Post subject: |
|
|
just set them to automatically log in in Control Panel. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Wizard
Joined: 18 Apr 2007 Posts: 13
|
Posted: Tue Apr 24, 2007 7:05 pm Post subject: |
|
|
engunneer, it's my bad, I didn't phrase correctly the question. Yes, I know how to automatically login, but sometimes I need to log-off from the initial account, log-in as administrator, do some stuff, log-off from administrator and finally log-in with the first account.
I know how to log-off automatically from all the PCs, but how can I log-in again when the dialog box is displayed (so I don't have to type the admin password over and over again)? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Apr 24, 2007 7:11 pm Post subject: |
|
|
you could try having a script running as a service when the system starts (XYNTservice is good for that), but I'd rather type the admin password each time - more secure.
you could also get one of the fingerprint login devices, and configure each computer to log in as admin with it. then you plug in, swipe, and you're in. The device driver should load when it's pulugged in, even from the login screen. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Wizard
Joined: 18 Apr 2007 Posts: 13
|
Posted: Tue Apr 24, 2007 7:26 pm Post subject: |
|
|
| engunneer wrote: | | you could try having a script running as a service when the system starts (XYNTservice is good for that), but I'd rather type the admin password each time - more secure. |
Let's say I put this script in every PC:
Send, administrator
Send, {Tab}
Send, password
Send, {Enter}
Will I be able to remotely execute it if no one is logged in and the login dialog box is displayed or won't Windows let me? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Apr 24, 2007 8:05 pm Post subject: |
|
|
you want to execute the login script that resides on the PC from some other PC? _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Wizard
Joined: 18 Apr 2007 Posts: 13
|
Posted: Tue Apr 24, 2007 8:13 pm Post subject: |
|
|
| engunneer wrote: | | you want to execute the login script that resides on the PC from some other PC? |
Exactly. I can do something like:
psexec \\pcname -u administrator -p password -i c:\myscript.exe
What I don't know is if the "Send" commands will have any effect...  |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Apr 24, 2007 9:08 pm Post subject: |
|
|
it may, but windows does things to specifically defeat other programs hitting Ctrl Alt Del.
since you already know about psexec, then I have no useful info for you. Have you tried it? (try a script with a msgbox first) _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Wizard
Joined: 18 Apr 2007 Posts: 13
|
Posted: Wed Apr 25, 2007 11:27 am Post subject: |
|
|
It didn't work. The script did execute, but the Send commands did nothing  |
|
| Back to top |
|
 |
Lemming
Joined: 20 Dec 2005 Posts: 150 Location: Malaysia
|
Posted: Wed Apr 25, 2007 11:40 am Post subject: Remote Desktop |
|
|
Unattended admin logon can be a security risk. Assuming this is XP Pro, have you considered Remote Desktop?
This would ensure the remote PCs are still locked, while your Ahk scripts can still work properly. The Remote Desktop client can be configured to automatically logon as any user, incl admin.
In fact, this is how I access my work PC from home; my work PC contains all my crucial scripts. |
|
| Back to top |
|
 |
Wizard
Joined: 18 Apr 2007 Posts: 13
|
Posted: Wed Apr 25, 2007 2:34 pm Post subject: Re: Remote Desktop |
|
|
| Lemming wrote: | Unattended admin logon can be a security risk. Assuming this is XP Pro, have you considered Remote Desktop?
This would ensure the remote PCs are still locked, while your Ahk scripts can still work properly. The Remote Desktop client can be configured to automatically logon as any user, incl admin.
In fact, this is how I access my work PC from home; my work PC contains all my crucial scripts. |
It's just a small school lab with W2K Pro, no big deal about security I want to login locally as if someone was really there to type the information (so I don't have to type passwords in all of them) and then I *will* go to each one and do whatever job I want. All the PCs are in the same room.
Are you saying that with Remote Desktop, I could *see* in my PC the actual admin desktop of the other PCs? |
|
| Back to top |
|
 |
Wizard
Joined: 18 Apr 2007 Posts: 13
|
Posted: Wed Apr 25, 2007 3:36 pm Post subject: |
|
|
Oops, W2k Pro can not act as a host, so Remote Desktop won't work  |
|
| Back to top |
|
 |
ggirf14
Joined: 01 Nov 2005 Posts: 96 Location: Ottawa
|
Posted: Wed Apr 25, 2007 6:01 pm Post subject: |
|
|
We are now using Windows XP and there is a utility to unlock the workstation. It works on a stand alone PC and on Novell network but I never tested it in different environement. According to the the document below it works for Win2K.
Ref.
http://www.novell.com/coolsolutions/tools/16947.html
When we had Win2k I was using autoadmin login from from a script launched from a running workstation, It changed the registry setting to do it, reboot pc, run the maintenace .exe undo the autologin and reboot again.
It was done in a few steps:
1 Change registry setting to autologin ,
2 Add a shortcut to the startup folder to run the maintenace application and from this maintenance application undo the autologin and delete the shortcuts and maintenance .exe file. Log file was written
If the PC is on a network you may use shortcuts that a user can click from the workstation. You can than delete the target file after. I did this using call# as the file name so it was easy to manage those file to delete.
Have you looked into NIC card settings about the "wake on lan" feature? Will it simply powerup the pc or can it also be used to start and logon? |
|
| Back to top |
|
 |
|