Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Automatic login of multiple user accounts

20 Jul 2010   #21
richc46

Microsoft Community Contributor Award Recipient

Windows 10, Home Clean Install
 
 

Quote   Quote: Originally Posted by WindowsStar View Post
So is that going to do what you need?
Excellent, rep has been given.


My System SpecsSystem Spec
.
24 Sep 2010   #22
misterspeed

Windows 7 Ultimate x64 , Windows 2008 R2 x64
 
 

Trying same thing, but in my case I don't want to simple use runas cmd. I need to interact with multiple user accounts and take over control of them from time to time. So I look for possibility to autologon all available user accounts by a batch file.

All users can be controlled via RDP, but on system start there should be auto logon for all users to execute the different autostart programs.

So if I restart computer I want to logon to administrator account manually and then there should be run a batchfile in autostart that logons the other accounts automatically.

Batchfile should look like this:
logon user2 pw
logon user3 pw
logon user4 pw
...

EDIT:
Sorry your forum seems to hate line breaks, no idea why my posting isn't formated like I send it...

EDIT2:
Disabled javascript was the problem...
My System SpecsSystem Spec
25 Sep 2010   #23
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

I cannot think of a way of doing this without the RunAs. Why do you NOT want to use the RunAs?
My System SpecsSystem Spec
.

25 Sep 2010   #24
misterspeed

Windows 7 Ultimate x64 , Windows 2008 R2 x64
 
 

I don't want to use runas, because I don't want to modify the autostart programs each time by myself. All users have the privilege to decide for themselves what kind of programs should be launched automatically on startup, so there could be changes from time to time. To prevent long waiting time on first user login and to ensure that some server based programs are running after a systemstart on these accounts without interaction of these users I want to logon all users by a script.

It's by the way a Windows 2k8 R2 Terminal Server not Windows 7. Perhaps someone knows a way to realize autologon for multiple accounts.
My System SpecsSystem Spec
26 Sep 2010   #25
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

You could test doing this:

Use mstsc.exe from the command line:
mstsc.exe [<Connection File>] [/v:<Server>]

Connect manually and save the .RDP file with the username and password saved.

Then:

Code:
@echo off
%windir%\system32\mstsc.exe user1.rdp /v:W2K8R2-Server
%windir%\system32\mstsc.exe user2.rdp /v:W2K8R2-Server 
%windir%\system32\mstsc.exe user3.rdp /v:W2K8R2-Server 
%windir%\system32\mstsc.exe user4.rdp /v:W2K8R2-Server 
%windir%\system32\mstsc.exe user5.rdp /v:W2K8R2-Server
This is untested. You will have to give it a try. -WS
My System SpecsSystem Spec
26 Aug 2014   #26
shakeensubbaiah

Windows 7 64bit
 
 

Quote   Quote: Originally Posted by misterspeed View Post
I don't want to use runas, because I don't want to modify the autostart programs each time by myself. All users have the privilege to decide for themselves what kind of programs should be launched automatically on startup, so there could be changes from time to time. To prevent long waiting time on first user login and to ensure that some server based programs are running after a systemstart on these accounts without interaction of these users I want to logon all users by a script.

It's by the way a Windows 2k8 R2 Terminal Server not Windows 7. Perhaps someone knows a way to realize autologon for multiple accounts.

Try this application:

Autologon by LogonExpert
My System SpecsSystem Spec
Reply

 Automatic login of multiple user accounts




Thread Tools




Similar help and support threads
Thread Forum
Disabed User Accounts/Can't login. How do i get CMD before LOGIN?
My User accounts have all been disabled except one that has my avatar, but isn't the admin account ive been using. it has a different mouse speed for one, and the password isn't the one i've been using for months. Guest is disabled. I have tried every password cracker. None of them can figure...
Backup and Restore
User Accounts missing at Login screen and in Control Panel
I don't know what I did but the main user account (and another) is missing at the login screen. I managed to create an administrator's account which is visible but I can't see the other user accounts at login or in the user accounts control panel. I've activated and verified that the missing user...
General Discussion
Multiple user accounts, 1 auto login , how to login to another account
Hi I have a unit i want to have 4 user accounts on and one of them should auto login. How do i change to one of my other 3 accounts? Change user doesnt work, just auto login. Im running Windows embedded standard 7 Best regards
General Discussion
Newly created user accounts cant login to Windows 7
Hi, seen lots of threads about this error message but not in this context so I'm thinking I might get some joy from you oracle like marvels. :) A customer I saw today had a family Win7 PC with four user profiles on it. All worked apart from one called Hannah. When selected it started to load but...
General Discussion
Automatic Login for multiple users?
Hi, I have 2 Users on my Win7 Home Basic PC. User A who has Administrator Rights and a password and, User B who has Ordinary Rights with no password. Is there a way that with I boot my PC, User B gets logged in to his Desktop without having to click the user? Thanks in advance.
General Discussion
XPM for multiple WIN & User Accounts
Hi - I have installed XPM in each of multiple WIN 7 Pro user accounts. Do I need to install each software program in each user account in order for them to show up in the "Programs" menu? (When I install them in Admin, only admin can see them). Thanks! Matt
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App