HELP: How reboot server 2003 machine and automatically login

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

Putting aside security concerns, etc..

Is there any way to reboot a Windows Server 2003 machine REMOTELY and have
it automatically log in so that I can access it using Terminal Server/Remote
Desktop?

I am in Florida. The server is in North Carolina. Using Remote Desktop
Connection I need to reboot it and then use it. No one is around the PC to
manually log in!

Please help!

Thanks.
 
microsoft.public.windows.server.security news group, VB Programmer
Is there any way to reboot a Windows Server 2003 machine REMOTELY and have
it automatically log in so that I can access it using Terminal Server/Remote
Desktop?

I am in Florida. The server is in North Carolina. Using Remote Desktop
Connection I need to reboot it and then use it. No one is around the PC to
manually log in!

Why do you feel that someone needs to be logged into the console in
order for you to establish a remote desktop connection to it? That is
definitely not the case at all.
 
We need a program to run in the "Startup" for the console. So, if this
program is to run, someone must log in at the console before it will run.

(We only want this program to run under console, not for any other logins.)

Any ideas?
 
To go along with Paul's suggestion, why not run the app using the srvany.exe
tool from the ResKit, which will run the app as a service?

--
Derek Melber

VB Programmer said:
We need a program to run in the "Startup" for the console. So, if this
program is to run, someone must log in at the console before it will run.

(We only want this program to run under console, not for any other logins.)

Any ideas?

Paul Adare - MVP - Microsoft Virtual PC said:
microsoft.public.windows.server.security news group, VB Programmer
PC
 
Hello,


http://www.ilopia.com/Windows+Server+2003/FAQ/TS/99.aspx

Can I connect to the console session remotly?

Yes! If you use the Windows Server 2003 client you can write /console
in the computer name box.

If you are using the Windows XP Remote Desktop client you will have to
start the Remote Desktop client from a command prompt by writing mstsc
/console /v:servername. Where mstsc is located depends on where you
installed it, but it's usually in "%programfiles%/remote desktop" or
"%systemroot%/system32"




http://www.ilopia.com/Windows+Server+2003/FAQ/General/64.aspx

I want the server to automatic log on when I start it, where do I
enable this?

A server should not be set to automatic logon. This feature can
however be useful for a test server and should not be used in a production
environment. By using this feature anoyone who can physically access the
server can gain access to all the server's contents, network shares etc. The
password is also stored in the registry in plain text, which means that
anyone can read the password (even if they only can access the server
remotly and are authenticated to read the registry). And again, this should
not be used on a production server.

This solution involves editing the registry, if you are not familiar
with the registry, do not follow this! Incorrectly usage of the Registry
Editor may cause your computer to not boot up.

a.. Click Start->Run and type regedit
b.. Navigate to the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
c.. Right click DefaultUserName and select modify, type your user
name and click OK
d.. You have probably not the value DefaultPassword, so you have to
create it.
e.. Right click the Winlogon folder in the left pane, point to New
and select String Value
f.. Type DefaultPassword and press ENTER
g.. Right click DefaultPassword and select modify, type your
password and click OK (a blank password will not work)
h.. Make sure that the string value DefaultDomainName is set to the
correct domain or computer name
i.. To enable the auto-logon, right click the Winlogon folder in the
left pane, point to New and select String Value
j.. Type AutoAdminLogon and press ENTER
k.. Right click AutoAdminLogon and select modify, type 1 (to enable,
0 to disable) and click OK
l.. Quit the Registry Editor and restart
To bypass the auto-logon and log on as another user, hold down the
SHIFT key during the startup of Windows or when you log off.

For more information, please see KB Article 324737



Link(s):

http://support.microsoft.com/?id=324737

--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
www.ilopia.com - FAQ and Tutorials for Windows Server 2003
 
I can't run the app as a service because it has a user interface that needs
to be displayed (it can't be minimized either).

FYI: The application always runs in a modal state. It has some gauges on
it and the gauges are actually captured into jpeg images.

Bottom line is that the application has to run with it's user interface
displayed and showing at all times. No exceptions.

Derek Melber said:
To go along with Paul's suggestion, why not run the app using the srvany.exe
tool from the ResKit, which will run the app as a service?

--
Derek Melber

VB Programmer said:
We need a program to run in the "Startup" for the console. So, if this
program is to run, someone must log in at the console before it will run.

(We only want this program to run under console, not for any other logins.)

Any ideas?

and
have
the
 
microsoft.public.windows.server.security news group, VB Programmer
We need a program to run in the "Startup" for the console. So, if this
program is to run, someone must log in at the console before it will run.

(We only want this program to run under console, not for any other logins.)

Any ideas?

Launch the Remote Desktop Client with the following command line:

mstsc /v:server_name /console
 
Found it: Q278845 HOW TO CONNECT TO AND SHADOW THE CONSOLE SESSION WITH
WINDOWS SERVER 2003 TERMINAL SERVICES
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top