Re: Identify user in batch file





In news:C61F0923-1086-48F0-9CB6-3D4129DA0C9D@xxxxxxxxxxxxx,
Montreal MCSA <MontrealMCSA@xxxxxxxxxxxxxxxxxxxxxxxxx> typed:
> 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.

Yep - I got that, and I strongly discourage it. There's simply no point.
Data belongs on servers. Workstations are interchangeable. That's my rule.

> That's why I didn't suggest what you
> said.

And I'm a bossy know-it-all type, so I just rudely barged ahead with what I
thought was a better configuration. You're a kinder gentler person than I
am! :)
>
> Mitch
>
>>
>>
>> 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: 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)
  • Win98 clients
    ... We are about to install a new Win2k or 2003 server, ... having to replace all Win98 workstations. ...
    (microsoft.public.windows.server.general)
  • 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)
  • Access to files being denied
    ... up a new W2K server and added all the workstations (W2K, ... Win98 and Win95). ...
    (microsoft.public.win2000.security)
  • 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)