WMI filter query of the last GPO in an OU fails

Hi,
I've noticed an interesting issue:
Server 2012 R2, Windows 7. GPO's. WMI Filters.
I've linked some GPOs to a specific OU (which exclusively contains users). For example, there are three objects which configure Word, Excel and PowerPoint 2010. I've created a WMI Filter to query wether Office 2010 is installed and mapped it to these
GPO's (I'm using the same filter for all these Office 2010 GPOs)
The problem: On my test client (Windows 7 Pro x64), all these Office GPOs are getting applied (which means that the Office 2010 WMI query returns 'true') except the last one (regarding the
link order). This last object is not applying because the WMI query returns 'false'.
Here's an example. My test user is located in an OU called 'TestOU' on which the mentioned Office 2010 GPOs are linked to. The link order of the GPOs is as follows: 1. Word 2010, 2. Excel 2010, 3. PowerPoint 2010.
In this case, the GPO called 'PowerPoint 2010' is not getting applied; the WMI filter returns 'false'. all other GPOs (using the same WMI filter) are getting applied. If i move the GPO named 'Excel 2010' to the end of the link order (1. Word 2010, 2. PowerPoint
2010, 3. Excel 2010), it's the Excel GPO which is not getting applied.
Any ideas?
Best regards,
eightcore
EDIT: After logging off and logging in again (client-side), the "last" GPO is getting applied. But that's not a solution in my point of view. My goal is to get all things done right after the first logon.

Hi eightcore,
Based on my knowledge, when a GPO that is linked to a WMI filter is applied on the target computer, the filter is evaluated on the target computer. If the WMI filter evaluates to false, the GPO is not applied (except if the client computer is running Windows 2000,
in which case the filter is ignored and the GPO is always applied).And in the same OU, the link order can tell us the applying order, and GPOs apply from the highest number to the lowest number.
According to your description, the GPO which has the highest link order number will not apply. To do further trooubleshooting, please test the following situation:
If delete the WMI filtering of the GPO which has the highest link order number, could the GPO apply sucessfully?
If there are only two GPOs, could the two GPOs applu sucessfully?
It would be helpful for future troubleshooting if you can provide the detailed information of the three GPOs.
Regards,
Lany Zhang

