Re: Identify user in batch file

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



Hi Lanwrench,

I agree with you and was going to suggest it, until I read further... It
seems he wants to keep the My Documents on his local systems and back them up
to the server. That's why I didn't suggest what you said.

Mitch
--
MDG, MCSA


"Lanwench [MVP - Exchange]" wrote:

>
>
> In news:dckm5o$kbf$1@xxxxxxxxxxxxxxxxxx,
> Brian McMahon <brianm@xxxxxxxxxxxxxxxx> typed:
> > Hi,
> >
> > I want to create a login script, which will copy the contents of the
> > user's workstation "my documents" folder to their user folder on the
> > server.
>
> Hmmm - I'd just use folder redirection for My Documents. Do this via group
> policy for the XP/2k users; and for Win98, manually point My Documents to
> the user's home directory.
> >
> > This will be in the login script, so an automatic backup is taken each
> > login. The server gets backed up to tape each evening.
> >
> > In order to make my life easy and use a single script for all users,
>
> The above will make this a *lot* easier in general.
>
>
> > I want to incorporate a variable which will collect the current
> > user's login name, in order that the correct user directory on the
> > server is used, plus I want to see if there is anyway of
> > automatically picking up the current users "my documents" folder.
> >
> > The workstatiosn are a mix of XP Pro and Win98. The Win98
> > workstations will only be phased out later in the year.
> >
> > Regards,
> > Brian
>
>
>
.



Relevant Pages

  • Re: Identify user in batch file
    ... > to the server. ... >>> This will be in the login script, so an automatic backup is taken each ... in order that the correct user directory on the ... >>> Brian ...
    (microsoft.public.windows.server.sbs)
  • Re: Connecting a remote workstation to a domain
    ... The Server is located in DC and the CEO now lives ... remark that you will have to reboot the workstation. ... make sure you choose the SBS-domain from the drop down box, ... After the login script has finished and if you have Premium, ...
    (microsoft.public.windows.server.sbs)
  • Re: Time not correct..
    ... You should see a logon script. ... If you want to login to the server then the path will be to your SYSVOL folder & follow it through to the scripts directory. ... "SPAMCOP User" wrote in message ... add the following line to the login script: ...
    (microsoft.public.windowsxp.general)
  • Re: NT 4 login script issue
    ... REM Variable %CLIENTNAME% is undefined in a normal domain logon ... MCSE, CCEA, Microsoft MVP - Terminal Server ... > variant to the NT 4 login script file that identifies when the ... > the user profile on the TS server. ...
    (microsoft.public.win2000.termserv.clients)
  • Powerful login script??
    ... I've got a question on how powerful a login script can be... ... We've got windows 2000 server with domain ... Show a popup to the client machine during the login and boot up process, ... tick box users can tick to accept the policy. ...
    (microsoft.public.windows.server.scripting)