Do Not Have Permission

D

Don

I have Win7 Premium Edition installed. After I did an install from

scratch, I set up a root (administrator) account. And then I reduced my

user account to a standard privileges account. I was reading an article

by Bill Detwiler on TechRepublic,

http://blogs.techrepublic.com.com/window-on-windows/?p=2373&tag=nl.e064,

on how to deactivate and remove the hiberfil.sys file because I don't

need it. I booted my machine and logged into the administrator's

account. I opened the command console and entered the command as he

suggested, "powercfg.exe.exe -h off", minus the quotes. To my

surprise,the following message popped up.



"You do not have permission to enable or disable the Hibernate feature."

I thought that an administrative account would allow you to perform

any system function that I wanted to do. This doesn't seem to be the

case, at least for me. Is there any way I can execute these sorts of

commands?



Thanks
 
D

Dave-UK

"Don" wrote in message news:83b8r8FlfjU1@mid.individual.net...

> I have Win7 Premium Edition installed. After I did an install from

> scratch, I set up a root (administrator) account. And then I reduced my

> user account to a standard privileges account. I was reading an article

> by Bill Detwiler on TechRepublic,

> http://blogs.techrepublic.com.com/window-on-windows/?p=2373&tag=nl.e064,

> on how to deactivate and remove the hiberfil.sys file because I don't

> need it. I booted my machine and logged into the administrator's

> account. I opened the command console and entered the command as he

> suggested, "powercfg.exe.exe -h off", minus the quotes. To my

> surprise,the following message popped up.

>

> "You do not have permission to enable or disable the Hibernate feature."

> I thought that an administrative account would allow you to perform

> any system function that I wanted to do. This doesn't seem to be the

> case, at least for me. Is there any way I can execute these sorts of

> commands?

>

> Thanks




Right-click the Command Prompt and 'Run as administrator'.

An administrator account in Vista\Win7 runs with reduced privileges but can

be elevated when required (by the right-click menu, for example).
 
S

Seth

"Don" wrote in message

news:83b8r8FlfjU1@mid.individual.net...

>I have Win7 Premium Edition installed. After I did an install from

>scratch, I set up a root (administrator) account. And then I reduced my

>user account to a standard privileges account. I was reading an article by

>Bill Detwiler on TechRepublic,

>http://blogs.techrepublic.com.com/window-on-windows/?p=2373&tag=nl.e064, on

>how to deactivate and remove the hiberfil.sys file because I don't need it.

>I booted my machine and logged into the administrator's account. I opened

>the command console and entered the command as he suggested,

>"powercfg.exe.exe -h off", minus the quotes. To my surprise,the following

>message popped up.

>

> "You do not have permission to enable or disable the Hibernate feature." I

> thought that an administrative account would allow you to perform any

> system function that I wanted to do. This doesn't seem to be the case, at

> least for me. Is there any way I can execute these sorts of commands?






With UAC turned on, even an admin level account is not running with admin

privileges unless you elevate the process.



Hit the Start orb, in search type CMD. CMD should appear at the top of the

search results window. Right click on it and choose "Run as Administrator".

Confirm the UAC prompt.



Now try your command.



As an aside, if you are leaving UAC on (which is a good thing) then you

don't really need the 2 accounts anymore. You can just have your "regular"

account in the administrator group. When logged in with that account, you

are logged in as a standard user until you attempt to do something

administrative and UAC will ask for confirmation before allowing you to

proceed.
 
D

Don

On 22/04/2010 11:53 AM, Dave-UK wrote:

>

> "Don" wrote in message

> news:83b8r8FlfjU1@mid.individual.net...

>> I have Win7 Premium Edition installed. After I did an install from

>> scratch, I set up a root (administrator) account. And then I reduced

>> my user account to a standard privileges account. I was reading an

>> article by Bill Detwiler on TechRepublic,

>> http://blogs.techrepublic.com.com/window-on-windows/?p=2373&tag=nl.e064,

>> on how to deactivate and remove the hiberfil.sys file because I don't

>> need it. I booted my machine and logged into the administrator's

>> account. I opened the command console and entered the command as he

>> suggested, "powercfg.exe.exe -h off", minus the quotes. To my

>> surprise,the following message popped up.

>>

>> "You do not have permission to enable or disable the Hibernate

>> feature." I thought that an administrative account would allow you to

>> perform any system function that I wanted to do. This doesn't seem to

>> be the case, at least for me. Is there any way I can execute these

>> sorts of commands?

>>

>> Thanks


>

> Right-click the Command Prompt and 'Run as administrator'.

> An administrator account in Vista\Win7 runs with reduced privileges but can

> be elevated when required (by the right-click menu, for example).

>

>


Thanks, it worked. It isn't a well documented feature. I guess it was

intended that way so the average user doesn't screw up their machine.
 
D

Dave-UK

"Don" wrote in message news:83baj5FpiU1@mid.individual.net...

> On 22/04/2010 11:53 AM, Dave-UK wrote:

>>

>> "Don" wrote in message

>> news:83b8r8FlfjU1@mid.individual.net...

>>> I have Win7 Premium Edition installed. After I did an install from

>>> scratch, I set up a root (administrator) account. And then I reduced

>>> my user account to a standard privileges account. I was reading an

>>> article by Bill Detwiler on TechRepublic,

>>> http://blogs.techrepublic.com.com/window-on-windows/?p=2373&tag=nl.e064,

>>> on how to deactivate and remove the hiberfil.sys file because I don't

>>> need it. I booted my machine and logged into the administrator's

>>> account. I opened the command console and entered the command as he

>>> suggested, "powercfg.exe.exe -h off", minus the quotes. To my

>>> surprise,the following message popped up.

>>>

>>> "You do not have permission to enable or disable the Hibernate

>>> feature." I thought that an administrative account would allow you to

>>> perform any system function that I wanted to do. This doesn't seem to

>>> be the case, at least for me. Is there any way I can execute these

>>> sorts of commands?

>>>

>>> Thanks


>>

>> Right-click the Command Prompt and 'Run as administrator'.

>> An administrator account in Vista\Win7 runs with reduced privileges but can

>> be elevated when required (by the right-click menu, for example).

>>

>>


> Thanks, it worked. It isn't a well documented feature. I guess it was

> intended that way so the average user doesn't screw up their machine.




The XP-equivalent Administrator account is disabled by default in Win7.

You can have an account that is part of the administrators group but it

runs as a standard user account until it needs to be elevated and then

you will be prompted (if you have UAC turned on).

To have a look at the accounts:

Right-click Computer > Manage > Local Users and Groups > Users.

You will see your account(s), the Guest account and the built-in Administrator

account. Double-click on that and you will see it's disabled and it's

described as 'Built-in account for administering the computer/domain'.

If you ever want to activate the Administrator account you can do it from here.
 
Back
Top Bottom