Similar Messages

  • Fill Interactive report Filter function with the last month

    Version: APEX 4.1
    Functions: Interactive Reports - Filter
    Image: http://i.imgur.com/tG7si.png
    http://i.imgur.com/UCoZ5.png
    Is it possible to have a button when click would filter the last month of whatever the current date is. (Without making a 2nd interactive report)

    Hi,
    I went quickly over this:
    http://anthonyrayner.blogspot.com/2008/07/dynamic-date-filtering-in-interactive.html
    This should help. it shows you how to prepare the URL of the wanted report. and you can choose button action Redirect to URL.
    There is more ... give me one minute :)
    Ok.. This is what you need:
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDDDFBF
    Regards,
    Fateh
    Edited by: Fateh on Jun 15, 2012 11:17 AM

  • A script that will query for the last successful backup to tape across all protected datasources

    I've searched trying to locate an existing script for this and come up empty so far but essentially what I am trying to do is have a script I can run that will query for the latest backup to tape that succeeded for each data source across all of the protection
    groups then output that time/date for each to a file.
    I'm extremely new to scripting so I am unsure of how to go about getting started with this so any help would be greatly appreciated!

    this should work
    foreach ($DS in $DSList)
    $RP=$DS | Get-RecoveryPoint | where {$_.Location -eq "Media"} | Sort-Object -Property Backuptime -Descending | select -First 1 | select *
    $Tape=Get-DPMTape -DPMLibrary $Library | where {$_.ID -eq $Rp.RecoverySourceLocations.MediaMapList.MediaId}
    $obj = New-Object -TypeName PSObject
    $obj | Add-Member Noteproperty -Name DatasourceName -value $DS.Name
    $obj | Add-Member Noteproperty -Name Sourcecomputer -value $DS.Computer
    $obj | Add-Member Noteproperty -Name BackupTime -value $RP.BackupTime
    #$obj | Add-Member Noteproperty -Name Location -value $Tape.Location.tostring()
    #$obj | Add-Member Noteproperty -Name Medialabel -value $Tape.Medialabel
    #$obj | Add-Member Noteproperty -Name Barcode -value $Tape.Barcode.Value
    $Array+=$obj
    Seidl Michael | http://www.techguy.at | twitter.com/techguyat |
    facebook.com/techguyat |
    youtube.com/techguyat

  • In an Analyzer report how can I filter based on the last member of a dimension?

    Using Analyzer 6.2.1What I'm trying to do is to create a report that shows always the last month available on the cube.I'd rather like to avoid having to add UDA or Alias or whatever in my outline.Is there a way to retrieve the last member of a dimension directly in Analyzer?

    "Substitution Variables" can do what you are asking for.

  • Error filter query on the portal: message dump

    HI,
         i tray to published some queries on the portal. In every query navigation, when we click on the “Filters” hyperlink and then on the “variable screen” button, the variable setting pop-up appears. After confirming the variable input with the OK button, we get the following dump message:
    <b>Failed to process request; contact your system administrator see attachment</b>
    <b>500 Internal Server Error</b>
    <b>BEx Web Application</b>
    Failed to process request; contact your system administrator
    [Hide]
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail, was: 
    java.lang.NullPointerException
    java.lang.NullPointerException
    at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.InfoObject.getName(InfoObject.java:642)
    at com.sap.ip.bi.webapplications.ui.queryviewactions.contextmenu.impl.ContextMenuAction.getLinkReference(ContextMenuAction.java:417)
    at com.sap.ip.bi.webapplications.ui.unifiedrendering.impl.BIEventRenderer.writeBiAction(BIEventRenderer.java:95)
    at com.sap.ip.bi.webapplications.ui.unifiedrendering.impl.BIEventRenderer.writeBiEvent(BIEventRenderer.java:51)
    at com.sap.ip.bi.webapplications.ui.unifiedrendering.impl.BIEventRenderer.writeEvent(BIEventRenderer.java:34)
    Details: Full Exception Chain
    Messages
    WARNING: There is a condit. on Store, results row suppress. active on Requested date[ZOIO_DTRI] (conditional
    System Environment
    Server
    BI Java     Release: 7 - Patch level: 0000000010 - Description: BI Web Applications Java - Additional info:  - Production mode: true
    BI ABAP     Release: 700 - Patch level: 0010 - Description: SAP NetWeaver BI 7.0 (SAP_BW) - Additional info:  - Production mode: true
    Java Virtual Machine     Java HotSpot(TM) 64-Bit Server VM - Sun Microsystems Inc. - 1.4.2_13-b06
    Operating System     SunOS - sparcv9 - 5.9
    Context
    Session Locale     en
    User     ciullog (USER.PRIVATE_DATASOURCE.un:ciullog)
    Time of Failure     Wed Oct 24 19:13:02 CEST 2007
    Initial Query String     BUILDTREE=false&NAVPATHUPDATE=false&QUERY=ZOQ_PRE_ORDINI_RIT
    Master System Alias     SAP_BW
    Request URL     https://prnnwtst.prenatal.it:51001
    Full Exception Chain
    com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while generating HTML
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2150)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:931)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:873)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:324)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:380)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:62)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:50)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:2735)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:2478)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2432)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2054)
         ... 36 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:83)
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:376)
         ... 42 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 47 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1184)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 52 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 61 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254)
         at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210)
         at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 65 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 75 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 79 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1184)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183)
    Thanks!
    Enzo

    Hello,
              Does the MultiProvider that contains an SAP RemoteCube , if so then try this depending on which system you are working.
    BW 3.0B
               Implement Support Package 24 for 3.0B (BW3.0B patch 24 or SAPKW30B24 ) in your BW system. The Support Package is available ifnote 0723193 with the short text "SAPBWNews BW Support Package 3.0B Support Package 24", which describes this Support Package in greater detail, is released for customers.
    BW 3.10 Content
               Implement Support Package 18 for 3.10 (BW 3.10 patch 18 or SAPKW31018) in your BW system. The Support Package is available oncenote 0723260 with the short text "SAPBWNews BW 3.1 Content Support Package  18", which describes this Support Package in more detail, has been released for customers.
    BW 3.50
               Implement Support Package 09 for 3.5 (BW3.50 patch 09 or SAPKW35009</>) in your BW system. The Support Package is available oncenote 0763335 with the short text "SAPBWNews BW Support Package 09 NetWeaver'04 Stack 09", which describes this Support Package in more detail, has been released for customers.
    hope it helps,

  • OTM  filter/query for the test cases with Test Steps seciton = Empty?

    Hi Folks,
    How to query/ fliter for all those test cases which does not have any test steps. They Test Step Section is empty. How to acheive this in OTM?

    this happens particularly when multiple people work on the same test case to update it from multiple machines.
    Edited by: OATS Explorer on Feb 22, 2012 4:10 AM

  • After installing the last version of iTunes, it failed to lunch and gave me 2 Error messages with Error 7 title , rebeat installation several times with the same Error message, what shall I do?

    Once I finish upgrading iTunes on my Windows PC, I had an Error as t shown on the image below which doesn't allow the iTunes App to lunch.
    Please advise what shall I do ?

    Uninstall your existing copy of iTunes. Delete any copies of the iTunesSetup.exe (or iTunes64Setup.exe) installer files from your downloads areas for your web browsers and download a fresh copy of the iTunes installer from the Apple website:
    http://www.apple.com/itunes/download/
    (The current build of the 11.1.4.62 installer was changed a few days ago, which fixed the bulk of the reports of MSVCR80.dll/R6034/APSDaemon.exe/Error-7/AMDS-could-not-start trouble ... but the build number on the installer was not changed. So we're trying to make sure you do the reinstall using a "new good" 11.1.4.62 installer instead of an "old bad".)
    Does the install with the new copy of the installer go through properly? If so, does that clear up the error message?
    If you still have the same error messages cropping up, then try the procedures from the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Filter from the last 12 months

    Hello
    I want to create a filter that shows the last 12 months os date. I am connect to a SQL database in which the database field is a date type. How do I create a filter that compares the actual date y and database field with the date. I can do it SQL by doing a where

    Hi,
    The following link will help you,
    [http://www.controlfreaks.nl/sites/default/files/BO%20universe%20date%20filters.pdf]
    Regards,
    Ragoth.C
    Edited by: Ragoth.C on Oct 7, 2011 9:19 AM

  • Using WMI Filter to apply group policy to users on computers in a security group

    Hello all,
    I've got a bunch of computers that I want to apply some user side polices that affect all users that log on to these specific computers (they are used for exams).
    Unfortunately it is company policy to have a flat OU structure and as such moving these computers into their own OU is out of the question. Which brings me to wanting to create a WMI filter to limit the policy to running on computers only within the security
    group and then set the security filtering to "Authenticated Users". The policy will be linked to the all student computers OU where a few thousand machines sit, but will only apply to 20 or so machines (I know it's messy).
    Anyway that brings me to my question, can someone point me in the right direction for how I would go about creating this WMI query?
    Cheers

    > I've got a bunch of computers that I want to apply some user side
    > polices that affect all users that log on to these specific computers
    > (they are used for exams).
    That's what "Loopback" initially was designed for. Nowadays, we can use
    some other tricks :)
    http://evilgpo.blogspot.de/2012/02/loopback-demystified.html
    http://blogs.technet.com/b/askds/archive/2013/02/08/circle-back-to-loopback.aspx
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How can I get only the last 2 rows?

    How can I narrow down a query to get only the last two rows in a table ?
    Thanks,
    Mohan

    Thanks a lot Ram for your suggestion but already I have a query which returns a set of rows, of which I would like to further filter and get the last two rows
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ramanuj Bangad ([email protected]):
    try out something like this if it helps.
    Example:
    select * from users
    where rownum <= (select count(*) from users)
    minus
    select * from users
    where rownum <= (select count(*) -2 from users )
    <HR></BLOCKQUOTE>
    null

  • How to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype

    Hi there,
    I was wondering whether anybody could tell me how to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype.
    Your help would be much appreciated.
    Many thanks,
    Timbuctoo

    Hi,
    To create a WMI filter
    1.In the Group Policy Management Console (GPMC) console tree, right-click
    WMI Filters in the forest and domain in which you want to create a WMI filter.
    2.Click
    New .
    3.In the
    New WMI Filter dialog box, type a name for the new WMI Filter in the
    Name box, and type a description of the filter in the Description box.
    4.Click
    Add .
    5.In the
    WMI Query dialog box, either leave the default namespace (root\CIMv2) or enter another namespace by doing one of the following:
    ◦ In the
    Namespace box, type the name of the namespace that you want to use for the WMI query.
    ◦ Click
    Browse , select a namespace from the list, and then click
    OK .
    6.Type a WMI query in the
    Query box, and then click OK .
    7.To add more queries, repeat Steps 4 through 6 to add each query.
    8.After adding all queries, click
    Save .
    In the Query box, type the following WMI query:
    Select * from Win32_Product where Name LIKE “%Skype%”
    Best Regards,
    Erin

  • Filter the last 3 months

    Hi All
    I'd like to ask a help with Desktop Intelligence
    I'm creating a report to show the number of Incidents closed in the last 3 months
    My query will return all incidents opened since 2008
    I want to use the filter in one tab to show only the last 3 months.
    How can I do that? I don't want to filter in the query. I want to filter in just one tab (report)
    Regards

    Hi,
    Assuming that with the last 3 months you mean the previous 3 months (if not then you can just adjust the logic described below).
    What is needed are 2 variables of type date. One representing a start_date and another the end_date. For the filter the date supplied by the query should be between the start_date and end_date.
    And to make it more flexible let's assume we want to be able to change the last 3 months into the last n months.
    Let's start with creating a variable for the last n months.
    For now it is nothing more than creating a variable named 'last_n_months' with the following formula
    =3
    Later on you can change the 3 in for example
    =UserResponse(dataprovider,prompt)
    or some kind of VBA result.
    For now we use this 'last_n_months' variable in the following formulas.
    Next we define the end_date which is the easiest of the 2 dates. For that we define a variable 'end_date' with the formula:
    =ToDate(FormatNumber(MonthNumberOfYear(CurrentDate()) ,"00") + "01" +
    FormatNumber(Year(CurrentDate()) ,"0000") ,"mmddyyyy") - 1
    We calculate the first day of the current month and subtract 1 day resulting in the last day of the previous month.
    Before creating the start_date variable we create 2 additional variables.
    The first one calculating the start_month
    = If MonthNumberOfYear(CurrentDate()) - <last_n_months> <= 0
    Then 12 +  Mod(MonthNumberOfYear(CurrentDate()) - <last_n_months> , 12)
    Else MonthNumberOfYear(CurrentDate()) - <last_n_months>
    The use of the Mod-function is to take care if the number of 'last_n_months' exceeds a one or more years (e.g. last 56 months).
    The second one calculating the start_year
    = If MonthNumberOfYear(CurrentDate()) - <last_n_months> <= 0
    Then Year(CurrentDate()) + (Truncate((MonthNumberOfYear(CurrentDate()) - <last_n_months>) / 12 ,0) - 1)
    Else Year(CurrentDate())
    With the truncate we calculate the number of years to be subtracted from the current year plus one additional year which needs to be subtracted.
    The variable start_date will then be
    You can then now define a filter with the formula:
    =<query_date> >= <start_date> And <query_date> <= <end_date>
    Hope this helps.
    Harry

  • Exclude individual computers from a GPO using WMI Filter

    I understand I can use security settings to Deny Apply Group Policy to certain users thus excluding them from a GPO, but I'm wondering if I can use a WMI filter to exclude certain computers from a GPO that contains only Computer Configuration policies.
    Root\CimV2; select Name from Win32_ComputerSystem where (Name <> "COMPNAME")
    This would evaluate to True on all except the COMPNAME computer and therefore should exclude the COMPNAME computer.  Could this be expanded to exclude a second computer with: Or Name <> "COMP2" ?
    Is this correct?  Has anyone else gotten this to work?

    Am 16.09.2014 um 21:20 schrieb john1519:
    > Root\CimV2; select Name from Win32_ComputerSystem where (Name <> "COMPNAME")
    select Name from Win32_ComputerSystem where (Name <> "COMPNAME1" and
    Name <> "COMPNAME2" [...])
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • GPO - WMI Filter - AD User Attributes

    Hello! I am creating a GPO for shares drives and the only way I can do this for a specific group is by pointing it the AD user account. (The below 2 Attributes have been decided by the AD Administrator)
    General - Office: "Site Location" (this will have 3 different site locations)
    Telephones - Pager: "Home Based"
    The 3 GPOs will be attached at the Home Based OU. Other options has been looked into (AD Groups etc) but this done now work, and the only option is via WMI above.
    Any assistance on how i could create the WMI, and if it is possible as I have never created an AD WMI related query. If i am not clear, please let me know!
    GPO - 2008 R2
    Thanks in advance

    > Hi Alex, yes i have looked at this way. Unfortunately, the OUs are so
    > scattered with other GPO attached at various levels that this is not
    > possible. I may need to look down ILT with an LDAP query so, assumed WMI
    > was the way forward.
    In this scenario, WMI is not the way, but ILT with LDAP queries should
    do the job perfectly :)
    Greetings/Grüße,
    Martin
    Mal ein
    gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me -
    coke bottle design refreshment (-:

  • How to get the last row in a resultset or query

    Hi All
    Say If I have a complex query which returns a resultset say 15 rows. Now I want to limit the output showing only the last row.
    How can we do this

    Keep in mind Oracle does not keep "row" order as such. Unlike a graphical type db like Access, Oracle will not always give you back the results in order.
    Even if you were to use a sequence, your query is never guaranteed to give back the results in the order you are expecting. You must then give an order by statement to all queries expecting the order.
    Your definition of last row too is vague - if it is in fact the greatest amount, use the inline view suggestion. If you simply want to see the last inserted row, consider adding a last_update_date column inserting the sysdate (by a trigger perhaps). This would then allow you to see the last inserted row.
    Enjoy!

Maybe you are looking for