deleting files

G

Guest

why can i delete files from "c" drive? keep on telling me that I do not have
sufficient permission to delete the files...but I am the administrator....
 
A

Alan Simpson

You shouldn't have any problem deleting document folders or files. Are you
trying to delete something else?
 
J

Jimmy Brush

Hello,

In Windows Vista, even though you are logged in as an administrator, the
programs you run do not get administrator priviledges. All programs you run,
including explorer, run as if a normal user started them.

To allow a program to run with full administrator priviledges, you must
explicitly give it permission by right-clicking it and clicking Run As
Administrator.

For example, to open an "administrator" explorer, you can do this:

- Click start
- Type explorer
- Right-click Windows Explorer when it appears under Programs
- Click Run As Administrator

You should be able to delete files and folders on your hard drives easily
from this explorer window.

If you still get Access Denied messages from an Administrator explorer
window, this means that not even administrators have permission to delete
that folder or file.

This is common for hidden system files that are required by the operating
system, such as the "Documents and Settings" junction.

- JB
 
M

Mark D. VandenBeg

Would this theory also apply to changing the default browser, for instance?
And if so, is it possible to run a Control Panel .cpl as "Administator?"
 
J

Jimmy Brush

Would this theory also apply to changing the default browser, for
instance?

I don't think the default browser settings are secured, as this should be a
setting for the current user only and not for the entire computer. But I may
be wrong :)
And if so, is it possible to run a Control Panel .cpl as "Administator?"

Yes. The syntax is:

control.exe "controlpanel.cpl"

You can type this into the start menu, right-click control.exe when it shows
up, and click Run As Administrator.

Or, you can open an elevated command prompt by right-clicking Command Prompt
and clicking Run As Admininstrator, and then typing that command into the
command prompt.

You can also Run As Administrator just control.exe with no arguments to have
an "Administrator" root control panel :)

As an aside, any programs that are launched from an elevated window or
process are elevated themselves.

- JB
 
M

Mark D. VandenBerg

Thanks, Jimmy. As a point of interest, I did have to turn UAC off and
reboot to have Opera set as the default browser for an administrator
account. Perhaps your suggestion of running the control panel as elevated
would have accomplished the same thing.
 
J

Jimmy Brush

Hmm...

If you were setting this option as the default from the control panel, it
should have worked fine, as the control panel prompts for elevation
automatically when doing such things. If it didn't, then that is definately
a bug (I can just hear the antitrust bells a-ringin!)

However, if Opera tried to change the settings itself, and it was attempting
to modify a system-level setting, it may have appeared to opera to have
worked, but in reality it didn't. (this would be due to virtualization). You
know, I can still hear them bells .......

- JB
 
M

Mark D. VandenBerg

Yeah, tried it both ways, from the dialogue box when starting Opera and from
the Internet Options applet, both situations as non-elevated with no joy.
Each time Opera was started, the dialogue box would reappear. Even tried
rebooting. So, it seems as though Vista considers a default browser change
as a "security issue." Should we start the "class-action?"

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top