Re: script on xp comp
From: samrod (samrod_at_discussions.microsoft.com)
Date: 01/14/05
- Next message: sam29577: "Re: Question about Local Users"
- Previous message: toast88: "Network 2 computers together (don't laugh)"
- In reply to: Robert L [MS-MVP]: "Re: script on xp comp"
- Next in thread: samrod: "RE: script on xp comp"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 18:03:03 -0800
hello!!!!
tried creating this batch file ....
@echo off
net use /persistent:no
net use x:\\server\shared
net use x:\\server\home folder
was place on the following... \document and settings\all users\start
menu\programs\startup\netlogon.bat (m using an xp machine). i have mapped the
drive at first to make sure it is connecting then created the netlogon batch
file. i got "system error 67 network path not found". this error was after i
restarted the machine to test. any idea on how i can make this work. i made
sure the correct drive are mapped... then this error .... please advise!!!!
"Robert L [MS-MVP]" wrote:
> these may help. quoted from http://www.ChicagoTech.net
> Example of VBScript - Mapping a network drive based on the group
>
> ' Map a network drive if the user is a member of the group.
> ' Alert the user if the drive cannot be mapped.
> If IsMember(objUser, "accounting") Then
> If Not MapDrive("Q:", "\\chicagotech\data") Then
> MsgBox "Unable to Map Q: to AdminShare"
> End If
> End If
>
> Example of batch file
>
> net use h: \\hostname\sharedname
>
> Where is logon script located
>
> By default, on Windows NT 3.x and 4.0 DC and workstations, the
> %SystemRoot%\System32\Repl\Import\Scripts folder is shared as NETLOGON for
> saving logon script. On Windows 2000/2003 servers, the
> %SystemRoot%\Sysvol\Sysvol\domainname\Scripts folder is shared as NETLOGON.
> On Windows 2000/XP workstation, the default location for local logon scripts
> is the %Systemroot%\System32\Repl\Imports\Scripts folder. The
> %Systemroot%\System32\Repl\Imports\Scripts folder is not created on a new
> installation of Windows. Therefore, the
> %SystemRoot%\System32\Repl\Imports\Scripts folder must be created and shared
> out with the share name netlogon.
>
>
> --
> For more and other information, go to http://www.ChicagoTech.net
>
> Don't send e-mail or reply to me except you need consulting services.
> Posting on MS newsgroup will benefit all readers and you may get more help.
>
> Bob Lin, MS-MVP, MCSE & CNE
> Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on
> http://www.ChicagoTech.net
> Networking Solutions, http://www.chicagotech.net/networksolutions.htm
> VPN Solutions, http://www.chicagotech.net/vpnsolutions.htm
> VPN Process and Error Analysis, http://www.chicagotech.net/VPN%20process.htm
> VPN Troubleshooting, http://www.chicagotech.net/vpn.htm
> This posting is provided "AS IS" with no warranties.
> "samrod" <samrod@discussions.microsoft.com> wrote in message
> news:1D44E020-47D5-4D08-9CFA-CEA0CB27D0BF@microsoft.com...
> > can anyone create or is there a site on how to make a simple logon script
> > for
> > me so i stay connected to my home network. just workgroup no domain. where
> > would a place the script/what extension.
> > any help is greatly appreciated !!!
>
>
>
- Next message: sam29577: "Re: Question about Local Users"
- Previous message: toast88: "Network 2 computers together (don't laugh)"
- In reply to: Robert L [MS-MVP]: "Re: script on xp comp"
- Next in thread: samrod: "RE: script on xp comp"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|