Re: Set profile and homefolder path at logon?

From: TK (sprdthword_at_hotmail.com)
Date: 06/02/04


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
> >
> >
>
>



Relevant Pages

  • Re: Newbie with a smallbiz2000 installation, check my config?
    ... > Windows creates a profile path under Documents & Settings. ... > a folder with that name already exists (maybe a local user with the ... > server, open the properties for this folder, and ensure that you have ... > you redirect key folders from a user's profile to a location on your ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Newbie with a smallbiz2000 installation, check my config?
    ... profile path under Documents & Settings. ... It first tries to create a folder ... folders from a user's profile to a location on your server. ... Chad A. Gross - SBS MVP ...
    (microsoft.public.backoffice.smallbiz2000)
  • RE: need to migrate a older win 2003 srvr sbs to newer one
    ... as I assume I should reading upon Windows Server 2003 inside out book. ... there are three method to move the SBS 2k3 to new ... Also check the path of the public folder database ... Another way is to create a local profile, ...
    (microsoft.public.windows.server.migration)
  • Re: Windows Server 2003 Service Pack 1 will not install
    ... Microsoft CSS Online Newsgroup Support ... Open Server Management. ... <of the public folder database files. ... <domain to the new SBS 2003 installation, way is to create a local profile, ...
    (microsoft.public.windows.server.sbs)
  • RE: Third Request - Exchange will not install
    ... if you want to move the Windows Small Business Server ... Also check the path of the public folder database ... Another way is to create a local profile, ...
    (microsoft.public.windows.server.sbs)