Networking Forums

Networking Forums > Computer Networking > Windows Networking > Auto mapping not working

Reply
Thread Tools Display Modes

Auto mapping not working

 
 
2Sweet
Guest
Posts: n/a

 
      09-07-2007, 03:54 AM
I have a standalone server need to share a folder to some workstations
(domain member). I have created a bat file with a command "NET USE W:
\\10.10.20.10\in_folder /YES >nul" in the Group Policy. When domain users
login to the their Windows XP workstations, it takes very long for it to
bootup completely and the map drive did not appearred in the "My Computer".
But when i manually enter the command in the Command Prompt, it works!


 
Reply With Quote
 
 
 
 
Meinolf Weber
Guest
Posts: n/a

 
      09-07-2007, 03:22 PM
Hello 2Sweet,

Long bootup times often has DNS as problem or some policies are slowing down
the system. Please post an ipconfig /all from your DNS server and one client.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

> I have a standalone server need to share a folder to some workstations
> (domain member). I have created a bat file with a command "NET USE W:
> \\10.10.20.10\in_folder /YES >nul" in the Group Policy. When domain
> users login to the their Windows XP workstations, it takes very long
> for it to bootup completely and the map drive did not appearred in the
> "My Computer". But when i manually enter the command in the Command
> Prompt, it works!
>



 
Reply With Quote
 
Robert L [MVP - Networking]
Guest
Posts: n/a

 
      09-07-2007, 03:25 PM
Any errors in the Event Viewer? Or check if the policy apply to the computer or user. This link may help,

How to check what policy settings are in effect.
http://www.howtonetworking.com/server/grouppolicy.htm

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
"2Sweet" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
I have a standalone server need to share a folder to some workstations
(domain member). I have created a bat file with a command "NET USE W:
\\10.10.20.10\in_folder /YES >nul" in the Group Policy. When domain users
login to the their Windows XP workstations, it takes very long for it to
bootup completely and the map drive did not appearred in the "My Computer".
But when i manually enter the command in the Command Prompt, it works!


 
Reply With Quote
 
2Sweet
Guest
Posts: n/a

 
      09-07-2007, 04:08 PM
If i removed the command line "NET USE W: \\10.10.20.10\in_folder /YES >nul"
in the bat file, it has no problem bootup.
But i can manually map the drive in the command prompt.

"Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
news:(E-Mail Removed) .com...
> Hello 2Sweet,
>
> Long bootup times often has DNS as problem or some policies are slowing
> down the system. Please post an ipconfig /all from your DNS server and one
> client.
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and
> confers no rights.
>
>> I have a standalone server need to share a folder to some workstations
>> (domain member). I have created a bat file with a command "NET USE W:
>> \\10.10.20.10\in_folder /YES >nul" in the Group Policy. When domain
>> users login to the their Windows XP workstations, it takes very long
>> for it to bootup completely and the map drive did not appearred in the
>> "My Computer". But when i manually enter the command in the Command
>> Prompt, it works!
>>

>
>



 
Reply With Quote
 
Meinolf Weber
Guest
Posts: n/a

 
      09-07-2007, 04:41 PM
Hello 2Sweet,

If i check the net use command i can not find the option /YES

What parameter did you use for /YES >nul

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

> If i removed the command line "NET USE W: \\10.10.20.10\in_folder /YES
> >nul"

> in the bat file, it has no problem bootup.
> But i can manually map the drive in the command prompt.
> "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
> news:(E-Mail Removed) .com...
>
>> Hello 2Sweet,
>>
>> Long bootup times often has DNS as problem or some policies are
>> slowing down the system. Please post an ipconfig /all from your DNS
>> server and one client.
>>
>> Best regards
>>
>> Meinolf Weber
>> Disclaimer: This posting is provided "AS IS" with no warranties, and
>> confers no rights.
>>> I have a standalone server need to share a folder to some
>>> workstations (domain member). I have created a bat file with a
>>> command "NET USE W: \\10.10.20.10\in_folder /YES >nul" in the Group
>>> Policy. When domain users login to the their Windows XP
>>> workstations, it takes very long for it to bootup completely and the
>>> map drive did not appearred in the "My Computer". But when i
>>> manually enter the command in the Command Prompt, it works!
>>>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      09-07-2007, 07:04 PM
Put the command in a separate Bat file.
Create a shortcut to the Bat file with the Properties of the Windows Type
set to Minimized and place the shortcut in the "Startup" folder of the Start
Menu in the "All Users" Profile.

As long as the current User logging in has the proper permissions to
\\10.10.20.10\in_folder it should work fine.
--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------

Microsoft ISA Server Partners: Partner Hardware Solutions
http://www.microsoft.com/forefront/e...epartners.mspx
-----------------------------------------------------
"2Sweet" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If i removed the command line "NET USE W: \\10.10.20.10\in_folder /YES
> >nul" in the bat file, it has no problem bootup.

