2

On Windows XP I was used to create simple notifications for myself using combination of at and msg commands. The whole thing was very easy

  1. hit Ctrl+R
  2. type eg. at 21:00 msg * Do something
  3. hit Enter

at the specified time a popup window with that message appeared.
With UAC in Win7 the at command requires administrative privileges and says that access is denied. Is there some easy, no new applications requiring way to have this?
Of course I could turn off UAC, but that seems like an overkill and is not something I would like to do because of notifications...

0

1 Answer 1

1

You can preface your at command with runas and authenticate. You'll need to double check the syntax, but something like:

runas /user:<localmachinename>\administrator "at 21:00 msg * Do something"
1
  • One caveat: If you are joined to a domain, the default administrator account is not autoelevated. So this would still prompt a UAC.
    – surfasb
    Commented Sep 13, 2011 at 4:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .