Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Administration

Notices

Reply

Administrator doesn't have permission/rights to run tasks !?

 

LinkBack Thread Tools Display Modes
Old 06-20-2007, 07:13 AM   #11 (permalink)
Default Re: Administrator doesn't have permission/rights to run tasks !?

Thanks for your reply, Jim.

I get the "batch rights" message when I try to make changes to the task.
It says you need these rights in order to save those changes.

I actually did try checking the "run with highest priveleges" box. Nothing
changed.

Paul
___________________________________

"Jimmy Brush" wrote:
Quote:
> Paul wrote:
Quote:
> > Hello everyone,
> >
> > I'm trying to run a simple task. I'd like Vista's "task scheduler" to
> > periodically run a .bat file that I made which goes to the following two
> > directories and deletes the IE7 cookies that are stored there.
> >
> > C:\Users\User\AppData\Roaming\Microsoft\Windows\Co okies\Low
> > C:\Users\<usersname>\AppData\Roaming\Microsoft\Win dows\Cookies
> >
> > However, I am told that I do not have permission to access these
> > directories. How can that be, since administrators should have access to all
> > files and directories on the computer. The other error that I get is that
> > "task scheduler" tells me that I do not have the "batch rights" to save this
> > task.
> >
> > Any insight into this would be a big help.
> >
> > Paul
> >
>
> Hello,
>
> In Windows Vista, even though you are an administrator, only programs
> that ask for your permission ("Windows needs your permission to
> continue") are allowed to use your admin rights.
>
> This isn't meant to protect you from yourself; rather, this prevents
> programs that you do not start from using your admin power.
>
> If you need a program you are starting from task scheduler to run with
> admin rights, you will need to run the task with 'highest privilege' by
> checking the appropriate box, or running it in the context of a system
> account.
>
> At what time do you receive the batch rights / access denied errors?
>
> --
> -JB
> Microsoft MVP - Windows Shell/User
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
Paul
Guest
 
Posts: n/a
Reply With Quote  
Old 06-20-2007, 07:22 AM   #12 (permalink)
Default Re: Administrator doesn't have permission/rights to run tasks !?

'Competent and experienced administrator' ? Not really. I am setting up a
new computer for my parents to use. I am trying to set up this automated
task so that my parents don't have to bother with this. I have never used
Vista before and I have never been an administrator before. Up until now I
have been using Win98.
_________________________________

"Mike Brannigan" wrote:
Quote:
> "Paul" <Paul@discussions.microsoft.com> wrote in message
> news8193AFB-75CE-4951-877B-EE24F46F8D48@microsoft.com...
Quote:
> > Hello everyone,
> >
> > I'm trying to run a simple task. I'd like Vista's "task scheduler" to
> > periodically run a .bat file that I made which goes to the following two
> > directories and deletes the IE7 cookies that are stored there.
> >
> > C:\Users\User\AppData\Roaming\Microsoft\Windows\Co okies\Low
> > C:\Users\<usersname>\AppData\Roaming\Microsoft\Win dows\Cookies
> >
> > However, I am told that I do not have permission to access these
> > directories. How can that be, since administrators should have access to
> > all
> > files and directories on the computer. The other error that I get is that
> > "task scheduler" tells me that I do not have the "batch rights" to save
> > this
> > task.
> >
> > Any insight into this would be a big help.
> >
> > Paul
> >
>
> Because even thought you may have created an account that is a member of the
> administrators group even you installed Windows Vista that account is
> subject to UAC (User Account Control) and thus protected from doing certain
> tasks without reconfirming etc.
> This includes the ability to access al files and folders on the system by
> default. If you need access to certain files and folders then you may need
> to grant that account access and the appropriate permissions to them.
> The same is true of certain privileges (rights) within the system.
>
> As a member of the administrators group you can use the appropriate tools to
> grant these rights and permissions to yourself.
> Windows Vista is just a little more secure by default to prevent people who
> think they are admins from making mistake.
> If you are an experienced and competent administrator then just use the
> tools to grant yourself what you need.
> --
>
> Mike Brannigan
>
Paul
Guest
 
Posts: n/a
Reply With Quote  
Old 06-20-2007, 08:36 PM   #13 (permalink)
Default Re: Administrator doesn't have permission/rights to run tasks !?

Hmm...

So, you get the error from the task scheduler interface itself when
trying to change the properties of the task?

Do you get the error after entering your username and password after
clicking OK?

If yes to both, try telling the program to run in the context of a
system account -> Click change user or group, type system, press enter.

Can you change any of the attributes of the task, or do you only get the
message when changing certain properties?

Are you an administrator?

If you are an administrator, could you do this:

- Click start
- Type: command prompt
- Right-click command prompt when it appears
- Click Run As Administrator
- Type: whoami /all
- Paste the results of this command into a reply

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Jimmy Brush
Guest
 
Posts: n/a
Reply With Quote  
Old 06-20-2007, 08:50 PM   #14 (permalink)
Default Re: Administrator doesn't have permission/rights to run tasks !?

Quote:
> If you are an administrator, could you do this:
>
> - Click start
> - Type: command prompt
> - Right-click command prompt when it appears
> - Click Run As Administrator
> - Type: whoami /all
> - Paste the results of this command into a reply
>
I am only interested in the "privileges information" section


--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Jimmy Brush
Guest
 
Posts: n/a
Reply With Quote  
Old 06-25-2007, 09:25 AM   #15 (permalink)
Default Sorry for the late reply

Hello Jimmy,

Sorry for the late reply; I was out of town for a few days.

To answer your question. I do get the error after typing the admin password
and clicking "OK". It looks like it doesn't like one of the settings.

I tried your other suggestion and changed the user to "SYSTEM" in the task
properties. According to the event viewer, the tasks ran successfully.
However, the cookies were not deleted ! Here is what the event viewer said:

"Task Scheduler successfully finished
"{D4AC8E70-A4F4-409F-9912-E4B1EC320E35}" instance of the
"\Paul'sTasks\PPADeleteCookies" task for user "WORKGROUP\PARENTSPC$"."

I also typed "whoami /all" in the command window. There were 23 items in
the "priveleges information" section, all of them were disabled. I couldn't
do a copy&paste.
_______________________________
Quote:
> Hmm...
>
> So, you get the error from the task scheduler interface itself when
> trying to change the properties of the task?
>
> Do you get the error after entering your username and password after
> clicking OK?
>
> If yes to both, try telling the program to run in the context of a
> system account -> Click change user or group, type system, press enter.
>
> Can you change any of the attributes of the task, or do you only get the
> message when changing certain properties?
>
> Are you an administrator?
>
> If you are an administrator, could you do this:
>
> - Click start
> - Type: command prompt
> - Right-click command prompt when it appears
> - Click Run As Administrator
> - Type: whoami /all
> - Paste the results of this command into a reply
>
> --
> -JB
> Microsoft MVP - Windows Shell/User
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
Paul
Guest
 
Posts: n/a
Reply With Quote  
Old 06-25-2007, 05:15 PM   #16 (permalink)
Default Re: Sorry for the late reply

Paul

Just a quick tip.

To copy the text in the command window, click the small icon at the top/left
of the command window. This will reveal a menu. Click Edit / Select All and
then press ENTER. This will copy all of the text in the window to the
clipboard.

Open an instance of Notepad and Right Click / Paste. You can then edit the
text to focus on the info you need and then copy/paste the results into your
newsgroup reply.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Paul" <Paul@discussions.microsoft.com> wrote in message
news:F4E4FC99-26BB-49C3-B729-AF66B3D19B16@microsoft.com...
Quote:
> Hello Jimmy,
>
> Sorry for the late reply; I was out of town for a few days.
>
> To answer your question. I do get the error after typing the admin
> password
> and clicking "OK". It looks like it doesn't like one of the settings.
>
> I tried your other suggestion and changed the user to "SYSTEM" in the task
> properties. According to the event viewer, the tasks ran successfully.
> However, the cookies were not deleted ! Here is what the event viewer
> said:
>
> "Task Scheduler successfully finished
> "{D4AC8E70-A4F4-409F-9912-E4B1EC320E35}" instance of the
> "\Paul'sTasks\PPADeleteCookies" task for user "WORKGROUP\PARENTSPC$"."
>
> I also typed "whoami /all" in the command window. There were 23 items in
> the "priveleges information" section, all of them were disabled. I
> couldn't
> do a copy&paste.
> _______________________________
>
Quote:
>> Hmm...
>>
>> So, you get the error from the task scheduler interface itself when
>> trying to change the properties of the task?
>>
>> Do you get the error after entering your username and password after
>> clicking OK?
>>
>> If yes to both, try telling the program to run in the context of a
>> system account -> Click change user or group, type system, press enter.
>>
>> Can you change any of the attributes of the task, or do you only get the
>> message when changing certain properties?
>>
>> Are you an administrator?
>>
>> If you are an administrator, could you do this:
>>
>> - Click start
>> - Type: command prompt
>> - Right-click command prompt when it appears
>> - Click Run As Administrator
>> - Type: whoami /all
>> - Paste the results of this command into a reply
>>
>> --
>> -JB
>> Microsoft MVP - Windows Shell/User
>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>
Ronnie Vernon MVP
Guest
 
Posts: n/a
Reply With Quote  
Old 06-26-2007, 07:51 AM   #17 (permalink)
Default Re: Sorry for the late reply

Try changing the "command to execute" for the task to:

c:\windows\system32\cmd.exe /E:ON /C "c:\path\to\file\file.bat"

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Jimmy Brush
Guest
 
Posts: n/a
Reply With Quote  
Old 06-27-2007, 07:08 AM   #18 (permalink)
Default Re: Sorry for the late reply

It works now, thanks Jimmy.

Paul

════════════════ ════════════════ ══
"Jimmy Brush" wrote:
Quote:
> Try changing the "command to execute" for the task to:
>
> c:\windows\system32\cmd.exe /E:ON /C "c:\path\to\file\file.bat"
>
> --
> -JB
> Microsoft MVP - Windows Shell/User
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
Paul
Guest
 
Posts: n/a
Reply With Quote  
Old 06-27-2007, 07:50 AM   #19 (permalink)
Default Re: Sorry for the late reply

Paul wrote:
Quote:
> It works now, thanks Jimmy.
>
> Paul
>
> ════════════════ ════════════════ ══
> "Jimmy Brush" wrote:
>
Quote:
>> Try changing the "command to execute" for the task to:
>>
>> c:\windows\system32\cmd.exe /E:ON /C "c:\path\to\file\file.bat"
>>
>> --
>> -JB
>> Microsoft MVP - Windows Shell/User
>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>
Glad you got it working

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Jimmy Brush
Guest
 
Posts: n/a
Reply With Quote  
Old 03-05-2008, 02:31 PM   #20 (permalink)
Default RE: Administrator doesn't have permission/rights to run tasks !?

Paul, when I go to Systems, I am not even listed as "administrator", even
though in the Control Panel I am listed as the administrator. Every since my
computer was repaired, someone named 'v' is the administrator, and there
seems to be
nothing I can do to change 'v' to my name. I even bought and ran the RegCure
program which made a scan of everything in my computer and found about one
million errors! So I am really perplexed! How can I get rid of Mr. 'v' as
the administrator of MY computer?
--
Singing Soul


"Paul" wrote:
Quote:
> Hello everyone,
>
> I'm trying to run a simple task. I'd like Vista's "task scheduler" to
> periodically run a .bat file that I made which goes to the following two
> directories and deletes the IE7 cookies that are stored there.
>
> C:\Users\User\AppData\Roaming\Microsoft\Windows\Co okies\Low
> C:\Users\<usersname>\AppData\Roaming\Microsoft\Win dows\Cookies
>
> However, I am told that I do not have permission to access these
> directories. How can that be, since administrators should have access to all
> files and directories on the computer. The other error that I get is that
> "task scheduler" tells me that I do not have the "batch rights" to save this
> task.
>
> Any insight into this would be a big help.
>
> Paul
>
Soul Always Sings
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Administrator doesn't have permission to run his task ! Paul Windows Vista Performance & Maintenance 0 06-18-2007 08:46 AM
Permission Denied to an Administrator Peter Dunoon Windows Vista Administration 2 03-28-2007 03:40 AM
permission from administrator Windows XP Accessibility 0 10-23-2003 07:32 AM
Administrator Permission Don Windows XP Setup 0 08-31-2003 12:33 AM
No administrator rights in XP pro Ace Windows XP Security & Administration 1 07-31-2003 04:51 AM


All times are GMT. The time now is 02:59 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90