> But i can manually map the drive in the command prompt.
>
> "Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
> news:(E-Mail Removed) .com...
>> Hello 2Sweet,
>>
>> Long bootup times often has DNS as problem or some policies are slowing
>> down the system. Please post an ipconfig /all from your DNS server and
>> one client.
>>
>> Best regards
>>
>> Meinolf Weber
>> Disclaimer: This posting is provided "AS IS" with no warranties, and
>> confers no rights.
>>
>>> I have a standalone server need to share a folder to some workstations
>>> (domain member). I have created a bat file with a command "NET USE W:
>>> \\10.10.20.10\in_folder /YES >nul" in the Group Policy. When domain
>>> users login to the their Windows XP workstations, it takes very long
>>> for it to bootup completely and the map drive did not appearred in the
>>> "My Computer". But when i manually enter the command in the Command
>>> Prompt, it works!
>>>

>>
>>

>
>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      09-07-2007, 07:20 PM
You may want to prefix it with a Delete command on the prevoius line to
clean out any previous mapping for the same letter. It will keep the NET
USE command from complaining so much.


NET USE W: /DELETE
NET USE W:\\10.10.20.10\in_folder /YES >nul



--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/IS...cessRules.html

Troubleshooting Client Authentication on Access Rules in ISA Server 2004
http://download.microsoft.com/downlo...7/ts_rules.doc

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp

Microsoft ISA Server Partners: Partner Hardware Solutions
http://www.microsoft.com/forefront/e...epartners.mspx
-----------------------------------------------------


 
Reply With Quote
 
2Sweet
Guest
Posts: n/a

 
      09-10-2007, 03:28 AM
Is it necessary to have the command line "NET USE W: /DELETE"?
What is the purpose of the command "/yes" and ">nul"?


"Phillip Windell" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> You may want to prefix it with a Delete command on the prevoius line to
> clean out any previous mapping for the same letter. It will keep the NET
> USE command from complaining so much.
>
>
> NET USE W: /DELETE
> NET USE W:\\10.10.20.10\in_folder /YES >nul
>
>
>
> --
> Phillip Windell
> www.wandtv.com
>
> The views expressed, are my own and not those of my employer, or
> Microsoft, or anyone else associated with me, including my cats.
> -----------------------------------------------------
> Understanding the ISA 2004 Access Rule Processing
> http://www.isaserver.org/articles/IS...cessRules.html
>
> Troubleshooting Client Authentication on Access Rules in ISA Server 2004
> http://download.microsoft.com/downlo...7/ts_rules.doc
>
> Microsoft Internet Security & Acceleration Server: Partners
> http://www.microsoft.com/isaserver/partners/default.asp
>
> Microsoft ISA Server Partners: Partner Hardware Solutions
> http://www.microsoft.com/forefront/e...epartners.mspx
> -----------------------------------------------------
>
>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      09-10-2007, 04:53 PM
"2Sweet" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Is it necessary to have the command line "NET USE W: /DELETE"?
> What is the purpose of the command "/yes" and ">nul"?


If one user loggs in, the W: is created.
The user logs out,..the W: is still there
Second user logs in and it ties to map the W:,...but it already exists and
the thing "complains" about. The Delete command prevents that from
happening.

--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      09-10-2007, 04:54 PM
The "Yes" keep you from having to manually answer a prompt.
The "nul" takes the screen writes and sends them into the black hole so the
user doesn't see them.

--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------
"2Sweet" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Is it necessary to have the command line "NET USE W: /DELETE"?
> What is the purpose of the command "/yes" and ">nul"?
>
>
> "Phillip Windell" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> You may want to prefix it with a Delete command on the prevoius line to
>> clean out any previous mapping for the same letter. It will keep the NET
>> USE command from complaining so much.
>>
>>
>> NET USE W: /DELETE
>> NET USE W:\\10.10.20.10\in_folder /YES >nul
>>
>>
>>
>> --
>> Phillip Windell
>> www.wandtv.com
>>
>> The views expressed, are my own and not those of my employer, or
>> Microsoft, or anyone else associated with me, including my cats.
>> -----------------------------------------------------
>> Understanding the ISA 2004 Access Rule Processing
>> http://www.isaserver.org/articles/IS...cessRules.html
>>
>> Troubleshooting Client Authentication on Access Rules in ISA Server 2004
>> http://download.microsoft.com/downlo...7/ts_rules.doc
>>
>> Microsoft Internet Security & Acceleration Server: Partners
>> http://www.microsoft.com/isaserver/partners/default.asp
>>
>> Microsoft ISA Server Partners: Partner Hardware Solutions
>> http://www.microsoft.com/forefront/e...epartners.mspx
>> -----------------------------------------------------
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
previously working wireless connection no longer working zapspan Wireless Networks 5 01-17-2010 09:11 PM
Auto Shipping Auto Shipping Scheduling:car moving auto transport linkswanted Wireless Internet 0 02-16-2008 01:40 AM
Auto mapping for all user 2Sweet Windows Networking 4 09-29-2007 07:28 PM
Auto-recconect not working properly using ADSL modem on XP SP2 nospamx1@yahoo.co.uk Broadband 5 12-17-2005 11:27 AM
auto-crossover - auto-MDI/X capability of ethernet NIC ttsp Linux Networking 3 03-04-2004 03:33 AM



1 2 3 4 5 6 7 8 9 10 11