 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - AppLocker - Create New Rules
AppLocker - Create New Rules How to Create New Rules in Windows 7 AppLocker
Published by Brink
04-25-2009
| AppLocker - Create New Rules How to Create New Rules in Windows 7 AppLocker  Information AppLocker is a new feature in Windows 7 and Windows Server 2008 R2 that replaces the Software Restriction Policies feature. This will show you how to enable and create new rules in AppLocker to help control how users can access and use files, such as executable files, scripts, Windows Installer files, and DLLs in Windows 7.
For more details information about AppLocker, please see: AppLocker: Frequently Asked Questions  Note The AppLocker Microsoft Management Console (MMC) snap-in is organized into four areas called rule collections. The four rule collections are executable files, scripts, Windows Installer files, and DLL files. These collections give you an easy way to differentiate the rules for different types of applications. The following table lists the file formats included in each rule collection. | Rule Collection | Associated File Formats |
|---|
| Executable Rules | .exe and .com | | Windows Installer Rules | .msi and .msp | | Script Rules | .ps1, .bat, .cmd, .vbs, and .js | | DLL Rules | .dll and .ocx |  Warning AppLocker requirements
AppLocker enforcement is available in all editions of Windows Server 2008 R2 and in Windows 7 Ultimate and Windows 7 Enterprise. To use AppLocker, you need: - You must be logged in as an administrator to be able to do this tutorial.
- Only a computer running Windows Server 2008 R2, Windows 7 Ultimate, or Windows 7 Enterprise can both create and enforce AppLocker rules.
- While you can create AppLocker rules on computers running Windows 7 Professional, they will not be enforced on those computers. However, you can create the rules on a computer running Windows 7 Professional and then export the policy for implementation on a computer running an edition of Windows that does support AppLocker rule enforcement.
- For Group Policy deployment, at least one computer with the Group Policy Management Console (GPMC) or Remote Server Administration Tools (RSAT) installed to host the AppLocker rules.
- Computers running Windows Server 2008 R2, Windows 7 Ultimate, or Windows 7 Enterprise to enforce the AppLocker rules that you create.
EXAMPLE: Blocked Message NOTE: This is the type of message users will see when they try to access a file that has had a rule created for it in AppLocker set to deny (step 7) for that user or user's group.  Here's How:1. If you have not already, then you will need to change the Application Identity service to be set as Started and Automatic. (See screenshot below) 2. Open the Local Security Policy editor. 3. In the left pane, double click on Application Control Policies to expand it, then select a rule collection that you want to create a new rule in. (See screenshot below) NOTE: The rule collection will be either the Executable Rules, Windows Installer Rules, Script Rules, or DLL Rules collection. You will need to enable the DLL Rules to be able to have it available. See the NOTE box at the top of the tutorial for more on these. 4. If you have not already created default rules for the selected rules collection, then you will need to right click on the selected rule collection and click on Create Default Rules. (See screenshot below) NOTE: For example, I will be using Executable Rules in this tutorial.
.  5. Right click on the selected rule collection, and click on Create New Rule. (See screenshot below) 6. Click on the Next button at the bottom. (See screenshot below) 7. Select Allow or Deny as the action you want to use for the selected User or Group. (See screenshot below) NOTE: An allow action permits affected files to run, while a deny actions prevents affected files from running. The affected files depends on what rule collection you selected in step 3. 8. If you do not want to have this rule applied to Everyone (default), then click on the Select button to select the User or Group you want to allow or deny instead. (See screenshot above) NOTE: If you do want to have this rule apply to Everyone, then skip this step and go to step 12. 9. To Enter a User Name to Apply the Rule to NOTE: This is if you know the user account name that you want to apply this rule to and just want to enter it instead of selecting it from a list.A) Type the user account name and click on the Check Names button. (See screenshot below) NOTE: For example, I want to apply this rule to a user with the user account name of Example Standard. B) Go to step 11. 10. To Select a User or Group to Apply the Rule toA) Click on the Advanced button instead. (See screenshot below step 9A)
B) Click on the Find Now button, select the User or Group that you want to apply this rule to, and click on OK. (See screenshot below) NOTE: For example, I want to apply this rule to a user with the user account name of Example Standard.
11. Click on OK. (See screenshot below) 12. Click on Next. (See screenshot below) 13. If you want a Publisher Rule Condition NOTE: This condition identifies an application based on its digital signature and extended attributes. The digital signature contains information about the company that created the application (the publisher). The extended attributes, which are obtained from the binary resource, contain the name of the product that the application is part of and the version number of the application. The publisher may be a software development company, such as Microsoft, or the information technology department of your organization. Use a publisher condition when possible. Publisher conditions can be created to allow applications to continue to function even if the location of the application changes or if the application is updated.A) Select (dot) Publisher, and click on Next. (See screenshot below) B) Click on the Browse button. (See screenshot below) C) Navigate to the file you want to allow or deny access to, select it, and click on Open. (See screenshot below) D) Use the slider to select which properties you want incuded to define the rule with. As you move the slider down, the more properties are added and makes the rule more specific for the selected file above. Click on Create. (See screenshot below) E) The rule has now been added. (See screenshot below) F) Go to step 16. 14. If you want a Path Rule Condition NOTE: This condition is used to select a specific file or folder path location on your computer or on the network.A) Select (dot) Path, and click on Next. (See screenshot below) B) Select Browse Files or Browse Folders path to apply this rule to. If you specify a folder path, then all files in that folder will be included and affected by this rule. C) Navigate to the file or folder that you want allow or deny access to, select it, and click on Open or OK. (See screenshots below) D) Click on the Create button. (See screenshots below) E) The rule has now been added. (See screenshots below) F) Go to step 16. 15. If you want a File Hash Rule Condition NOTE: When the file hash condition is chosen, the system computes a cryptographic hash of the identified file. Select this option if you want to create a rule for an application that is not signed.A) Select (dot) File hash, and click on Next. (See screenshot below) B) Select Browse Files or Browse Folders path to apply this rule to. If you specify a folder path, then all files in that folder will be included and affected by this rule. C) Navigate to the file or folder that you want allow or deny access to, select it, and click on Open or OK. (See screenshots below) D) The file or files in the folder have been added. Repeat steps 15B and 15C to add any more files to be included in this rule. (See screenshot below) NOTE: To remove a file, select it and click on the Remove button. E) When done, click on the Create button. (See screenshot above)
F) The rule has now been added. (See screenshot below)
16. Repeat this tutorial to add another rule to any one of the Rule Collections. NOTE: This will be either the Executable Rules, Windows Installer Rules, Script Rules, or DLL Rules collection. You will need to enable the DLL Rules to have it available. See the NOTE box at the top of the tutorial for more on these. 17. When done, close the Local Security Policy editor. That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 34,657 | |
 Tutorial Tools | | | | | | | | | |
