Re: logon script

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Robert L [MS-MVP] (noreply_at_hotmail.com)
Date: 01/12/05


Date: Wed, 12 Jan 2005 13:50:08 -0600

quoted from http://www.ChicagoTech.net
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:150C85E5-B19F-4556-9FF8-712D81D16426@microsoft.com...
> hello!!
> i have a small network of three xp comp setup as a workgroup. users are
> accessing a shared drive over the net but the mapped drive are 
> dosconnecting
> after being idle for x minutes. it will only reconnect when you click the
> drive but would not reconnect on logon. i chance upon this solution on 
> these
> postings:
>     net use x:\\server\share /persistent:no
> questions is: in which particular path should this be placed and should i
> put this in each workstation?
> any help is greatly appreciated! 


Relevant Pages

  • Re: script on xp comp
    ... tried creating this batch file ... drive at first to make sure it is connecting then created the netlogon batch ... > saving logon script. ...
    (microsoft.public.windowsxp.network_web)
  • Re: date change
    ... folder using the OU's GPO that you want the script to apply to those users ... GPO logon script setting to that location instead of looking for it thru ... Microsoft Windows MVP - Windows Server - Directory Services Security Is Like An Onion, ...
    (microsoft.public.win2000.active_directory)
  • Re: Logon Script
    ... written into the unique folder related to the policy you used to associate ... the script command itself if you use Group Policy, or it needs to be in the ... That's where the logon script needs to be. ... If you want to put it further below the Netlogon share, ...
    (microsoft.public.windows.server.sbs)
  • Re: some questions about user login script?
    ... of your logon script, map the netlogon share to a different ... It follows that if you don't have a netlogon share ... > i run win2000 but without domain, only as server. ... > folder. ...
    (microsoft.public.win2000.setup)
  • Re: recover compacted folders
    ... Because of this tendency of attachments to infect, ... , then wasted space is generated in that file, and the folder must be ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)