Shep
asked on
Automatically Login At Startup, And Lock Server
I have an application that needs to start with the server, but it only starts once a user log's in. I need a way to have the server automatically login as an admin, then lock the server. I will be restarting it by remote via pcanywhere / terminal services. Of the two, only pcanywhere could accomplish the correct login process ( as a session doesn't work ), unfortunately, the software in question has a conflict with pcanywhere in that it wont start if pcanywhere is running. After successful start of program, there is no problem using pcanywhere. An additional remote control program is not desired, please no suggestions on other 3rd party apps. Preferred is way to accomplish above, or how to make the app start as a system service.
Shep
Shep
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Would you mind to talk more about your platform ?
What's kind of windows ? (Wins98 / W2K / XP or other ), Standalone PC or domain workstation ? Is that software can be run as service ?
What's kind of windows ? (Wins98 / W2K / XP or other ), Standalone PC or domain workstation ? Is that software can be run as service ?
ASKER
rhinoceros
- 2000 AS, the DC its self
smallbee
- might work for auto login, dosnt lock the server tho. Leaving the DC in an unlocked state is not an option
night_monkey
- you be in the lead, I will try to get on location today and try it.
Shep
- 2000 AS, the DC its self
smallbee
- might work for auto login, dosnt lock the server tho. Leaving the DC in an unlocked state is not an option
night_monkey
- you be in the lead, I will try to get on location today and try it.
Shep
Hi
for autologon chanche following registry keys:
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows NT\CurrentVersion\Winlogon ]
"DefaultUserName"="Admin"
"DefaultPassword"="Passwor d"
"AutoAdminLogon"="1"
If you don't have the AutoadminLogon key, create it!
-------------------------- -
locking the PC:
create a batchfile with following content:
RUNDLL32 USER32.DLL,LockWorkStation
put this batchfile in your Startup folder
greets
bonzai
for autologon chanche following registry keys:
[HKEY_LOCAL_MACHINE\SOFTWA
"DefaultUserName"="Admin"
"DefaultPassword"="Passwor
"AutoAdminLogon"="1"
If you don't have the AutoadminLogon key, create it!
--------------------------
locking the PC:
create a batchfile with following content:
RUNDLL32 USER32.DLL,LockWorkStation
put this batchfile in your Startup folder
greets
bonzai
you can add the logon.scr at startup for locking
cool, well good luck today! =)
C drive (or Systemroot) --> Documents and Settings --> username --> startmenu --> program --> startup --> 'post the shortcut of that program execute file' (e.g. run.exe shortcut). So the software will be auto started when this user login each time.
More tips, each user has their own profile in Window2K. Like as above case, just do it for user "john", that software is only startup with "john" login. For other users login, that software will not worked.
I hope it can help.
More tips, each user has their own profile in Window2K. Like as above case, just do it for user "john", that software is only startup with "john" login. For other users login, that software will not worked.
I hope it can help.
ASKER
to all,
22 hr day, at least 4 more to go, and not a chance in the world of being in front of the BC today. Will be tomorrow. There are some good sugestions here, but i'm not willing to try them via remote, something goes wromg, im screwed. Will know more tomorrow.
Shep
22 hr day, at least 4 more to go, and not a chance in the world of being in front of the BC today. Will be tomorrow. There are some good sugestions here, but i'm not willing to try them via remote, something goes wromg, im screwed. Will know more tomorrow.
Shep
no rush, you've got the right idea. always make sure you're ready when you set out to tackle stuff like this.
seeya.
seeya.
ASKER
Good to go.
Shep
Shep
get this TweakUI, very handy tools!
1) after u extract the exe file
2) right click and install the "inf" file
3) go to Control Panel, click on TweakUI
4) In TweakUI, click on "logon" tab
5) check the checkbox: "Log on automatically at system startup
5) Type in Admin username and password, then OK
done