Thursday 1 February 2024

Enable Standard Users to Run a Program with Admin Rights in Windows

 If you have multiple users using your system, then you are most probably assigning them the standard user accounts. This allows you to regulate what they install and how they can manipulate the system and application settings. As good as that is, you sometimes may need to allow a standard user to run a program with admin rights.

In those situations, you can use a free third party utility called RunAs Tool. But if you don’t want to use a third-party tool, here is how you can create your own shortcut of the target program in such a way that it runs with the admin rights without entering any admin password whatsoever.

Let Standard Users Run Programs as Admin

To let standard users run a program with administrator rights, we are using the built-in Runas command. To start, you need to know two things before you can do anything. The first is the computer name, and the second is the username of your administrator account.

If you don’t know the computer name, press Win + X, then select the “System” option.

win-run-as-admin-select-system

The above action will open the System window. Here you will find your computer name listed.

How To Enable Standard Users To Run A Program With Admin Rights Device Name

You can find your administrator username in the User Accounts window. Go to “Start -> Settings -> Accounts -> Your Info.”

How To Enable Standard Users To Run A Program With Admin Rights User Name

Once you have the details, you can create the shortcut. To do that, right-click on your desktop and select the “New” option, then “Create Shortcut.”

win-run-as-admin-new-shortcut

The above action will open the “Create Shortcut” window. Click on the “Browse” button and select the application you want users to run with admin rights.

win-run-as-admin-create-shortcut-window

In my case, I’m selecting a simple application called Search Everything. This app indexes your entire system to find files faster and requires admin rights to work. You can also set up Enhanced Search to search Windows 10.

After selecting the application, this is how the “Create Shortcut” window looks.

How To Enable Standard Users To Run A Program With Admin Rights App

Enter the following command at the beginning of the file path. Don’t forget to replace ComputerName and Username with the actual details.

runas /user:ComputerName\Username /savecred

The completed command looks something like this.

runas /user:ComputerName\Username /savecred "C:\path\to\file.exe"
How To Enable Standard Users To Run A Program With Admin Rights App Shortcut

Once you are done, click on the “Next” button to continue.

Enter the name of the shortcut and click on the “Finish” button.

How To Enable Standard Users To Run A Program With Admin Rights App Shortcut Name

That’s it. You’ve created a custom shortcut for your program. By default, the shortcut you’ve created will not have a proper icon.

How To Enable Standard Users To Run A Program With Admin Rights Shortcut Icon

However, you can change the icon by clicking on the “Change Icon” button from the Properties window. You can access the Properties window by right-clicking on the shortcut, then selecting the option “Properties.”

How To Enable Standard Users To Run A Program With Admin Rights Icon Change

Once you are done changing the icon, double-click on it. The first time, you need to enter the administrator password. Enter it and press the Enter button.

How To Enable Standard Users To Run A Program With Admin Rights Pass Prompt

After the first time, whenever a user launches the application using the shortcut you just created, it will be launched with admin rights. The savecred option in the above command will save the admin password so that users can run the application as an admin without actually entering the password.

In fact, if you open the Windows Credentials Manager and navigate to “Windows Credentials,” you will see the saved password.

How To Enable Standard Users To Run A Program With Admin Rights Credentials

If you ever want to restrict the user from running the target app as an administrator, simply delete the shortcut or remove the saved credential from the Windows Credential Manager.

Change Permissions

While the shortcut method typically works the best overall, you can also change the permissions on the program or folder the standard user needs access to. This gets tricky, though. While you may give them full access to execute a program, this won’t give them access to edit other parts of the system which the program may require, such as the registry.

However, it’s worth trying. This only adds the ability to run a program with admin rights to a specific program or folder.

Navigate to the program’s folder. In my tests, certain programs worked just by changing the permissions on the executable itself, while others required access to the entire folder.

If you’re giving users control over the folder, right-click the folder and select “Properties.” Select the “Security” tab. If you’re giving access to just the executable, right-click the executable and select “Properties” and “Security.”

Enable A Standard User To Run A Program With Admin Rights Security

Select “Edit.” Either choose the user from the provided list and change the permissions to “Full Control” under Allow, or select “Add” to add a new user and give them Full Control access.

Enable A Standard User To Run A Program With Admin Rights Permission

Press Apply to save your changes. You need to be logged in as an administrator to do this.


Reference - https://www.maketecheasier.com/standard-users-run-program-admin-rights/

Thursday 24 August 2017

