Re: Can a large user profile prevent logon / logoff scripts from runni
- From: "Lanwench [MVP - Exchange]" <lanwench@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Feb 2008 10:18:10 -0500
Colin <Colin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am the administrator of a small school computer network comprising
about 20 computers and about 40 users. It is a single domain with a
Windows Small Business Server 2003 and Windows XP client machines.
Until recently we had set logon scripts to run with the profile tab
of user properties.
As a result of some minor changes to the network, we needed to run a
logoff script which is set with group policy. At the same time I
decided to set the logon script with group policy rather than user
profiles. The logon and logoff scripts, when set with group policy,
run for all users except one.
The key difference between this user and other users is the size of
the user's profile. With the exception of this particular user, the
profile for all users is, at most, just over 100 megabytes and
typically 10s of megabytes. This user's profile is 4.83 gigabytes.
The same logon script runs for this user when I revert to setting it
with user properties. The logoff script can only be set with group
policy and still refuses to run. The behaviour described above is
machine-independent.
My question is: Can the size of a user's profile affect (prevent?)
the running of logon and logoff scripts when set with group policy?
Note that in group policy there is a setting that limits the maximum
size of a user profile. This has been and remains disabled. If this
is enabled, the maximum allowable setting is 30000 kilobytes (30
megabytes) which is less than the size of the profile for some users
and much less than the 4.83 gigabytes for the user whose logon /
logoff scripts do not run.
Hi - this isn't a scripting related question.
Microsoft.public.windows.server.sbs would be a good place for you to post
future questions.....(but don't post the identical one above in that group!)
Yes, profile sizes matter and can make a big difference at login/logout.
Your event logs will probably have errors galore for this user. The User
Profile Hive Cleanup utility can be installed on all workstations (I do this
by default).
You should be using folder redirection (for My Documents at least - I also
like application data & desktop redirection) and the profiles should be
*miniscule*. This is true even if you don't use roaming profiles, but is
especially critical if and when you do so. I'd set this up via a custom
group policy
I also disable offline files when I set up a server, as I don't want them on
LAN-connected computers.
Digest the above & then try composing a new message for the SBS group I
mentioned, and you're sure to get lots of help.
.
- Prev by Date: Re: scripting for installing some software
- Next by Date: Re: Remote Execution of VBS script
- Previous by thread: Re: scripting for installing some software
- Next by thread: Re: Remote Execution of VBS script
- Index(es):
Relevant Pages
|