PC Review


Reply
Thread Tools Rate Thread

Always display a fix user name in the Log On to Windows dialog box?

 
 
@(none)
Guest
Posts: n/a
 
      5th Mar 2004
Can I change the local policy to always display a fix user name (say,
"visitor") in the Log On to Windows dialog box?

 
Reply With Quote
 
 
 
 
Sharon F
Guest
Posts: n/a
 
      5th Mar 2004
On Fri, 05 Mar 2004 05:02:59 -0500, @(none) wrote:

> Can I change the local policy to always display a fix user name (say,
> "visitor") in the Log On to Windows dialog box?


The obvious thing to do is to create an account named Visitor. Place it
into the user group that you want it in. Setup XP to use the Welcome
screen. That account name will be added to the Welcome screen.

Tweakui for XP can be used to control what user accounts will appear or not
appear on the welcome screen. TweakUI is one of the Power toys for XP. This
URL links to the version that is *only* for XP with SP1:
http://www.microsoft.com/windowsxp/p.../powertoys.asp

If you do not have SP1, the earlier version can be found at:
http://download.microsoft.com/downlo...ertoySetup.exe
--
Sharon F
MS MVP - Windows XP Shell/User
 
Reply With Quote
 
nbdy9(nospam)
Guest
Posts: n/a
 
      6th Mar 2004
Sharon F wrote:
> On Fri, 05 Mar 2004 05:02:59 -0500, @(none) wrote:
>
>
>>Can I change the local policy to always display a fix user name (say,
>>"visitor") in the Log On to Windows dialog box?

>
>
> The obvious thing to do is to create an account named Visitor. Place it
> into the user group that you want it in. Setup XP to use the Welcome
> screen. That account name will be added to the Welcome screen.
>
> Tweakui for XP can be used to control what user accounts will appear or not
> appear on the welcome screen. TweakUI is one of the Power toys for XP. This
> URL links to the version that is *only* for XP with SP1:
> http://www.microsoft.com/windowsxp/p.../powertoys.asp
>
> If you do not have SP1, the earlier version can be found at:
> http://download.microsoft.com/downlo...ertoySetup.exe


Thanks, however, i cannot use the welcome screen because I must install
the client for Netware. Any other way to do it?
 
Reply With Quote
 
Sharon F
Guest
Posts: n/a
 
      6th Mar 2004
On Sat, 06 Mar 2004 12:35:19 -0500, nbdy9(nospam) wrote:

> Sharon F wrote:
>> On Fri, 05 Mar 2004 05:02:59 -0500, @(none) wrote:
>>
>>
>>>Can I change the local policy to always display a fix user name (say,
>>>"visitor") in the Log On to Windows dialog box?

>>
>>
>> The obvious thing to do is to create an account named Visitor. Place it
>> into the user group that you want it in. Setup XP to use the Welcome
>> screen. That account name will be added to the Welcome screen.
>>
>> Tweakui for XP can be used to control what user accounts will appear or not
>> appear on the welcome screen. TweakUI is one of the Power toys for XP. This
>> URL links to the version that is *only* for XP with SP1:
>> http://www.microsoft.com/windowsxp/p.../powertoys.asp
>>
>> If you do not have SP1, the earlier version can be found at:
>> http://download.microsoft.com/downlo...ertoySetup.exe

>
> Thanks, however, i cannot use the welcome screen because I must install
> the client for Netware. Any other way to do it?


Netware forces the use of the old Win2000 style logon prompt. No way around
that. There is a setting in Local Security Settings (secpol.msc) that can
be used to display the name of the last user that was logged on: Local
Policies> Security Options> Interactive Logon: Do not display last user
name

That's about as close as you can get using the classic logon screen and if
there are other users on this computer, it's an option that will not fit
your needs.

--
Sharon F
MS MVP - Windows XP Shell/User
 
Reply With Quote
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      6th Mar 2004
none wrote:

> Can I change the local policy to always display a fix user name (say,
> "visitor") in the Log On to Windows dialog box?


Hi

This *might* work if you are running WinXP Pro:

Create e.g. a computer startup script that writes "visitor" to the
registry value "DefaultUserName" under the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

This is the value that is display by the system in the logon box.


This should work at least:

Alternatively, if everybody else that is logging on is local
administrators (the user "visitor" does not need to have it),
you can from the Run key in registry launch a vbscript or run
'regedit.exe /s "<some reg file>"' to import a registry file
that sets this value. This way you avoid configuring a startup
script.


Here is a vbscript that will set this value:

Set oShell = CreateObject("WScript.Shell")
On Error Resume Next
oShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\" _
& "CurrentVersion\Winlogon\DefaultUserName", "visitor", "REG_SZ"
On Error Goto 0


How to enable computer startup script for Win2k/WinXP Pro (it will
run under the system context that has administrator rights):

From the Start menu Run dialog, open: gpedit.msc

Then, under "Computer Configuration",
open Windows Settings\Scripts (Startup/Shutdown)
(double click on "Startup", Add...).


More info in Tip 2147 in the 'NT Reg Hacks' at http://www.jsiinc.com

JSI Tip 2147. Windows 2000 Startup/Shutdown, Logon/Logoff scripts?
http://www.jsiinc.com/sube/tip2100/rh2147.htm


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/com...r/default.mspx


 
Reply With Quote
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      6th Mar 2004
"Torgeir Bakken (MVP)" wrote:

> none wrote:
> >
> > Can I change the local policy to always display a fix user name (say,
> > "visitor") in the Log On to Windows dialog box?

>
> This *might* work if you are running WinXP Pro:
>
> Create e.g. a computer startup script that writes "visitor" to the
> registry value "DefaultUserName" under the key
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
>
> This is the value that is display by the system in the logon box.
>
> This should work at least:
>
> Alternatively, if everybody else that is logging on is local
> administrators (the user "visitor" does not need to have it),
> you can from the Run key in registry launch a vbscript or run
> 'regedit.exe /s "<some reg file>"' to import a registry file
> that sets this value. This way you avoid configuring a startup
> script.


Note that if you can use the Run key method in registry, this
procedure will work for WinXP Home as well, is is the computer
startup script part that is not available for WinXP Home.


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/com...r/default.mspx


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you display the set password dialog for a given user? =?Utf-8?B?Q3lydXM=?= Windows XP Security 2 16th Jun 2005 09:13 PM
Unable to display the user selection dialog. Maziar Aflatoun Microsoft Windows 2000 Advanced Server 1 7th May 2004 02:31 PM
Unable to display user dialog Chad Microsoft Windows 2000 Group Policy 0 20th Nov 2003 12:53 AM
Unable to display the user selection dialog Harm Microsoft Windows 2000 Networking 0 25th Oct 2003 07:44 PM
unable to display the user selection dialog AHMAD Microsoft Windows 2000 Security 1 29th Sep 2003 12:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:33 AM.