Query for specific registry key

hi all,
could someone,help me on how to query sms DB about specific registry key.
i need to create collection based on this query:
all machines that have on the HKLM\software\microsoft\sms\mobile client\software distribution\execution history\system
path a specific package ID entry.

Look at Program Rerun behavior setting on an advertisement
http://technet.microsoft.com/en-ca/library/bb694016.aspx
Program rerun behavior
Specifies whether the advertised program will be rerun on the client computer if it has previously been run before the scheduled mandatory time.
Always rerun program: The program will always be rerun on the client when the advertisement is scheduled, even if the program has already
been successfully run. This is particularly useful when using recurring advertisements in which the program is routinely updated, as with some virus detection software.
http://www.enhansoft.com/

Similar Messages

  • Where can I find the reference for modifying registry key for acrobat reader

    I am a Web Developer and I need to limit the option the user may choose in acrobat reader plugin.
    I doubt if there is option to configure in Windows Registry on HKCU\Software\Adobe\Acrobat Reader\9.0\PrefsDialog.
    Anyone know where I can find the reference for those registry key?
    I have downloaded sdk91_v2_win.zip file but I cannot find any reference.

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • How to query for specific filename

    I'm using a modified folder_action script to ftp files up to a server once they're finished being created.
    Is there a way to query for a specific filename to be present in the folder prior to passing it to the actual ftp function? The catch is that the filename will always be in the format of <mmddyy>.mp4. During the process that is creating the actual file to be ftp'd, various temp files are created prior. I'd like to ensure that only the final version of the mp4 is acted upon, which is the one with the mmddyy as the filename.

    The folder action already has the folder and the item paths passed to it, so you can get the individual file name by using something like:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to this_folder after receiving added_items
    repeat with AnItem in added_items
    if text (count (this_folder as text)) thru -1 of (AnItem as text) is "<mmddyy>.mp4" then
    -- whatever
    end if
    end repeat
    end adding folder items to
    </pre>
    There are also temporary folders that the system provides, so you shouldn't have to use the folder with the attached action at all:
    get path to temporary items
    get path to temporary items from user domain

  • How to read the default value for a Registry Key

    I am trying to use webutil 1.0.2 Client_win_api_environment.read_registry to read the client registry key HKEY_CLASSES_ROOT\.xls, but the function is raising no_data_found. I can read the registry key in Regedit. I am logged on as myself as a non-admin NT user.
    P.S: The Client_win_api_environment.read_registry can actually read HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\FORMS90_PATH because FORMS90_PATH is a registry ENTRY, whereas .xls in HKEY_CLASSES_ROOT\.xls is a KEY, but I still need the DEFAULT value of the key and it does NOT seem to work with client_win_api_environment.read_registry
    My platform: Windows NT 4, Developer 9i 9.0.2.12.2, Oracle database 9.2.0.4.0, Oracle 9iDS
    Webutil.log
    ===========
    192.168.0.99:Lewis: 2003-Dec-17 16:36:44.998 WUL[getProperty()] Getting property WUL_ADD_PARAMETER
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.08 WUL[getProperty()] Value of WUL_ADD_PARAMETER=3
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.08 WUL[setProperty()] Setting property WUL_PARAM_PROPERTIES to B|14|33|50|0|2000
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.28 WUL[getProperty()] Getting property WUL_ADD_PARAMETER
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.28 WUL[getProperty()] Value of WUL_ADD_PARAMETER=4
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.38 WUL[setProperty()] Setting property WUL_PARAM_PROPERTIES to B|14|33|50|0|0
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.48 WUL[getProperty()] Getting property WUL_ADD_PARAMETER
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.48 WUL[getProperty()] Value of WUL_ADD_PARAMETER=5
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.58 WUL[setProperty()] Setting property WUL_INVOKE_SPEC to 1|14|33
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.68 WUL[getProperty()] Getting property WUL_INVOKE
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.68 WUL[getProperty()] Value of WUL_INVOKE=-1
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.78 WUL[setProperty()] Setting property WUL_PARAM_PROPERTIES to F|14|3
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.88 WUL[getProperty()] Getting property WUL_PARAM_VALUE
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.88 WUL[getProperty()] Value of WUL_PARAM_VALUE=
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.98 WUL[setProperty()] Setting property WUL_DESTROY_PARAMLIST to 14
    192.168.0.99:Lewis: 2003-Dec-17 16:36:45.98 WUL[VBeanCommon.eraseFromObjectCache()] Removed cache reference to Object 14
    Lewis Choo Man
    CMIC,
    Canada.

    Hi Manohar,
    You have to give Distribution Key "1" in the Plannner Profile as well as if you take a column for Distribution Key seperately in  your Planning Layout for Cost Element Planning, in the Excel file, you can give Distribution Key as "1" in the respective column. When you upload the data through Excel, the system will take the DKey as "1" only.
    I hope it will solve your problem. Pls revert back for further assistance..
    Srikanth Munnaluri

  • JPQL Query for specific usecase, help needed

    Does anyone knows how to write the JPQL query for this specific use case.
    Take 3 tables,
    Table 1 contains bids for many auctions (Bid table)
    Table 2 Contains many auctions (Auction Table)
    Table 3 contains many users (User Table)
    I need a query to retrieve all the highest bids per auction for a particular user.
    For example if the user has bidded on 10 auctions., but for each auctions has placed 3 bids each. Following the query, I would expect to get 10 bids back, each being the highest per auction.
    A Bid has a bid value that can be used for filtering.
    Thanks
    Peter

    It would be something like the JPQL version of 'select * from bids join auctions using (auction_id) where bids.userid = ? group by auctions.auction_id order by bids.amount desc'. But this is primarily an SQL question, and only secondarily a question as to how to translate that into JPQL, which should be straightforward.

  • Create POWL query for specific user (not self)

    Hello All,
    was wondering if anyone had an idea on how to create a POWL query for a specific user. Even the low level method in class CL_POWL_QUERY_ACCESSOR seem to assume that you either are creating an administrator query for any/everyone or just for yourself.
    One option is to create multiple queries (for each selection criteria that I want) and assign these directly to user (rather than the role) in the config - but that's config that I'd need to transport up - for what is essentially user level personalisation.
    My strong favourite at the moment is to throw a breakpoint in CL_POWL_QUERY_ACCESSOR and manually change the user name as I save new queries in directly in production - but that's not exactly the cleanest solution.
    Surely someone has had a need to actually create queries for users, not just delete them as per program POWL_D01?
    Many thanks for any hints and tips
    Cheers,
    Chris

    Well - I should point out that you don't have to transport those user assignment of queries - tables are production maintainable. However, you do have to transport up the query itself - so not ideal.
    Oh well - don't think this one has an answer => closing it to open another question.
    Cheers,
    Chris

  • Make the data for a registry key point to the installati​on folder of my app.

    I have an application that creates files with a unique file extension (.myextension).  These files should be associated with a particular icon so that the icon is shown when they are viewed in Windows Explorer, etc.  I know how to do this when I create an installer by adding several registry keys and values under the [HKEY_CLASSES_ROOT] key as shown below.
                       key                                                name              type                                   data
    [HKEY_CLASSES_ROOT]
         .myextension                                         (Default)          REG_SZ               Myextension.file.type.record
         Myextension.file.type.record              (Default)          REG_SZ               Text description of file type
                   DefaultIcon                                  (Default)          REG_SZ               path to the icon file.
    The key for the file extension record (.myextension) has a default value where the data points to the key for the file type record (Myextension.file.type.record).  The data for the default value of the Myextension.file.type.record key is just a description for the file type.  There is also a subkey called DefaultIcon.  The data for it's default value is the path to the file containing the icon that is to associated with the file type.  If the file contains more than one icon, it may be necessary to modify the data (path) to indicate which icon to use.
    So, this is all good if path to the file containing the icon is known.  I added an icon file to the build when I built my application and it will be installed in a known location within the directory where my application is installed.  The location is [InstallDirectory]data\myicon.ico, where [InstallDirectory] is the directory where my application is installed.  The installation process, including the addition of registry keys is handled by an installer that I have created.  The problem arises when the user choses to install to a location other than the default directory specified in the installer.  I can't know before hand where that will be.  How can I specify the path in the DefaultIcon key so that it points to the correct location after installation?  Is there some symbol that I can use for the installation directory so that the path will be set correctly at installation time? 

    Hi cbfsystems,
    If correctly understand what you are trying to do, check this out.  This shows you how to add a user-specified install directory to a registry entry in the installer build spec.
    Cheers,
    Brian A.
    National Instruments
    Applications Engineer

  • How can I avoid the need for Administra​tor rights for open registry key.vi

    Dear wire workers.
    I would like to do an EXCEL export.
    Therefore I like to check if EXCEL is installed or not.
    I use 'open registry key.vi' and read out the Excel\InstallRoot.
    If there is an installed EXCEL than I export the data using ActiveX.
    Everything works like a charm with LV 8.5.
    The problem I have is that 'open registry key.vi' useses RegOpenKeyExA from the Advapi32.dll.
    RegOpenKeyEx does, in fact, create a non-existing key and returns 0 (ERROR_SUCCESS?).
    LONG lRegResult = RegOpenKeyEx(HKEY_CLASSES_ROOT, m_RegSubKey, 0, KEY_QUERY_VALUE + KEY_WRITE, &hkRegistry);
    Successfully opens or creates m_RegSubKey under HKEY_CLASSES_ROOT.
    Is there a way aroun this call?
    In fact you need administrator rights to do this call because of the try to write a non exsisting key.
    In my case this avoids the EXCEL export and any kind of registry access from LabVIEW without administrator rights.
    :-) Who the hell has done this ;-)
    All ideas are welcome
    With kind regards
    Martin Kunze
    KDI Digital Instrumentation.com
    e-mail: [email protected]
    Tel: +49 (0)441 9490852

    Hi Martin
    Did you try to wire a "KEY_READ" constant to the security access mask input of the open registry key VI? I had a similar problem, if you just need to read a key or check if it's present use read access only, that should work.
    Hope this helps,
    Daniel

  • SCCM Query to Find Registry Key Value That is IP Address

    I am try to create a collection that will show all computers with the following registry value:
    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\SNMP\Parameters\TrapConfiguration\mesnet]
    "1"="10.213.11.221"
    Does anyone know how to create the query?  Ive already updated the mof files on SCCM.  Thanks.

    This is what I entered in the Config.mof file:
    // RegKeyToMOF by Mark Cochrane (thanks to Skissinger, Steverac, Jonas Hettich & Kent Agerlund)
    // this section tells the inventory agent what to collect
    // 9/25/2012 9:20:39 AM
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("mesnet", NOFAIL)
    [DYNPROPS]
    Class mesnet
    [key] string KeyName;
    String 1;
    [DYNPROPS]
    Instance of mesnet
    KeyName="RegKeyToMOF_32";
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\services\\SNMP\\Parameters\\TrapConfiguration\\mesnet|1"),Dynamic,Provider("RegPropProv")] 1;
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("mesnet_64", NOFAIL)
    [DYNPROPS]
    Class mesnet_64
    [key] string KeyName;
    String 1;
    [DYNPROPS]
    Instance of mesnet_64
    KeyName="RegKeyToMOF_64";
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\services\\SNMP\\Parameters\\TrapConfiguration\\mesnet|1"),Dynamic,Provider("RegPropProv")] 1;
    This is what I added to the sms_def.mof file:
    // RegKeyToMOF by Mark Cochrane (thanks to Skissinger, Steverac, Jonas Hettich & Kent Agerlund)
    // this section tells the inventory agent what to report to the server
    // 9/25/2012 9:20:39 AM
    #pragma namespace ("\\\\.\\root\\cimv2\\SMS")
    #pragma deleteclass("mesnet", NOFAIL)
    [SMS_Report(TRUE),SMS_Group_Name("mesnet"),SMS_Class_ID("Custom|mesnet|1.0"),
    SMS_Context_1("__ProviderArchitecture=32|uint32"),
    SMS_Context_2("__RequiredArchitecture=true|boolean")]
    Class mesnet: SMS_Class_Template
    [SMS_Report(TRUE),key] string KeyName;
    [SMS_Report(TRUE)] String 1;
    #pragma namespace ("\\\\.\\root\\cimv2\\SMS")
    #pragma deleteclass("mesnet_64", NOFAIL)
    [SMS_Report(TRUE),SMS_Group_Name("mesnet"),SMS_Class_ID("Custom|mesnet|1.0"),
    SMS_Context_1("__ProviderArchitecture=64|uint32"),
    SMS_Context_2("__RequiredArchitecture=true|boolean")]
    Class mesnet_64 : SMS_Class_Template
    [SMS_Report(TRUE),key] string KeyName;
    [SMS_Report(TRUE)] String 1;
    I'd like to gather a report on computers that do not have this setting.  Once I identify those computers that need this config, i plan on pushing out a package so that they are properly configured. 

  • Group Policy Item level targeting LDAP Query for specific AD Sites

    Hi Everyone,
    I'm looking to try and take advantage of Group Policy Preference Item Level Targeting to publish user Proxy settings based on what AD Site a user is located in.
    The company I work for has multiple proxies (for multiple regions). We have hundreds of AD Sites listed within our AD S and S setup. I know that I could potentially list every AD Site that requires a particular proxy, but this would generate additional admin
    overhead each time a new site is commissioned, as well as each time a site is decommissioned (this is a construction company, so may "sites" can fluctuate rapidly).
    Due to this, I would like to know if it is possible to filter by LDAP query, and filter for each proxy, based on a portion of the text/name of the AD Sites (as we use a specific naming convention for our sites, this could be dynamic enough for us to not
    have to add or remove additional AD sites).
    Is this possible, and, if so, how would I write the LDAP Filter/Query??
    Right now I would assume I would do it in the following manner:
    (&(objectCategory=site)(objectClass=site)(cn=AU-*)
    Any assistance would be greatly appreciated.
    Cheers,
    Simon

    > Right now I would assume I would do it in the following manner:
    >
    > (&(objectCategory=site)(objectClass=site)(cn=AU-*)
    Sites do NOT reside in the domain partition, but in the configuration
    partition... You can verify your LDAP filter with
    dsquery * -filter "(your filter here)"
    This query will return all matching objects' distinguished names (DN).
    But why don't you use the "Sites" ILT instead? This ILT supports ? and *
    as wildcards, so it might be sufficient.
    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 :))

  • Collection query for specific SCCM client version - Parameters?

    Good morning,
    I need to upgrade my older clients as I recently upgraded SCCM to SP2.  I can't seem to find the parameters in query builder to populate a collection with a specific SCCM client version.  Can anyone help me out or point me in the right direction?  I can't find anything using "The Google".  You'd think lots of people would want this that there'd be a default query in SCCM already.  Thanks.

    Here is a query of all clients running sp1 version:
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SMS_ADVANCED_CLIENT_STATE on SMS_G_System_SMS_ADVANCED_CLIENT_STATE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version = "4.0.6221.1000"
    JonL

  • SQL Query for specific vendor

    Hi Experts,
                     The user has requested to prepare reports with specific vendor name in PO. Please guide me with this.
    Edited by: shaichandan on Sep 27, 2011 9:48 AM

    Hi,
    Check this if it helps :
    select t0.DocNum as 'PO Num', t0.DocStatus as 'Status', t0.DocDate as 'Date',
    t0.CardCode as 'BP Code', t0.CardName as 'BP Name', t0.DocTotal as 'Document Amount',
    t1.ItemCode as 'Item', t1.Dscription as 'Item Description',t1.Quantity as 'Qty',
    t1.ShipDate as 'Shiping Date'
    from OPOR t0 inner join POR1 t1 on t0.docentry = t1.docentry
    where t0.cardname in ('Almats Printing Solution','Safe Offset')
    Order By t0.cardname
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Registry Key or File needed for login status

    Good afternoon,
    I'm looking for a registry key or file or even some string inside a file that would determine whether or not I'm logged into Novell(Not workstation only or disconnected), the reason is for a home grown app we have that needs to copy data off a UNC share but if they are not on the network I want it to fail instantly instead of timing out waiting for the network share to respond.
    Thanks in advance,
    Tim

    I found a variable that I believe will work. WINDOWS_LOGIN Thanks anyway. If anybody has other things to look at please post as I'm not 100% on this yet.

  • SAPGUI 640 registry key's

    Is there any documentation or sap notes about all the existing sapgui registry key's. For Example to activite the register 'web dynpro application' on the sapgui screen.
    Thanks
    Roger

    Anthes,
    There are individual notes that will have specific registry keys, but no overall documentation that I have found.
    Here is the .reg file data to enable the webdynpro, I believe it is still current:
    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPLogon]
    "ShowWebDynproAppTab"=dword:00000001
    Regards,
    John

  • The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.

    H,
    Since upgrading Windows server 2008 R2 to Server 2012 Standard edition, we get this repetitious critical error in the event log:
    Event 1001
    Op Code NLS initialization
    The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.
    We originally found that the regional date settings after changing them in regional settings (DD/MM/YYYY) and they did not inherit properly from the upgrade but they are ok now. 
    I've looked at HKCU\.Default\Control Panel\International and nothing looks obviously wrong. Country codes, time & date formats are correct.
    How do we ascertain the  cause of this error and the specific registry key that might be problematic?

    Hi,
    This could be caused by firewall rules or security softwares.
    http://www.tomshardware.com/forum/242579-44-hkcu-control-panel-international-opened
    And in addition, the fix is worth a try.
    Nothing happens when you double-click "Region" in Control Panel 
    http://support.microsoft.com/kb/2958845
    Please Note: Since the first web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Maybe you are looking for