|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Map drive with batch file....I have a login batch file that runs when the user logs in. It maps a few
network drives and a network printer. The DOS window doesn't come up but the window that says Mapping Network Drive that has a cancel button does come up. Is there a way to stop that window from showing? I think that sometimes users may accidently hit the cancel button so they don't have these resources available. Hi
If you would show what is in the BAT file that does the mapping it might help. Jack (MS, MVP-Networking) Show quoteHide quote "Calvin" <Cal***@discussions.microsoft.com> wrote in message news:84FD53F5-69BB-48A2-BD45-90BC5B371E11@microsoft.com... >I have a login batch file that runs when the user logs in. It maps a few > network drives and a network printer. The DOS window doesn't come up but > the > window that says Mapping Network Drive that has a cancel button does come > up. > > Is there a way to stop that window from showing? I think that sometimes > users may accidently hit the cancel button so they don't have these > resources > available. No problem. My batch file is very simple...
(I did change the server/folder names and IPs of course) NET USE W: \\192.168.1.50\Share1 /persistent:NO NET USE V: \\192.168.1.50\Share2 /persistent:NO rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName Show quoteHide quote "Jack-MVP" wrote: > Hi > If you would show what is in the BAT file that does the mapping it might > help. > Jack (MS, MVP-Networking) > > "Calvin" <Cal***@discussions.microsoft.com> wrote in message > news:84FD53F5-69BB-48A2-BD45-90BC5B371E11@microsoft.com... > >I have a login batch file that runs when the user logs in. It maps a few > > network drives and a network printer. The DOS window doesn't come up but > > the > > window that says Mapping Network Drive that has a cancel button does come > > up. > > > > Is there a way to stop that window from showing? I think that sometimes > > users may accidently hit the cancel button so they don't have these > > resources > > available. > > Hi
Try to change the persistent to YES Jack (MS, MVP-Networking) Show quoteHide quote "Calvin" <Cal***@discussions.microsoft.com> wrote in message news:02EAAC21-E759-4D8D-A7BB-4B901080AB3D@microsoft.com... > No problem. My batch file is very simple... > > (I did change the server/folder names and IPs of course) > > NET USE W: \\192.168.1.50\Share1 /persistent:NO > NET USE V: \\192.168.1.50\Share2 /persistent:NO > > rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u > rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName > > > > "Jack-MVP" wrote: > >> Hi >> If you would show what is in the BAT file that does the mapping it might >> help. >> Jack (MS, MVP-Networking) >> >> "Calvin" <Cal***@discussions.microsoft.com> wrote in message >> news:84FD53F5-69BB-48A2-BD45-90BC5B371E11@microsoft.com... >> >I have a login batch file that runs when the user logs in. It maps a few >> > network drives and a network printer. The DOS window doesn't come up >> > but >> > the >> > window that says Mapping Network Drive that has a cancel button does >> > come >> > up. >> > >> > Is there a way to stop that window from showing? I think that sometimes >> > users may accidently hit the cancel button so they don't have these >> > resources >> > available. >> >> We don't want to use persistent YES in this environment. Besides when I do
run persistent YES it still shows that "Mapping Network Drive" window with the Cancel button. I am trying to get rid of that coming up on the user's screen altogether. Show quoteHide quote "Jack-MVP" wrote: > Hi > Try to change the persistent to YES > Jack (MS, MVP-Networking) > > "Calvin" <Cal***@discussions.microsoft.com> wrote in message > news:02EAAC21-E759-4D8D-A7BB-4B901080AB3D@microsoft.com... > > No problem. My batch file is very simple... > > > > (I did change the server/folder names and IPs of course) > > > > NET USE W: \\192.168.1.50\Share1 /persistent:NO > > NET USE V: \\192.168.1.50\Share2 /persistent:NO > > > > rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName /u > > rundll32 printui.dll,PrintUIEntry /in /n\\Server\PrinterName > > > > > > > > "Jack-MVP" wrote: > > > >> Hi > >> If you would show what is in the BAT file that does the mapping it might > >> help. > >> Jack (MS, MVP-Networking) > >> > >> "Calvin" <Cal***@discussions.microsoft.com> wrote in message > >> news:84FD53F5-69BB-48A2-BD45-90BC5B371E11@microsoft.com... > >> >I have a login batch file that runs when the user logs in. It maps a few > >> > network drives and a network printer. The DOS window doesn't come up > >> > but > >> > the > >> > window that says Mapping Network Drive that has a cancel button does > >> > come > >> > up. > >> > > >> > Is there a way to stop that window from showing? I think that sometimes > >> > users may accidently hit the cancel button so they don't have these > >> > resources > >> > available. > >> > >> > >
no internet or email connection
XP Pro Laptop - wireless @home, SBS2003 @ work Computers stopped sharing Can't connect to 1 web site Sharing files Win98 to XP??? XP can't see Vista Folder "Permission Error" Network Printer stopped working Connection Issue Suddenly cannot access network drive Question on port forwarding and Remote Desktop |
|||||||||||||||||||||||