Guest Kelly Armitage Posted October 20, 2007 Posted October 20, 2007 I have a question that should be simple yet I always have issues mapping drives using group policy. I connect to server 2003, joining the domain on a windows xp pro pc. On the server I have group policy set on the OU which contains my user. Under windows settings / logon I have a simple script to map a drive. the drive maps yet disconnects eventually requiring me to log off and on to re-run the script. (or mapping the drive manually) and i cant understand why such a simple thing is such an issue for me. the script file is called logon.bat and the batch file looks like this NET USE z: \\server01\archives$ /PERSISTENT:yes can anyone make any suggestions ? its driving me batty
Guest Mathieu CHATEAU Posted October 20, 2007 Posted October 20, 2007 Re: group policy drive mapping Hello, does the computer goes in sleep/standby mode ? Can windows disable the network card to save power ? Any eventlog ? -- Cordialement, Mathieu CHATEAU English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... >I have a question that should be simple yet I always have issues mapping > drives using group policy. > > I connect to server 2003, joining the domain on a windows xp pro pc. On > the > server I have group policy set on the OU which contains my user. Under > windows settings / logon I have a simple script to map a drive. the drive > maps yet disconnects eventually requiring me to log off and on to re-run > the > script. (or mapping the drive manually) and i cant understand why such a > simple thing is such an issue for me. > > the script file is called logon.bat and the batch file looks like this > > NET USE z: \\server01\archives$ /PERSISTENT:yes > > can anyone make any suggestions ? its driving me batty
Guest Kelly Armitage Posted October 20, 2007 Posted October 20, 2007 Re: group policy drive mapping thanks for the answer, i have figured it out, it was neither of those, while both were good suggestions..... i forgot for testing purposes, i had swapped the primary and secondary dns on the pc, putting my ISP's dns server first, and my dns server second, therefore unable to resolve "server01" apparently i also changed my tcp/ip settings on the pc to enable netbios over tcp/ip as I do not use dhcp.... so one of those corrected the problem.... but thanks for the help :) "Mathieu CHATEAU" wrote: > Hello, > > does the computer goes in sleep/standby mode ? > Can windows disable the network card to save power ? > Any eventlog ? > > -- > Cordialement, > Mathieu CHATEAU > English blog: http://lordoftheping.blogspot.com > French blog: http://www.lotp.fr > > > "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message > news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... > >I have a question that should be simple yet I always have issues mapping > > drives using group policy. > > > > I connect to server 2003, joining the domain on a windows xp pro pc. On > > the > > server I have group policy set on the OU which contains my user. Under > > windows settings / logon I have a simple script to map a drive. the drive > > maps yet disconnects eventually requiring me to log off and on to re-run > > the > > script. (or mapping the drive manually) and i cant understand why such a > > simple thing is such an issue for me. > > > > the script file is called logon.bat and the batch file looks like this > > > > NET USE z: \\server01\archives$ /PERSISTENT:yes > > > > can anyone make any suggestions ? its driving me batty > >
Guest Mathieu CHATEAU Posted October 21, 2007 Posted October 21, 2007 Re: group policy drive mapping When a computer is in an AD domain, it must only have DC as DNS, no isp one. Then you DC can foward external lookup to your ISP DNS. -- Cordialement, Mathieu CHATEAU English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message news:5FFCE11B-5D39-404E-9C57-377398714C22@microsoft.com... > thanks for the answer, i have figured it out, it was neither of those, > while > both were good suggestions..... > > i forgot for testing purposes, i had swapped the primary and secondary dns > on the pc, putting my ISP's dns server first, and my dns server second, > therefore unable to resolve "server01" apparently i also changed my tcp/ip > settings on the pc to enable netbios over tcp/ip as I do not use dhcp.... > so > one of those corrected the problem.... but thanks for the help :) > > "Mathieu CHATEAU" wrote: > >> Hello, >> >> does the computer goes in sleep/standby mode ? >> Can windows disable the network card to save power ? >> Any eventlog ? >> >> -- >> Cordialement, >> Mathieu CHATEAU >> English blog: http://lordoftheping.blogspot.com >> French blog: http://www.lotp.fr >> >> >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in >> message >> news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... >> >I have a question that should be simple yet I always have issues mapping >> > drives using group policy. >> > >> > I connect to server 2003, joining the domain on a windows xp pro pc. >> > On >> > the >> > server I have group policy set on the OU which contains my user. Under >> > windows settings / logon I have a simple script to map a drive. the >> > drive >> > maps yet disconnects eventually requiring me to log off and on to >> > re-run >> > the >> > script. (or mapping the drive manually) and i cant understand why such >> > a >> > simple thing is such an issue for me. >> > >> > the script file is called logon.bat and the batch file looks like this >> > >> > NET USE z: \\server01\archives$ /PERSISTENT:yes >> > >> > can anyone make any suggestions ? its driving me batty >> >>
Guest Kelly Armitage Posted October 21, 2007 Posted October 21, 2007 Re: group policy drive mapping ok... well maybe you can also help me out with the "same issue" so with the previous posts in mind, and me saying it all works (which it does) I do experience a small quirk which is more of a curiousity / annoyance than anything. The mapped drive in question (Z:) on my XP PC, maps fine, and works fine. However if I do not access it for a certain period of time, when I look in "my computer" it says Z: Disconnected Network Drive. Yet if I double click it to access, it lets me access it, and then the disconnected message dissapears. As I said it works, but I know that it does NOT do that at work (a different domain, similar setup) yet on my home domain, it is? Maybe you have some insight? Thanks :D "Mathieu CHATEAU" wrote: > When a computer is in an AD domain, it must only have DC as DNS, no isp one. > Then you DC can foward external lookup to your ISP DNS. > > -- > Cordialement, > Mathieu CHATEAU > English blog: http://lordoftheping.blogspot.com > French blog: http://www.lotp.fr > > > "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message > news:5FFCE11B-5D39-404E-9C57-377398714C22@microsoft.com... > > thanks for the answer, i have figured it out, it was neither of those, > > while > > both were good suggestions..... > > > > i forgot for testing purposes, i had swapped the primary and secondary dns > > on the pc, putting my ISP's dns server first, and my dns server second, > > therefore unable to resolve "server01" apparently i also changed my tcp/ip > > settings on the pc to enable netbios over tcp/ip as I do not use dhcp.... > > so > > one of those corrected the problem.... but thanks for the help :) > > > > "Mathieu CHATEAU" wrote: > > > >> Hello, > >> > >> does the computer goes in sleep/standby mode ? > >> Can windows disable the network card to save power ? > >> Any eventlog ? > >> > >> -- > >> Cordialement, > >> Mathieu CHATEAU > >> English blog: http://lordoftheping.blogspot.com > >> French blog: http://www.lotp.fr > >> > >> > >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in > >> message > >> news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... > >> >I have a question that should be simple yet I always have issues mapping > >> > drives using group policy. > >> > > >> > I connect to server 2003, joining the domain on a windows xp pro pc. > >> > On > >> > the > >> > server I have group policy set on the OU which contains my user. Under > >> > windows settings / logon I have a simple script to map a drive. the > >> > drive > >> > maps yet disconnects eventually requiring me to log off and on to > >> > re-run > >> > the > >> > script. (or mapping the drive manually) and i cant understand why such > >> > a > >> > simple thing is such an issue for me. > >> > > >> > the script file is called logon.bat and the batch file looks like this > >> > > >> > NET USE z: \\server01\archives$ /PERSISTENT:yes > >> > > >> > can anyone make any suggestions ? its driving me batty > >> > >> > >
Guest Kelly Armitage Posted October 21, 2007 Posted October 21, 2007 Re: group policy drive mapping i think i may have found the solution..... testing it now........ ( for my last post ) net config server /autodisconnect:1 "Mathieu CHATEAU" wrote: > When a computer is in an AD domain, it must only have DC as DNS, no isp one. > Then you DC can foward external lookup to your ISP DNS. > > -- > Cordialement, > Mathieu CHATEAU > English blog: http://lordoftheping.blogspot.com > French blog: http://www.lotp.fr > > > "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message > news:5FFCE11B-5D39-404E-9C57-377398714C22@microsoft.com... > > thanks for the answer, i have figured it out, it was neither of those, > > while > > both were good suggestions..... > > > > i forgot for testing purposes, i had swapped the primary and secondary dns > > on the pc, putting my ISP's dns server first, and my dns server second, > > therefore unable to resolve "server01" apparently i also changed my tcp/ip > > settings on the pc to enable netbios over tcp/ip as I do not use dhcp.... > > so > > one of those corrected the problem.... but thanks for the help :) > > > > "Mathieu CHATEAU" wrote: > > > >> Hello, > >> > >> does the computer goes in sleep/standby mode ? > >> Can windows disable the network card to save power ? > >> Any eventlog ? > >> > >> -- > >> Cordialement, > >> Mathieu CHATEAU > >> English blog: http://lordoftheping.blogspot.com > >> French blog: http://www.lotp.fr > >> > >> > >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in > >> message > >> news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... > >> >I have a question that should be simple yet I always have issues mapping > >> > drives using group policy. > >> > > >> > I connect to server 2003, joining the domain on a windows xp pro pc. > >> > On > >> > the > >> > server I have group policy set on the OU which contains my user. Under > >> > windows settings / logon I have a simple script to map a drive. the > >> > drive > >> > maps yet disconnects eventually requiring me to log off and on to > >> > re-run > >> > the > >> > script. (or mapping the drive manually) and i cant understand why such > >> > a > >> > simple thing is such an issue for me. > >> > > >> > the script file is called logon.bat and the batch file looks like this > >> > > >> > NET USE z: \\server01\archives$ /PERSISTENT:yes > >> > > >> > can anyone make any suggestions ? its driving me batty > >> > >> > >
Guest Mick Montalto Posted October 22, 2007 Posted October 22, 2007 Re: group policy drive mapping Kelly, This is not a problem and is a normal part of the Windows 2000 & beyond computing culture. Windows by default will disconnect your drives but retain the mapping to reduce network traffic. Please keep in mind that if you do not see a drive mapped that you know should be mapped, this is a different issue. Just sleep well knowing that this is a normal behavior in the Windows environment and you WANT this behavior to happen. "Kelly Armitage" wrote: > ok... well maybe you can also help me out with the "same issue" > > so with the previous posts in mind, and me saying it all works (which it > does) I do experience a small quirk which is more of a curiousity / annoyance > than anything. The mapped drive in question (Z:) on my XP PC, maps fine, and > works fine. However if I do not access it for a certain period of time, when > I look in "my computer" it says Z: Disconnected Network Drive. Yet if I > double click it to access, it lets me access it, and then the disconnected > message dissapears. As I said it works, but I know that it does NOT do that > at work (a different domain, similar setup) yet on my home domain, it is? > Maybe you have some insight? > > Thanks :D > > "Mathieu CHATEAU" wrote: > > > When a computer is in an AD domain, it must only have DC as DNS, no isp one. > > Then you DC can foward external lookup to your ISP DNS. > > > > -- > > Cordialement, > > Mathieu CHATEAU > > English blog: http://lordoftheping.blogspot.com > > French blog: http://www.lotp.fr > > > > > > "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message > > news:5FFCE11B-5D39-404E-9C57-377398714C22@microsoft.com... > > > thanks for the answer, i have figured it out, it was neither of those, > > > while > > > both were good suggestions..... > > > > > > i forgot for testing purposes, i had swapped the primary and secondary dns > > > on the pc, putting my ISP's dns server first, and my dns server second, > > > therefore unable to resolve "server01" apparently i also changed my tcp/ip > > > settings on the pc to enable netbios over tcp/ip as I do not use dhcp.... > > > so > > > one of those corrected the problem.... but thanks for the help :) > > > > > > "Mathieu CHATEAU" wrote: > > > > > >> Hello, > > >> > > >> does the computer goes in sleep/standby mode ? > > >> Can windows disable the network card to save power ? > > >> Any eventlog ? > > >> > > >> -- > > >> Cordialement, > > >> Mathieu CHATEAU > > >> English blog: http://lordoftheping.blogspot.com > > >> French blog: http://www.lotp.fr > > >> > > >> > > >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in > > >> message > > >> news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... > > >> >I have a question that should be simple yet I always have issues mapping > > >> > drives using group policy. > > >> > > > >> > I connect to server 2003, joining the domain on a windows xp pro pc. > > >> > On > > >> > the > > >> > server I have group policy set on the OU which contains my user. Under > > >> > windows settings / logon I have a simple script to map a drive. the > > >> > drive > > >> > maps yet disconnects eventually requiring me to log off and on to > > >> > re-run > > >> > the > > >> > script. (or mapping the drive manually) and i cant understand why such > > >> > a > > >> > simple thing is such an issue for me. > > >> > > > >> > the script file is called logon.bat and the batch file looks like this > > >> > > > >> > NET USE z: \\server01\archives$ /PERSISTENT:yes > > >> > > > >> > can anyone make any suggestions ? its driving me batty > > >> > > >> > > > >
Guest Kelly Armitage Posted October 23, 2007 Posted October 23, 2007 Re: group policy drive mapping well you might call it "normal" and i call it potentially problematic, IE running apps across shared drives and having to initiate the connection each time before hand........ also, if its "normal" as you say, why does it not do it on my work domain, and why are there so many "fixes" for it right on microsofts site? nevermind, thanks for the effort ill find my own solution..... ps. if u cant respond with something other than "sleep well" your response is a waste of both of our time. "Mick Montalto" wrote: > Kelly, > > This is not a problem and is a normal part of the Windows 2000 & beyond > computing culture. Windows by default will disconnect your drives but retain > the mapping to reduce network traffic. Please keep in mind that if you do > not see a drive mapped that you know should be mapped, this is a different > issue. Just sleep well knowing that this is a normal behavior in the Windows > environment and you WANT this behavior to happen. > > "Kelly Armitage" wrote: > > > ok... well maybe you can also help me out with the "same issue" > > > > so with the previous posts in mind, and me saying it all works (which it > > does) I do experience a small quirk which is more of a curiousity / annoyance > > than anything. The mapped drive in question (Z:) on my XP PC, maps fine, and > > works fine. However if I do not access it for a certain period of time, when > > I look in "my computer" it says Z: Disconnected Network Drive. Yet if I > > double click it to access, it lets me access it, and then the disconnected > > message dissapears. As I said it works, but I know that it does NOT do that > > at work (a different domain, similar setup) yet on my home domain, it is? > > Maybe you have some insight? > > > > Thanks :D > > > > "Mathieu CHATEAU" wrote: > > > > > When a computer is in an AD domain, it must only have DC as DNS, no isp one. > > > Then you DC can foward external lookup to your ISP DNS. > > > > > > -- > > > Cordialement, > > > Mathieu CHATEAU > > > English blog: http://lordoftheping.blogspot.com > > > French blog: http://www.lotp.fr > > > > > > > > > "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message > > > news:5FFCE11B-5D39-404E-9C57-377398714C22@microsoft.com... > > > > thanks for the answer, i have figured it out, it was neither of those, > > > > while > > > > both were good suggestions..... > > > > > > > > i forgot for testing purposes, i had swapped the primary and secondary dns > > > > on the pc, putting my ISP's dns server first, and my dns server second, > > > > therefore unable to resolve "server01" apparently i also changed my tcp/ip > > > > settings on the pc to enable netbios over tcp/ip as I do not use dhcp.... > > > > so > > > > one of those corrected the problem.... but thanks for the help :) > > > > > > > > "Mathieu CHATEAU" wrote: > > > > > > > >> Hello, > > > >> > > > >> does the computer goes in sleep/standby mode ? > > > >> Can windows disable the network card to save power ? > > > >> Any eventlog ? > > > >> > > > >> -- > > > >> Cordialement, > > > >> Mathieu CHATEAU > > > >> English blog: http://lordoftheping.blogspot.com > > > >> French blog: http://www.lotp.fr > > > >> > > > >> > > > >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in > > > >> message > > > >> news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... > > > >> >I have a question that should be simple yet I always have issues mapping > > > >> > drives using group policy. > > > >> > > > > >> > I connect to server 2003, joining the domain on a windows xp pro pc. > > > >> > On > > > >> > the > > > >> > server I have group policy set on the OU which contains my user. Under > > > >> > windows settings / logon I have a simple script to map a drive. the > > > >> > drive > > > >> > maps yet disconnects eventually requiring me to log off and on to > > > >> > re-run > > > >> > the > > > >> > script. (or mapping the drive manually) and i cant understand why such > > > >> > a > > > >> > simple thing is such an issue for me. > > > >> > > > > >> > the script file is called logon.bat and the batch file looks like this > > > >> > > > > >> > NET USE z: \\server01\archives$ /PERSISTENT:yes > > > >> > > > > >> > can anyone make any suggestions ? its driving me batty > > > >> > > > >> > > > > > >
Guest Mathieu CHATEAU Posted October 23, 2007 Posted October 23, 2007 Re: group policy drive mapping It's not 1 but -1 Mapped Drive Connection to Network Share May Be Lost http://support.microsoft.com/kb/297684/en-us net config server /autodisconnect:-1 -- Cordialement, Mathieu CHATEAU English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message news:79205C95-6B42-45AC-934C-084A5699BBCE@microsoft.com... >i think i may have found the solution..... testing it now........ ( for my > last post ) > > net config server /autodisconnect:1 > > "Mathieu CHATEAU" wrote: > >> When a computer is in an AD domain, it must only have DC as DNS, no isp >> one. >> Then you DC can foward external lookup to your ISP DNS. >> >> -- >> Cordialement, >> Mathieu CHATEAU >> English blog: http://lordoftheping.blogspot.com >> French blog: http://www.lotp.fr >> >> >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in >> message >> news:5FFCE11B-5D39-404E-9C57-377398714C22@microsoft.com... >> > thanks for the answer, i have figured it out, it was neither of those, >> > while >> > both were good suggestions..... >> > >> > i forgot for testing purposes, i had swapped the primary and secondary >> > dns >> > on the pc, putting my ISP's dns server first, and my dns server second, >> > therefore unable to resolve "server01" apparently i also changed my >> > tcp/ip >> > settings on the pc to enable netbios over tcp/ip as I do not use >> > dhcp.... >> > so >> > one of those corrected the problem.... but thanks for the help :) >> > >> > "Mathieu CHATEAU" wrote: >> > >> >> Hello, >> >> >> >> does the computer goes in sleep/standby mode ? >> >> Can windows disable the network card to save power ? >> >> Any eventlog ? >> >> >> >> -- >> >> Cordialement, >> >> Mathieu CHATEAU >> >> English blog: http://lordoftheping.blogspot.com >> >> French blog: http://www.lotp.fr >> >> >> >> >> >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in >> >> message >> >> news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... >> >> >I have a question that should be simple yet I always have issues >> >> >mapping >> >> > drives using group policy. >> >> > >> >> > I connect to server 2003, joining the domain on a windows xp pro pc. >> >> > On >> >> > the >> >> > server I have group policy set on the OU which contains my user. >> >> > Under >> >> > windows settings / logon I have a simple script to map a drive. the >> >> > drive >> >> > maps yet disconnects eventually requiring me to log off and on to >> >> > re-run >> >> > the >> >> > script. (or mapping the drive manually) and i cant understand why >> >> > such >> >> > a >> >> > simple thing is such an issue for me. >> >> > >> >> > the script file is called logon.bat and the batch file looks like >> >> > this >> >> > >> >> > NET USE z: \\server01\archives$ /PERSISTENT:yes >> >> > >> >> > can anyone make any suggestions ? its driving me batty >> >> >> >> >> >>
Guest Mick Montalto Posted October 23, 2007 Posted October 23, 2007 Re: group policy drive mapping Like I said, and refrencened below, this is the default behavior of Windows. Next time I'd apprecaite it if you weren't so abrassive to someone whom was just trying to be of assistance to you. http://support.microsoft.com/default.aspx/kb/297684/en-us CAUSE This behavior occurs because Windows NT Server 4.0, Windows 2000 Server, and Windows Server 2003 can drop idle connections after a specified time-out period (by default, 15 minutes) to prevent wasting server resources on unused sessions. The connection can be re-established very quickly, if required "Kelly Armitage" wrote: > i think i may have found the solution..... testing it now........ ( for my > last post ) > > net config server /autodisconnect:1 > > "Mathieu CHATEAU" wrote: > > > When a computer is in an AD domain, it must only have DC as DNS, no isp one. > > Then you DC can foward external lookup to your ISP DNS. > > > > -- > > Cordialement, > > Mathieu CHATEAU > > English blog: http://lordoftheping.blogspot.com > > French blog: http://www.lotp.fr > > > > > > "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in message > > news:5FFCE11B-5D39-404E-9C57-377398714C22@microsoft.com... > > > thanks for the answer, i have figured it out, it was neither of those, > > > while > > > both were good suggestions..... > > > > > > i forgot for testing purposes, i had swapped the primary and secondary dns > > > on the pc, putting my ISP's dns server first, and my dns server second, > > > therefore unable to resolve "server01" apparently i also changed my tcp/ip > > > settings on the pc to enable netbios over tcp/ip as I do not use dhcp.... > > > so > > > one of those corrected the problem.... but thanks for the help :) > > > > > > "Mathieu CHATEAU" wrote: > > > > > >> Hello, > > >> > > >> does the computer goes in sleep/standby mode ? > > >> Can windows disable the network card to save power ? > > >> Any eventlog ? > > >> > > >> -- > > >> Cordialement, > > >> Mathieu CHATEAU > > >> English blog: http://lordoftheping.blogspot.com > > >> French blog: http://www.lotp.fr > > >> > > >> > > >> "Kelly Armitage" <KellyArmitage@discussions.microsoft.com> wrote in > > >> message > > >> news:9CEA8B95-337F-4171-876A-5581D9E6168A@microsoft.com... > > >> >I have a question that should be simple yet I always have issues mapping > > >> > drives using group policy. > > >> > > > >> > I connect to server 2003, joining the domain on a windows xp pro pc. > > >> > On > > >> > the > > >> > server I have group policy set on the OU which contains my user. Under > > >> > windows settings / logon I have a simple script to map a drive. the > > >> > drive > > >> > maps yet disconnects eventually requiring me to log off and on to > > >> > re-run > > >> > the > > >> > script. (or mapping the drive manually) and i cant understand why such > > >> > a > > >> > simple thing is such an issue for me. > > >> > > > >> > the script file is called logon.bat and the batch file looks like this > > >> > > > >> > NET USE z: \\server01\archives$ /PERSISTENT:yes > > >> > > > >> > can anyone make any suggestions ? its driving me batty > > >> > > >> > > > >
Recommended Posts