at command, system privelege

  • Thread starter Thread starter Tim at this Newsgroup
  • Start date Start date
T

Tim at this Newsgroup

Hello, everyone,

Mirror from w2k prof to w2k prof and nt4 w/sta.

I am trying to mirror a handful of directories onto a server (which may be
either w2k or nt4). The 'backup' needs to be scheduled. The server share denies
access, presumably as the AT command runs with nt authority/system priveleges -
how (can?) I get round this, please?

Cheers, Tim.
 
Hello, everyone,

Mirror from w2k prof to w2k prof and nt4 w/sta.

I am trying to mirror a handful of directories onto a server (which may be
either w2k or nt4). The 'backup' needs to be scheduled. The server share denies
access, presumably as the AT command runs with nt authority/system priveleges -
how (can?) I get round this, please?

From the GUI Task Scheduler window, click on the Advanced menu and
select "AT Service Account".

Has anyone can figure out how to change this via script?

Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
Clay Calvert said:
Has anyone can figure out how to change this via script?

There is a freeware utility SERVACCT.EXE that will let
you change the account a service runs under. More info and
download at:
http://wettberg.home.texas.net/servacct.htm

You used to be able to attach to a remote server by passing
a user and password (alternate credentials). But MS seems to
have gotten rid of that. e.g.:
NET USE \\computername\share /USER:[domainname\]username password
which now appears relegated to the recovery console.

Is there a "net use" wrapper equivalent to sanur.exe for runas
that you can use to input a password? Or some way to fool net.exe
so it thinks it is running under the recovery console?

--
Matt Hickman
The extradimensional distortions necessary to match places
on two planets many light years apart were not simply a
matter of expenditure of enormous quantities of energy;
they were precision problems fussy beyond belief, involving
high mathematics and high art -- the math was done by
machine but the gate operator always had to adjust for
the last couple of decimal places by prayer and intuition.
- Robert A. Heinlein (1907-1988)
_Tunnel in the Sky_ (c 1955)
 
There is a freeware utility SERVACCT.EXE that will let
you change the account a service runs under. More info and
download at:
http://wettberg.home.texas.net/servacct.htm

This doesn't do what we're asking. It isn't worded very well in the
interface. It should read "Account for AT Tasks" not "AT Service
Account".
Thanks for the reply, though.

Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
Clay Calvert said:
This doesn't do what we're asking. It isn't worded very well in the
interface. It should read "Account for AT Tasks" not "AT Service
Account".

Now I see what you mean. And why they changed the name of the
scheduler service to "Task Scheduler"

--
Matt Hickman
Average Loonie was interested in beer, betting, women and work, in that
order.
Robert A. Heinlein (1907 - 1988)
_The Moon Is a Harsh Mistress_ c 1966
 
Thanks for the input chaps,

I eventually resorted to using a hex-edited version of WinXP's schtasks.exe (*)
to change the user:

at 05:02 /interactive /every:Su,M,T,W,Th,F,S scheduled_backup.bat
schtasks.exe /change /RU albert /RP asif /TN at105

(*) it doesn't work on NT4, though.

Cheers,
Tim.
 
Back
Top