Link to home
Start Free TrialLog in
Avatar of markg1
markg1

asked on

Windows Logon

There are several people in my house who use my computer and we each have a logon.  I was wondering if there is a way to default to my logon, when I am not the last person to use the computer?
Avatar of smeebud
smeebud

Load your "System Policy Editor" (poledit.exe) from your 95 CD and set yourself up as the Network Administrator. From there you should be able to achieve the desired default.
  Another, easier method, in my opinion would be to load "Tweakui" from PowerToys. There you can simply check or un-check a box to clear the last user. If you select "Clear last user at Logon" it will prevent windows from displaying the name of the previous user in the system logon dialog box. Or there is a optional button that will clear all selected items, such as the last users name and password, also run history, doucument history and so on. I think Tweakui would be the way to go.
Let me know if this helps. I'll send you Powertoys if you want.
Avatar of markg1

ASKER

Sorry I want restate this alittle.  Your suggestion alothough it works to some degree it does not do what I want.  I just want the logon to default to my user name with out my password.  The network setting in tweakui does not work without a password.
Before I get into detail about the Systems Policy Editor, Please tell me if each of your users has there own profile section in the registry, and if they have their own password. If not, then go to your Control Panel and open "Passwords". Choose Change Windows Password and make "Old Password" "New Password" and "Confirm new Password" Blank. Choose Ok. When you reboot, and the password dialog box appears, don't enter anything, simply hit Enter on your Keyboard.
That should do it. If that isn't an option for you then we can get into the System Policy Editor.
Avatar of markg1

ASKER

That's not quite what I wanted.  I am just sick of alway having to type my name in at the logon.  It always defaults to the last user.  I just wanted to make my logon the default.  Yes, we all have passwords. I don't know if we have separate profies.  In windows profiles we do.  Where in the registry do I look?  Whatever you come up with next you have the points.  You deserve them.
NOTE: This solution uses a registry merge - proceed at your own risk!
1. Create a text file called C:\WINDOWS\MyLogon.reg as follows:
      REGEDIT4

      [HKEY_LOCAL_MACHINE\Network\Logon]
      "username"="YourLoginName"
Replace YourLoginName with, uh, your login name!  This is EXACTLY as the file should appear - 4 lines, starting with REGEDIT 4, and ending with the return after the 4th quote mark.
2. Create a batch file called WINSTART.BAT with the following line:
      START /W C:\WINDOWS\REGEDIT.EXE /S C:\WINDOWS\MyLogon.reg
This will start REGEDIT, and merge MyLogin.reg into the registry after Windows starts up, but before the Logon screen appears.  The /S makes the reg file merge silently (without the obnoxious "The file has successfully been merged.." message).  START /W starts the program, and Waits for it to finish execution before proceeding.
Now, EVERYTIME Win95 starts, YourLoginName will be forced into the registry, and therefore should appear on the logon screen.
Let me know if it doesn't work - I'm pretty sure this is the registry entry, but I could be wrong - you may want to check your registry for what the setting is first, and export it as a backup before you do anything!

I think jerryd is on to something. Please let me know how that works.

Bud Allen
bwil@erinet.com
Avatar of markg1

ASKER

Sorry, this did not work.  It says that the regedit needed to run in windows.
Lots of good suggestions up there for only 50 points...
JerryD is on the right track.  However, for that answer to work, you'd have to restart your machine in Dos mode(sorry, command line mode) and then run regedit to patch the registry.  Another way to do this is to patch the registry from with in the win95 GUI when you logout.  There is a great little shareware program called WrapUp 95.  This allows you to have a "shutdown" folder that works at shut down just like the startup folder works at start up.  In this folder, you'd have the login.reg file that JerryD was talking about.  So, you'd do something along these lines:

1)  Download WrapUp95 from this url http://ourworld.compuserve.com/homepages/NIFTY_TOOLS/wrapup.zip   And install it.
2) Create a login.reg file in your shutdown folder with the following entry:
     REGEDIT4
     [HKEY_LOCAL_MACHINE\Network\Logon]
     "username"="YourLoginName"
3) That should do it.
Now, whenever anyone logs out of win95, the registry will be patched with your user name.
Avatar of markg1

ASKER

I must say this solution works the best so far.  My problem now is that I have to shut down twice.  It first brings up that the edit merged correctly.  You then have to shut down again.  Is there a way to make the "regedit successful" not come up.
Yes, there is a way to get rid of this...make a shortcut that has a command line like this:
c:\windows\regedit /s c:\path\to\regfile\file.reg
Then, put this into your shutdown group instead of the .REG file. That way, it will call regedit in the "silent" mode :)
Avatar of markg1

ASKER

That got rid of the regedit screen, but I still have to shutdown twice.  Any thoughts?
Avatar of markg1

ASKER

Adjusted points to 100
ASKER CERTIFIED SOLUTION
Avatar of mittalk033197
mittalk033197

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial