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

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

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

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

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

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

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
Reply

 Automatic login of multiple user accounts




Thread Tools



Similar help and support threads for2: Automatic login of multiple user accounts
Thread Forum
User Accounts missing at Login screen and in Control Panel General Discussion
Solved Multiple user accounts, 1 auto login , how to login to another account General Discussion
Newly created user accounts cant login to Windows 7 General Discussion
Missing Multiple Hotmail Accounts on login screen Browsers & Mail
User Accounts Hidden at Login General Discussion
Automatic Login for multiple users? General Discussion
XPM for multiple WIN & User Accounts 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 07:29 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33