32 Secret Combinations on Your Keyboard

Win keyboard

  • ⊞ Win — opens the Start Menu, in Windows 8.1 — opens the previous window;
  • ⊞ Win + A — opens the Action Center (in Windows 10);
  • ⊞ Win + B — selects the first icon in the Notification Area (you can then switch between the icons using the arrow keys);
  • ⊞ Win + Ctrl + B — switches to a program indicating a new message in the Notification Area;
  • ⊞ Win + C shows the Charm Bar (in Windows 8 and 8.1); in Windows 10 it opens Cortana (if you’re using a supported language);
  • ⊞ Win + D — shows the desktop (immediately minimizes all the opened windows);
  • ⊞ Win + E — opens Windows Explorer; in Windows 10 opens the Quick Launch by default;
  • ⊞ Win + F — opens ’Find files and folders’;
  • ⊞ Win + Ctrl + F — opens ’Find computers’;
  • ⊞ Win + G — brings all gadgets to the foreground that are in process (only in Windows 7 and Vista); opens the Game bar in Windows 10;
  • ⊞ Win + K — opens a new Start menu — Connections (in Windows 8 and 8.1);
  • ⊞ Win + L — changes user or locks the workstation;
  • ⊞ Win + M — minimizes all windows;
  • ⊞ Win + ⇧ Shift + M — restores windows that were minimized;
  • ⊞ Win + O — locks device orientation (disables the gyroscope function on tablets);
  • ⊞ Win + P — switches operating modes to an external monitor/projector (only in Windows 7 and newer);
  • ⊞ Win + Q — opens Search charm for installed apps (checked in Windows 8);
  • ⊞ Win + R — opens the ’Run dialog’ box;
  • ⊞ Win + T — switches focus to the Taskbar (only in Windows 7 and newer);
  • ⊞ Win + U — opens the Utility Manager;
  • ⊞ Win + W — opens Windows Ink Workspace (notes, screenshots);
  • ⊞ Win + X — opens the Windows Mobile Application Center (only for mobile computers in Windows Vista and 7);
  • ⊞ Win + Y — starts Yahoo! Messenger (if installed).

OS X keyboard

  • Command + Up Arrow — Immediately scroll to the top of any webpage.
  • Command + Down Arrow — Immediately scroll to the bottom of any webpage.
  • Command + Semicolon — Cycle through misspelled words in any given document.
  • Command + 1 (2, 3) — Use this shortcut to conveniently cycle through any open tabs you have in your browser. Command + 1 will take you to the first tab, Command + 2 will take you to the second, and so on.
  • Option + Delete — This handy keyboard shortcut will delete words one word at a time, as opposed to one letter at a time. This works all across OS X, whether you’re typing in TextEdit or even when typing a website into your browser’s URL bar.
  • Command + H — Quickly hide all open windows from the currently active app.
  • Command + Shift + T — Instantly open up the most recently closed tab in your browser. This is a lifesaver if you accidentally close a window and can’t remember the URL.
  • Command + F3 — This handy shortcut instantly removes all app windows from view and lets you take a gander at your desktop. To bring your apps back, simply press the keys again.
  • Option + Shift + Volume Up/Volume down — Increase or decrease your machine’s volume in much smaller increments. This comes in especially handy when you’re trying to get your audio output levels just right.

Wednesday 14 December 2016

9 Simple Math Tricks You’ll Wish To Know For Lifetime

9 Simple Math Tricks You’ll Wish To Know For Lifetime


Mathematics has always maintained its reputation as a nightmare among students. We detest solving maths problems since forever.
But exceptions are always there. Some genius minds take great pleasure in solving tricky mathematical questions. It helps them in enhancing their calculative abilities.
Well, if you ask me, I would say that I have never liked maths. It is the worst, I would say. Sometimes I feel like-Is this all even makes any sense.
However if you want to improve your calculative abilities and cultivate your skills in solving maths in the most easiest way possible then you have arrived at the right place. These hacks will help you solve mathematical problems in an instant.
1. Multiplying big figures quickly.
2. Here is the easiest way to learn the table of 9 for kids
3. Add and subtract fractions in one go
4. Multiply any number with 11 using this method. Your answer will always be right.
5. This is an ultimate trick to memorize Pi number.
6. Multiply numbers by 6,7,8,9 on your fingers.
7. Calculate percentage of a number easily
8. Here is a hack to find the fraction of a whole number
9. How to convert Celsuis to Farenheit and vice-versa.