Re: Set profile and homefolder path at logon?
From: TK (sprdthword_at_hotmail.com)
Date: 06/02/04
- Next message: Olivier: "Ascii/unicode and qgrep"
- Previous message: Adrian: "Excdel and VBS"
- In reply to: Stephen: "Re: Set profile and homefolder path at logon?"
- Next in thread: Stephen: "Re: Set profile and homefolder path at logon?"
- Reply: Stephen: "Re: Set profile and homefolder path at logon?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 2 Jun 2004 12:19:47 +0300
Stephen,
Thanks for your response. You are correct about one DC kicking in if the
other fails, but the one caveat I don't think that covers is roaming
profiles - or does it. The profile folders are stored on server1.
In each user's profile we have the profile path set to that server and their
profile folder. The same with the home folder - set to server1\username.
What I was planning on doing was to set up a script which would copy those
files each night to server2. Then, have a logon script which re-sets the
profile path and home folder path to their folders on server2 if server1 is
not available. I would leave the user accounts as is - profile set to
server1 - and only change them by script if the server1 was down.
Is that making sense? Is that not a good way to do it? If Windows Server
2003 has a better fault tolerance method to accomplish what I am trying to
do, I have not found it in any admin books I have bought or in the built in
help. If you know of built in methods, or anything better than my plan -
believe me, I am open and willing. As I stated, I am learning as I go, so
any and all help is appreciated.
Thanks in advance.
TK
"Stephen" <sbarash@calpoly.edu> wrote in message
news:%23f3grnCSEHA.3056@TK2MSFTNGP11.phx.gbl...
> Checking to see if the server is available is one method, but if both
> servers that could be home to the profiles are domain controllers, there
is
> an easy way. Domain Controllers will load balance the logon, and set an
> environement variable on each user's workstation. So if one DC is down,
then
> all users logons will be processed by the other DC. Here is a sample to
get
> the logon server variable:
>
> Set oShell = WScript.CreateObject("WScript.Shell")
> Set oProcessEnvironment = oShell.Environment("Process")
> sPSrv1 = UCase(oProcessEnvironment("LogonServer") & "\")
>
> I use the above to provide a fault tollerant printing environment. Let me
> know if you want to see more of the script.
>
> Still, a better way to do this is to use the features already built into
> Windows for this - DFS with FRS replication. Do some research.
>
> Finally, xcopy and robocopy will maintain ntfs permissions with the right
> parameters. You could run them from a script or batch file...
>
> -StephenB
>
> "TK" <sprdthword@hotmail.com> wrote in message
> news:uN1zcbwREHA.628@TK2MSFTNGP11.phx.gbl...
> > I am looking for some fault tolerance help and I am wondering if I can
set
> > the user's profile path (we are using roaming profiles) and the home
> folder
> > path during a logon script? Is it too late by the time it would execute
> the
> > script?
> > If not - here is what I need:
> > A script which first checks to see if the main server is available - if
so
> > we set the profile path and home folder path to the proper folders on
that
> > server. If not, then we set the profile path and home folder path to the
> > proper folder locations on the secondary domain control/server. I think
I
> > know how to set the paths alright, what I don't know how to do is check
> for
> > the availability of the computer first.
> > Also, if this is part of the GPO for the entire domain - how much is
this
> > going to slow down the logon process? Is there a better way to do what I
> am
> > trying to do?
> > Lastly, I need a script which will copy the folders - profiles and home
> > folders - over to the secondary dc/server each night, but without
changing
> > the ownership. Our security is set up to give full permissions only to
the
> > creator owner and if the copy process changes the owner to
Administrator,
> > the user will not have access to their own files.
> > Thanks in advance for any and all help.
> > TK
> >
> >
>
>
- Next message: Olivier: "Ascii/unicode and qgrep"
- Previous message: Adrian: "Excdel and VBS"
- In reply to: Stephen: "Re: Set profile and homefolder path at logon?"
- Next in thread: Stephen: "Re: Set profile and homefolder path at logon?"
- Reply: Stephen: "Re: Set profile and homefolder path at logon?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|