EzDevInfo.com

administrator interview questions

Top administrator frequently asked interview questions

How to always run as administrator applications on Windows 8

The problem is, when I open applications I need to always right click, select run as admin.

enter image description here

When I don't do it getting unexpected application errors. BTW, I turned off UAC.

It's annoying. Is there any way to change behavior of double left-click to act as "Run as administrator" action? I mean to make "Run as administrator" action by default. Thx in advance


Source: (StackOverflow)

Force a program to run *without* administrator privileges or UAC?

Is there any way that I can force a program that normally requires administrator privileges (via UAC) to run without them? (ie: no UAC prompt and no system-wide access.)

Added: Without modifying the executable itself.


In spite of James's answer, I have found a few ways that it can almost be done:

  1. By modifying the executable I can remove the trustInfo entry from the manifest (or the manifest entirely, so I can use an external one), allowing the program to start without UAC. Unfortunately this modifies the executable, so it exits shortly after due to an internal checksum test.
  2. By using Process Explorer I can launch it as a Limited User. However this seems to limit it significantly more than I would like (it runs like Protected Mode IE and so can access significantly less than what my standard un-elevated user can).

Source: (StackOverflow)

Advertisements

Run task manager as another user (admin)

Is it possible to run the Windows Task Manager as another user, i.e. as an admin? Our users run with limited privileges, so it would be helpful if I could task manager as an administrator to kill a process if needed.


Source: (StackOverflow)

Why do I need to run commands as administrator if my account is member of administrator group?

If my account is already a member of the administrator group why do some functions on Windows 7 require me to run them as administator? I kind of thought that was implied?


Source: (StackOverflow)

On Windows 7, is there a command prompt line that can start cmd as an administrator? [duplicate]

This question already has an answer here:

On Linux, we can use

sudo bash

to run a shell as the superuser.

On Windows 7, we can use

Start menu -> (in search box, type) cmd -> Right click on search result and choose Run as Administrator

to run a command prompt as an administrator. Is there also a command prompt line that is like Linux's sudo or su so as to start a shell as an administrator?


Source: (StackOverflow)

How to stop an unstoppable windows 7 service?

I have recently installed a program that deploys an agent which "protects" from peripherals. What it actually does at this point is to block any kind of media I plug to my PC.

I've done some checking and I found the name of this service blocking my peripherals. So, naturally, I've tried stopping it.

First I tried the sc stop, but I was denied the access. Trying to do it by services.msc will result in not even giving me the priviledge to use stop on that service. Same response from taskkill: Access denied... Then I figured I'd try net stop resulting with the 2191 message which if I try net helpmsg 2191 does not give any information. I then decided to surf Superuser and found out about these pstools. But as soon as I try to do the cmd switch with psexec -s cmd I get the message:

Couldn't install PsExec service: access is denied.

Strangely, if I try to use just psexec it does prompt me with the help info. So this was a dead end again.

After all these fails I have decided to just remove it from startup right? So I open msconfig and remove the service from startup, save and finally reboot. Unfortunately, when PC reboots so does the service. By the time I can access the task manager the service is already running, again. Can't really imagine how though.

All these access failures made me think I might not have the required privileges or something, but my user account is set as administrator so I think there's nothing more I can do.


Source: (StackOverflow)

How can I run ALL my Apps “as administrator” by default in Windows 7?

I know that I can change the property in advanced setting of the shortcut to run one app as administrator. But is possible to do that for all my application? There is a general setting or something somewhere that can tweak that?


Source: (StackOverflow)

How to open a file for editing in Administrator mode?

I have .config files set to open in Notepad++. The files I edit are typically in protected locations (e.g. c:\windows\, c:\program files..., etc..) thus requiring administrator access.

I'd like to be able to double click on a .config file and have Notepad++ open with Administrator privileges. It's fine if the UAC prompt comes up.

Is there a way to do that?


Source: (StackOverflow)

How do I disable administrator prompt in Windows 8?

I am using Windows 8 Enterprise on my development machine. Most of the time, I need full administrator for debugging, changing system files, etc.

In Windows 7, setting UAC to "never notify" would disable any administrator prompts. In Windows 8 this is no longer the case. Even with UAC disabled I get prompted to grant programs elevated privileges.

Is there a way disable this behaviour?

Note: I am fully aware of the repercussions. I have antivirus, firewall, etc and am generally quite careful about what I download or install on my machine.


Source: (StackOverflow)

Delete hiberfil.sys on Windows 7

Ok, so I know what hiberfil.sys is, and I want to use hibernation on my laptop.

But I have another hard drive active in my laptop, it's taken from my old one... and I want to get rid of the hiberfil.sys on that drive. But even with admin privileges I can't delete it.

Any ideas?


Source: (StackOverflow)

Drag and Drop File into Application under run as administrator

Whenever I have an application running (Visual Studio 2008, Notepad, etc.) under "Run as Administrator", I cannot drag and drop files from Windows Explorer into the application.

I've tried running Windows Explorer as administrator, but to no avail.

Is there a way to get drag and drop to work when my applications are under "Run as Administrator"?


Source: (StackOverflow)

How many hours the PC has worked

I will buy a used PC and I want to know how many hours the PC has worked.

I have already found :

  • systeminfo | findstr /C:"Install Date"
  • systeminfo | findstr /C:"BIOS Version"

but I need to know how many hours the PC has worked (used)


Source: (StackOverflow)

Is there a faster way to open a process as Administrator (With UAC enabled)?

Currently (In Windows 10) - if I want to open a CMD prompt, I'll hit the Windows key, type CMD and hit Enter. If I want it open as an administrator, I have to right click the item and click Run As administrator. Is there a way I can do this without using the mouse?

enter image description here


Source: (StackOverflow)

Is there any point in using a strong password on a laptop if the HDD is not encrypted?

I was wondering whether an Admin password like "gW%94Slkx" on a laptop is any safer than, say, "abc" if your HDD is not encrypted. If you lose your laptop or if it gets stolen, all your data is easily accessible anyway. And there are shareware/freeware utilities to recover the password anyway. Any good reason for the finger excersise every time I start up my laptop?


Source: (StackOverflow)

How do I run control panel as administrator?

I have the following problem on my Windows 7 computer: I am a member of Administrators, but do not have full Superuser privileges. I have been told that this is by design, and that I need to explicitly "run as administrator" programs where I need Superuser privileges.

How do I do this with control panel?


Source: (StackOverflow)