04-25-2009
|
#1 | | |
good job on the tut
MS still needs to become more user/family friendly for restricting application access... some done in parental controls, so they are on the right foot... just need to lift that left foot and bring it forward.
| My System Specs | | System Manufacturer/Model Number CUSTOM OS XP/win7 x86 build 7127 CPU Athlon64 X2 DUAL 4200+ 2.21ghz Motherboard ASUS K8 PRO SLI Memory 2GB Dual Chan DDR2 Corsair Graphics Card Nvidia 6800GT Sound Card nvidia Monitor(s) Displays 19' LCD Screen Resolution 1280x1024 Keyboard MS wireless Mouse MS Wireless PSU coolermaster 450 Case SUPERFLOWER Cooling 1 HDD bay fan, 5x80mm Case Fans, AEROGATE II Fan/Temp Hard Drives WD 250, 2x500, 2x1TB IDE/USB
WD 250 SATA (system)
SEAGATE 120 Sata Internet Speed fassssssssst |
04-25-2009
|
#2 | | Windows 7 Ultimate x64 SP1 |
Thank you Digger.
This feature has a lot more options to help restrict users and groups from running applications according to it's publisher, product name, file name, and/or file version. It's pretty nice. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
07-14-2010
|
#3 | | Dual Boot: Windows 7 Ultimate x64 SP1 & Ubuntu Oneiric 11.10 |
I'm just starting to explore the potentials of this extremely excellent and capable feature on my PC and although not "user friendly" to the common consumer, it is certainly a very simple and effective tool for those IT professionals in need of certain protections by other User Accounts or networked connections. I LOVE APPLOCKER! | My System Specs | | System Manufacturer/Model Number Dell Inspiron 530 OS Dual Boot: Windows 7 Ultimate x64 SP1 & Ubuntu Oneiric 11.10 CPU Intel Wolfdale Core 2 Duo E8200 @ 2.66GHz (333mhz FSB 1:1) Motherboard Foxconn G33M02 Phoenix - AwardBIOS v6.00PG Memory 4GB Dual DDR2 Samsung PC2-5300 (333mhz / FSB 1:1) Graphics Card ATI Radeon HD 2600 XT GDDR3 256MB (PCIe) Sound Card Realtek High Definition Audio ALC888 7.1 Channels Monitor(s) Displays 22" Wide Screen Dell SP2208WFP w/ HDMI, Webcam & Dual Mics Screen Resolution 1680 x 1050 SD ; 1280 x 720 HDTV Keyboard Logitech S510 Wireless Mouse Logitech S510 Wireless PSU 350W Stock Case Dell OEM Stock Cooling Dual 9mm fans Hard Drives Hitachi Deskstar P7K500 - 500GB - 7200rpm +
Seagate FreeAgent - 1TB - 7200rpm Internet Speed DL: 36.01 MBs / UL: 5.8 MBs (Optimum Boost) Other Info Network Interfaces: Broadcom 802.11g NIC (4318) ; Intel 82562V-2 10/100 ; Bluetooth 2.0 +EDR AppLocker - Create New Rules problems? All times are GMT -5. The time now is 12:09 PM. |  |