Re: User account for scheduled tasks only?



Thanks, Dave. I followed your advice and then some. First I created the new account without an e-mail address, put it in Administrators, then gave it a really complex password that does not require changing. I then denied logon locally in the domain controller policy and also, on the user account properties, I checked "Deny this user permissions to log on to any Terminal Server" so it could not RDP either. Then, since I did not want it to be able to log on to workstations, I created a new computer settings GPO under MyBusiness\Computers\SBSComputers and added that user to the "Deny log on locally" policy in the Local Policies\User Rights Assignment area of the Computer Configuration GPO.

Finally, since I wanted to backup files on certain workstations using this account, I manually added this special account to the local Administrators group on just those PCs.

I then tested my scripts and confirmed it was able to backup all the files on the server and workstations that I tested. This feels much better and wiser than using the default Administrator account for custom scheduled tasks.

Hello Dave Nickason [SBS MVP],

"Deny log on locally" trumps "Allow log on locally." So what you
would do is to create the account, making it a member of the
Administrators security group. Then, go to Administrative Tools ->
Domain Controller Security Policy. The setting is under Local
Policies -> User Rights Assignment - just dbl-click Deny log on
locally and add the new account, run gpupdate /force, then test to
make sure you get the intended results.

Another idea would be to just give the new account a really good
password that you store somewhere on your client PC. That way, even
someone with the username would be unlikely to be able to log in. I'm
thinking something like y`+dN5^.\\b&LW0.:n4q>n}M'0jwf8yqaS3^F18T9, and
you'd copy and paste it when you created a new task.

By the way, whenever you make changes to a built-in policy such as the
Domain Controllers Security Policy, I recommend documenting your
actions in writing. This will help for "undo" purposes if you end up
with an unpleasant surprise.

"Jason" <not@xxxxxxxx> wrote in message
news:d1a3f41b1ae888caa97077f5607e@xxxxxxxxxxxxxxxxxxxxx

I want to create an account on our SBS server for only running
scheduled
tasks like backups to
various external drives. I do not want this account to be able to
login to
the server, but I do want
it to have complete access to all file shares, as well as those on
the
local PCs (C$, etc) so by
default it would need to have Administrator access, at least on local
PCs,
correct?
Does anyone have a standard way of handling such accounts so they
have
these powers but
can't actually log in to the server? I looked at "Domain Power Users"
and
"Backup Operators"
but neither of these appear to be configured by default to do what I
want
them to.
I'm trying to avoid running these tasks as the Administrator because
I
plan to change the
Administrator's PW frequently and that's a huge hassle when you have
several important scheduled
tasks.


.



Relevant Pages

  • Re: Event ID: 1202
    ... No mapping between account names and security IDs was ... SeIncreaseBasePriorityPrivilege = Administrators ... "Meinolf Weber" wrote: ... A user account in one or more Group policy objects (GPOs) could not ...
    (microsoft.public.win2000.active_directory)
  • Re: Rid AD of Circular Group Membership
    ... I'll try to keep this going; because it might be useful to another admin ... The quess is each has an account and uses it, ... part of stations) into the machine local Administrators group. ... Administrators Group has a members: ...
    (microsoft.public.windows.group_policy)
  • Re: Event ID: 1202
    ... No mapping between account names and security IDs was done. ... User Rights configuration completed with error. ... SeIncreaseBasePriorityPrivilege = Administrators ... unresolvable account exists only in one GPO. ...
    (microsoft.public.win2000.active_directory)
  • Re: Program Problems for non-administrators
    ... The user cant burn CDs because the media player absolutely wont function in her account but switch it to an administrator and all is well. ... User accounts will say they have an older version of a program but the administrators account says everything is up to speed. ... Quite simply, the installation routine for this application doesn't "know" how to handle individual user profiles, or the application tries to make changes to "off-limits" sections of the registry or protected Windows system folders. ... you can make this software available to other users by _copying_ the Start Menu folder and Desktop folder shortcuts from the user profile from which the software was installed in the corresponding folders in the user profilein which you'd like the software to be accessible. ...
    (microsoft.public.windowsxp.general)
  • Re: How to prevent ownership change by users with admin rights?
    ... I also have my private account on the ... > other private account is a member of the "Administrators" group. ... > I have created a private folder on the machine that has its security ...
    (microsoft.public.windowsxp.security_admin)

Quantcast