Solved

Group Policy Preferences Question

Posted on 2008-10-06
4
265 Views
Last Modified: 2010-03-17
Within Group Polcy Preferences on server 2008 how can i do the following

if %computername%==WS1 goto end
batchfile.cmd

:end
0
Comment
Question by:titn003
  • 2
4 Comments
 
LVL 58

Expert Comment

by:tigermatt
ID: 22651890

Group Policy Preferences and Deployed Printers are applied using the general rules of Group Policy Scope and inheritance. Thus, if a deployed printer must not be mapped on a particular computer, you have to move the computer account out of the scope of the Group Policy object, so the settings do not inherit and the policy is not applied.

The easiest method is to simply go to the Group Policy in Group Policy Management, click the "Delegation" tab, then add a Deny permission for the appropriate computer object for the "Apply Group Policy" permission.

-tigermatt
0
 
LVL 54

Expert Comment

by:McKnife
ID: 22654373
In GPP, you have ->item level targeting (which is nothing else but a wmi filter), to filter which computers, users, cpu types... the preferences get applied to. Look at the dialogue box behind "common" in the preference settings.
0
 

Author Comment

by:titn003
ID: 22656816
Mcknife

So where can i run the batch file
0
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 22661227
GPP tries to be an easier substitute for scripts and batch files, so it does not offer to run batch files. What's the content/purpose of the batch? Is it intended to run once or again and again?
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question