Skip to main content
Loading...

Featured Post

Game Of Thrones Season 8 - End Game With Sinhala Subtitles

Flipboard

Flipboard

Block users from installing or running programs in Windows 7 / 8

You can if you wish restrict users from installing or running programs in Windows 8, Windows 7 , Windows Vista, Windows XP , Windows 2000 & Windows Server family. You can do so by using certain Group Policy settings to control the behavior of the Windows Installer, prevent certain programs from running or restrict via the Registry Editor.

The Windows Installer, msiexec.exe, previously known as Microsoft Installer, is an engine for the installation, maintenance, and removal of software on modern Microsoft Windows systems.

Disable or restrict the use of Windows Installer via Group Policy


Type gpedit.msc in start search and hit Enter to open the Group Policy Editor. Navigate to Computer Configurations > Administrative templates > Windows Components > Windows Installer. In RHS pane double-click on Disable windows installer. Configure the option as required.
This setting can prevent users from installing software on their systems or permit users to install only those programs offered by a system administrator. If you enable this setting, you can use the options in the Disable Windows Installer box to establish an installation setting.
The “Never” option indicates Windows Installer is fully enabled. Users can install and upgrade software. This is the default behavior for Windows Installer on Windows 2000 Professional, Windows XP Professional and Windows Vista when the policy is not configured.
The “For non-managed apps only” option permits users to install only those programs that a system administrator assigns (offers on the desktop) or publishes (adds them to Add or Remove Programs). This is the default behavior of Windows Installer on Windows Server 2003 family when the policy is not configured.
The “Always” option indicates that Windows Installer is disabled.
This setting affects Windows Installer only. It does not prevent users from using other methods to install and upgrade programs.

Always install with elevated privileges


In the Group Policy Editor, navigate to User Configuration > Administrative Templates > Windows Components. Scroll down and click Windows Installer and configure it to Always install with elevated privileges.
This setting directs Windows Installer to use system permissions when it installs any program on the system.
This setting extends elevated privileges to all programs. These privileges are usually reserved for programs that have been assigned to the user (offered on the desktop), assigned to the computer (installed automatically), or made available in Add or Remove Programs in Control Panel. This setting lets users install programs that require access to directories that the user might not have permission to view or change, including directories on highly restricted computers.
If you disable this setting or do not configure it, the system applies the current user’s permissions when it installs programs that a system administrator does not distribute or offer.
This setting appears both in the Computer Configuration and User Configuration folders. To make this setting effective, you must enable the setting in both folders.
Skilled users can take advantage of the permissions this setting grants to change their privileges and gain permanent access to restricted files and folders. Note that the User Configuration version of this setting is not guaranteed to be secure.

Don’t run specified Windows applications



In the Group Policy Editor, navigate to User Configuration > Administrative Templates > System
Here in RHS pane, double click Don’t run specified Windows applications and in the new window which opens select Enabled. Now Under Options click Show. In the new windows which opens enter the path of the application you wish to disallow; in this case : msiexec.exe.
This will disallow Windows Installer which is located in C:\Windows\System32\ folder from running.
This setting prevents Windows from running the programs you specify in this setting. If you enable this setting, users cannot run programs that you add to the list of disallowed applications.
This setting only prevents users from running programs that are started by the Windows Explorer process. It does not prevent users from running programs, such as Task Manager, that are started by the system process or by other processes. Also, if you permit users to gain access to the command prompt, cmd.exe, this setting does not prevent them from starting programs in the command window that they are not permitted to start by using Windows Explorer. Note: To create a list of disallowed applications, click Show. In the Show Contents dialog box, in the Value column, type the application executable name (e.g., msiexec.exe).

Restrict Programs from being installed via Registry Editor


Open Registry Editor and navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer\DisallowRun
Create String value with any name, like 1 and set its value to the program’s EXE file.

e.g., If you want to restrict msiexec, then create a String value 1 and set its value to msiexec.exe. If you want to restrict more programs, then simply create more String values with names 2, 3 and so on and set their values to the program’s exe.

Comments

Related Posts Plugin for WordPress, Blogger...
Loading...

Popular posts from this blog

Dell XPS 13 9380 (2019) Review

Dell's flagship laptop returns to us in 2019 with refreshed specs, a brand new webcam design and a cheaper model. We review the XPS 13 9380 in full.
Should I Buy The Dell XPS 13 (2019)?
The XPS 13 for 2019 ticks all the boxes. It looks great, the build quality is excellent, it’s nice and portable and has a wide range of specs to choose from.
While not a massive upgrade from last year's model, it’s had some solid refinement including getting the webcam back into the top bezel and also introduces a more affordable Core i3 edition.

Samsung Galaxy S9 vs Samsung Galaxy S10e

Samsung's Galaxy S range has been updated and here we compare the S10e - the new 'lite' model - to last years' Galaxy S9 to help you decide which phone is best for you.
Should I Buy The Samsung Galaxy S10e Or Samsung Galaxy S9?
The S10e could be the sleeper hit of this year. It doesn’t have the embedded fingerprint sensor of the S10 and S10 Plus or their triple cameras, but it comes with the same processors, new screen design, ultra-wide camera, and all in a compact and comfortable format with a smaller price-tag.
That being said, the S9 is still an excellent device, and its new, lower price makes it a definite bargain.

Huawei P30 Pro Release Date, Price & Specs Rumours

Huawei's MWC press conference didn't include an announcement of the P30 range. Instead, it will hold a launch event in Paris at the end of March. We round up rumours, speculation and more on the new Huawei line-up, including the expected P30 release date, price and specifications.

Huawei Mate 20 X Review

The Huawei Mate 20 X is an obscenely large smartphone but it has many of the features of the Mate 20 Pro for less. Here’s our full review of the huge premium slab
Should I Buy The Huawei Mate 20 X?
With a bigger screen, bigger battery and smaller notch than the Mate 20 Pro, the Huawei Mate 20 X also has the same camera set up and adds a headphone jack. If you want the most screen possible, it might be for you. 
You lose the curved display, wireless charging, full water resistance and secure Face ID but for many that won’t matter if a huge display, outstanding camera and great performance are top of your list. If you want a normal size phone, get the Mate 20 Pro.

iHealth Core Review

This smart scale from iHealth offers detailed body composition measurements, from BMI to visceral fat rating. Find out what we think in our iHealth Core review.
Should I Buy The iHealth Core? We like the way that the Core and Lite scales interact with the other iHealth products, and the Core offers a bunch of useful metrics with which to monitor your health. Setup is easy and the app's graphs give a decent visual representation of your health-metric trends as you progress.

Like Fan Page