XP request password again during login to domain
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
XP request password again during login to domain

 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming
Author Message
Calvin
Guest





Posted: Tue Dec 28, 2004 9:52 am    Post subject: XP request password again during login to domain Reply with quote

Hi,

Is someone have experience about XP login to domain and request the password
again during running login script drive mapping ?
Note : The login script running on Win2k Pro is no problem. It only happen
on XP .

B.rg
Calvin
Back to top
Al Dunbar [MS-MVP]
Guest





Posted: Tue Dec 28, 2004 11:17 pm    Post subject: Re: XP request password again during login to domain Reply with quote

"Calvin" <mshohoho888@hotmail.com> wrote in message
news:OzLeoCJ7EHA.2592@TK2MSFTNGP09.phx.gbl...
Quote:
Hi,

Is someone have experience about XP login to domain and request the
password
again during running login script drive mapping ?
Note : The login script running on Win2k Pro is no problem. It only happen
on XP .

There is a number of things that could be happening here. Could you post a
sample of your logon script?

/Al
Back to top
Calvin
Guest





Posted: Wed Dec 29, 2004 3:48 pm    Post subject: Re: XP request password again during login to domain Reply with quote

Our Syntax as below:
net use lpt1 \\fileserver\printerx
The password is invalid for \\fileserver\printerx
Enter the user name for 'fileserver':
Enter the password for fileserver:

And then error message will show:
System error 5 has occurred.
Access is denied.

However, I'm sure that we have security right on it .

B.rg
Calvin

"Al Dunbar [MS-MVP]" <alan-no-drub-spam@hotmail.com> wrote in message
news:ec0ETEQ7EHA.4040@TK2MSFTNGP14.phx.gbl...
Quote:

"Calvin" <mshohoho888@hotmail.com> wrote in message
news:OzLeoCJ7EHA.2592@TK2MSFTNGP09.phx.gbl...
Hi,

Is someone have experience about XP login to domain and request the
password
again during running login script drive mapping ?
Note : The login script running on Win2k Pro is no problem. It only
happen
on XP .

There is a number of things that could be happening here. Could you post a
sample of your logon script?

/Al

Back to top
Torgeir Bakken (MVP)
Guest





Posted: Fri Dec 31, 2004 12:43 am    Post subject: Re: XP request password again during login to domain Reply with quote

Calvin wrote:

Quote:
Hi,

Is someone have experience about XP login to domain and request the password
again during running login script drive mapping ?
Note : The login script running on Win2k Pro is no problem. It only happen
on XP .
Hi


This might be relevant:

Description of the Windows XP Professional Fast Logon Optimization Feature
http://support.microsoft.com/default.aspx?scid=kb;EN-US;305293

Scripts May Not Run Before Windows Explorer Starts Even Though
the "Run Logon Scripts Synchronously" Setting is Enabled
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304970


You can suppress this behavior (set it back to how Win2k behaves):

With Group Policy:
Computer Configuration\Administrative Templates\System\Logon
\Always wait for the network at computer startup and logon


By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD) in
this key:

HKEY_LOCAL_MACHINE\Software
\Policies\Microsoft\Windows NT
\CurrentVersion\Winlogon\


With a VBScript:

Set oShell = CreateObject("WScript.Shell")
sRegValue = "HKLM\Software\Policies\Microsoft\Windows NT\" _
& "CurrentVersion\Winlogon\SyncForegroundPolicy"

oShell.RegWrite sRegValue, 1, "REG_DWORD"

MsgBox "Please reboot the computer"



--
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/scriptcenter/default.mspx
Back to top
Calvin
Guest





Posted: Fri Dec 31, 2004 2:32 pm    Post subject: Re: XP request password again during login to domain Reply with quote

Hi,

I have try on this .
However , it still have the same problem . The print server is our domain
member server.


script command like below :
net use lpt1 \\fileserver\printerx

then it show invalid password and ask for user name,password :
The password is invalid for \\fileserver\printerx
Enter the user name for 'fileserver':
Enter the password for fileserver:

And then error message will showed (I have already try login as domain
administrator) :
System error 5 has occurred.
Access is denied.

B.rg
Calvin


"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:OXAf99p7EHA.2196@TK2MSFTNGP14.phx.gbl...
Quote:
Calvin wrote:

Hi,

Is someone have experience about XP login to domain and request the
password again during running login script drive mapping ?
Note : The login script running on Win2k Pro is no problem. It only
happen on XP .
Hi

This might be relevant:

Description of the Windows XP Professional Fast Logon Optimization Feature
http://support.microsoft.com/default.aspx?scid=kb;EN-US;305293

Scripts May Not Run Before Windows Explorer Starts Even Though
the "Run Logon Scripts Synchronously" Setting is Enabled
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304970


You can suppress this behavior (set it back to how Win2k behaves):

With Group Policy:
Computer Configuration\Administrative Templates\System\Logon
\Always wait for the network at computer startup and logon


By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD) in
this key:

HKEY_LOCAL_MACHINE\Software
\Policies\Microsoft\Windows NT
\CurrentVersion\Winlogon\


With a VBScript:

Set oShell = CreateObject("WScript.Shell")
sRegValue = "HKLM\Software\Policies\Microsoft\Windows NT\" _
& "CurrentVersion\Winlogon\SyncForegroundPolicy"

oShell.RegWrite sRegValue, 1, "REG_DWORD"

MsgBox "Please reboot the computer"



--
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/scriptcenter/default.mspx
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB