?
Solved

Change User Profile

Posted on 2002-07-20
3
Medium Priority
?
183 Views
Last Modified: 2010-05-02
I have to remove all desktop icons + some links from start button in windows 2000. I have to implement it in my VB 6.0 Application with SP5.

Another scenario is: i have to make a default login settings.... like whenever the system will start, it will automatically logged on with a defined windows user. no need to press Ctrl + Alt + Delete and then type user id and password and then logon to the system.
0
Comment
Question by:MuhammadAlam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
jeet earned 120 total points
ID: 7167028
Windows includes a feature that allows you to configure the computer to automatically logon to the network, bypassing the Winlogon dialog box.

To enable this function you need to add several new values to the key

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

Add a new string value named 'DefaultUserName' and set it to the username you wish to automatically logon as.
Add a new string value named 'DefaultPassword' and set this to the password for the user entered above.
Add a new string value named 'DefaultDomainName' and set this to the domain of the user. Ignore this value if the NT box is not participating in NT Domain security.
Add a new string value named 'AutoAdminLogon' and set it to either '1' to enable auto logon or '0' to disable it.
For Windows 2000 the additional ForceAutoLogon setting must be enabled to stop the tweak from resetting on reboot.
Exit and restart, Windows should not ask for a password and automatically show the desktop of the user.
Note: The password is stored in registry, which means anyone who has access to the machine has access to the password.

Note: You can bypass this function by holding down the SHIFT key during the boot or logoff process.

Note: It is also important to note that if the DontDisplayLastUserName value is enabled, the auto logon feature does not function.



0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8031927
Hi MuhammadAlam,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept jeet's comment(s) as an answer.

MuhammadAlam, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8095554
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question