PDA

View Full Version : map as network drive - "Reconnect at Logon" doesn't


Neil Irving
April 20th 03, 01:03 AM
Small peer to peer network all running Windows XP pro.

Need to have one shared folder on one computer mapped as a network
drive on all other computers. One every computer I have mapped the
shared folder and checked the box for "Reconnect at Logon". On some
computers the connectio is re-established automatically at logon, on
others it isn't.

On computers where it dosen't reconnect at logon, you can go to "My
computer" and network drive appears with red cross superimposed.
Double clicking on the red cross reconnects the drive - but I don't
want to have to do this by hand!

Am I missing something?

Thorsten Matzner
April 20th 03, 06:44 PM
(Neil Irving) wrote:

>On computers where it dosen't reconnect at logon, you can go to "My
>computer" and network drive appears with red cross superimposed.
>Double clicking on the red cross reconnects the drive - but I don't
>want to have to do this by hand!

This is by design. You cannot change it. I find it annoying, too, BTW.

--
(tm)

Thorsten Matzner
April 20th 03, 06:44 PM
(Neil Irving) wrote:

>On computers where it dosen't reconnect at logon, you can go to "My
>computer" and network drive appears with red cross superimposed.
>Double clicking on the red cross reconnects the drive - but I don't
>want to have to do this by hand!

This is by design. You cannot change it. I find it annoying, too, BTW.

--
(tm)

CWatters
April 22nd 03, 10:37 AM
"Thorsten Matzner" > wrote in message
...
> (Neil Irving) wrote:
>
> >On computers where it dosen't reconnect at logon, you can go to "My
> >computer" and network drive appears with red cross superimposed.
> >Double clicking on the red cross reconnects the drive - but I don't
> >want to have to do this by hand!
>
> This is by design. You cannot change it. I find it annoying, too, BTW.


There must be a way simulate manual prodding of the drive icon without
actually having to do it manually. I recall seeing a program that used this
method to add scheduling capability to the old MS Backup program. It worked
by pretending to be a user. Messy but possible?

CWatters
April 22nd 03, 10:37 AM
"Thorsten Matzner" > wrote in message
...
> (Neil Irving) wrote:
>
> >On computers where it dosen't reconnect at logon, you can go to "My
> >computer" and network drive appears with red cross superimposed.
> >Double clicking on the red cross reconnects the drive - but I don't
> >want to have to do this by hand!
>
> This is by design. You cannot change it. I find it annoying, too, BTW.


There must be a way simulate manual prodding of the drive icon without
actually having to do it manually. I recall seeing a program that used this
method to add scheduling capability to the old MS Backup program. It worked
by pretending to be a user. Messy but possible?

Torgeir Bakken (MVP)
April 22nd 03, 11:53 AM
Neil Irving wrote:

> Small peer to peer network all running Windows XP pro.
>
> Need to have one shared folder on one computer mapped as a network
> drive on all other computers. One every computer I have mapped the
> shared folder and checked the box for "Reconnect at Logon". On some
> computers the connectio is re-established automatically at logon, on
> others it isn't.
>
> On computers where it dosen't reconnect at logon, you can go to "My
> computer" and network drive appears with red cross superimposed.
> Double clicking on the red cross reconnects the drive - but I don't
> want to have to do this by hand!
>
> Am I missing something?

Hi

Try to set the "Always wait for the network at computer startup and logon"
policy (it might make the startup/logon to take longer time):

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

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


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



--
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

Torgeir Bakken (MVP)
April 22nd 03, 11:53 AM
Neil Irving wrote:

> Small peer to peer network all running Windows XP pro.
>
> Need to have one shared folder on one computer mapped as a network
> drive on all other computers. One every computer I have mapped the
> shared folder and checked the box for "Reconnect at Logon". On some
> computers the connectio is re-established automatically at logon, on
> others it isn't.
>
> On computers where it dosen't reconnect at logon, you can go to "My
> computer" and network drive appears with red cross superimposed.
> Double clicking on the red cross reconnects the drive - but I don't
> want to have to do this by hand!
>
> Am I missing something?

Hi

Try to set the "Always wait for the network at computer startup and logon"
policy (it might make the startup/logon to take longer time):

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

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


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



--
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

Neil Irving
April 22nd 03, 02:08 PM
"Torgeir Bakken (MVP)" > wrote in message >...
> Try to set the "Always wait for the network at computer startup and logon"
> policy (it might make the startup/logon to take longer time):
>
> By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD) in this
> key:
>
> HKEY_LOCAL_MACHINE\Software
> \Policies\Microsoft\Windows NT
> \CurrentVersion\Winlogon\

I don't have that section in my registry ... it only goes as afar as
HKEY_LOCAL_MACHINE\Software
\Policies\Microsoft\Windows
and then offers
Installer, IPSec or Safer

Neil Irving
April 22nd 03, 02:08 PM
"Torgeir Bakken (MVP)" > wrote in message >...
> Try to set the "Always wait for the network at computer startup and logon"
> policy (it might make the startup/logon to take longer time):
>
> By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD) in this
> key:
>
> HKEY_LOCAL_MACHINE\Software
> \Policies\Microsoft\Windows NT
> \CurrentVersion\Winlogon\

I don't have that section in my registry ... it only goes as afar as
HKEY_LOCAL_MACHINE\Software
\Policies\Microsoft\Windows
and then offers
Installer, IPSec or Safer

Thorsten Matzner
April 22nd 03, 04:27 PM
"CWatters" > wrote:

>There must be a way simulate manual prodding of the drive icon without
>actually having to do it manually.

Well, a simple workaround may be to copy a small file from a local
drive to the remote drive(s) at each Windows start. This should
activate the connections.

--
(tm)

Thorsten Matzner
April 22nd 03, 04:27 PM
"CWatters" > wrote:

>There must be a way simulate manual prodding of the drive icon without
>actually having to do it manually.

Well, a simple workaround may be to copy a small file from a local
drive to the remote drive(s) at each Windows start. This should
activate the connections.

--
(tm)

Torgeir Bakken (MVP)
April 22nd 03, 06:13 PM
Neil Irving wrote:

> "Torgeir Bakken (MVP)" > wrote in message >...
> > Try to set the "Always wait for the network at computer startup and logon"
> > policy (it might make the startup/logon to take longer time):
> >
> > By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD) in this
> > key:
> >
> > HKEY_LOCAL_MACHINE\Software
> > \Policies\Microsoft\Windows NT
> > \CurrentVersion\Winlogon\
>
> I don't have that section in my registry ... it only goes as afar as
> HKEY_LOCAL_MACHINE\Software
> \Policies\Microsoft\Windows
> and then offers
> Installer, IPSec or Safer

Hi

Create the necessary keys, or put the vbscript below in a .vbs file and double-click on it.


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

Torgeir Bakken (MVP)
April 22nd 03, 06:13 PM
Neil Irving wrote:

> "Torgeir Bakken (MVP)" > wrote in message >...
> > Try to set the "Always wait for the network at computer startup and logon"
> > policy (it might make the startup/logon to take longer time):
> >
> > By registry edit; Set the value SyncForegroundPolicy to 1 (REG_DWORD) in this
> > key:
> >
> > HKEY_LOCAL_MACHINE\Software
> > \Policies\Microsoft\Windows NT
> > \CurrentVersion\Winlogon\
>
> I don't have that section in my registry ... it only goes as afar as
> HKEY_LOCAL_MACHINE\Software
> \Policies\Microsoft\Windows
> and then offers
> Installer, IPSec or Safer

Hi

Create the necessary keys, or put the vbscript below in a .vbs file and double-click on it.


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

Google