Use AD data to set values in the registry

Hi all,
Hope some one can help me.
I am working on a GPO to update values in the registry. Some of these values should be set, with fields from the Active Directory, like Office, Department, etc.
Is this possible using the GPO preferences or can this only be done through a script. 
Thanks.

I'm trying to think of a way you could do this just using preferences but at the minute im struggling, I think you would need to use a script first to grab the details of the user and then create the reg keys on the fly, then import them in to the computer.
Depends on where you want the reg keys to go you may struggle a little here though if your users are not admins on their PC's. As to write to HKLM you need admin rights. But to get the user information you would need to use a user login script, rather than
a computer startup script.
I'll have a think and see if there is a better approach. Just for my understanding I guess you are looking at writing values to the local computer registry for the currently logged on user?
Regards,
Denis Cooper
MCITP EA - MCT
Help keep the forums tidy, if this has helped please mark it as an answer
My Blog
LinkedIn:

Similar Messages

  • Setting value in the detail level field using hdr level lov

    i try to set value in the detail table using hdr LOV , at that time some fields value are set and some are not set. i don't understand why this happens, please give me the solution

    huh?
    You provide nowhere near enough information for us to even understand what you want to do, let alone to answer.
    John

  • Using WQL "one-liner" to extract a value from the registry

    Can I extract a value from the registry using a "one-liner" WQL command?  Something like the following:
    Under root\default:StdRegProv
                   SELECT <Data> FROM "HKLM:SOFTWARE\Toto\Version"
    Please note that I am aware of how this is done via script.  The problem is that I'm using a management system (SCOM), which only allows me to supply a simple WQL query to perform my evaluation.
    Thanks,
    Larry

    Hi Larry,
    There have a specific forum to support the scripting related question, i sugges you ask in Scripting forum there will have more
    professional engineer will help you.
    The Official Scripting Guys Forum!
    https://social.technet.microsoft.com/Forums/en-US/9d5a7990-b975-488a-b7c0-6d866f29cf0a/change-mouse-scheme?forum=ITCG
    Best Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Which are the setting values for the Virtual CTI Driver? (Siebel Communica)

    hi everybody,
    the application I'm using is Siebel Communications 8.1.
    I am learning about integration processes with the Siebel Communications Server Administration Guide. One of the points or topics there is the use of the Virtual CTI to integrate your Siebel Business Applications with Oracle Contact Center Anywhere (as in the bookshelf described).
    I've read, with this driver agents can access communications functionality using the communications toolbar.
    The Virtual CTI is a driver provided by Oracle. You can't see it listed on the Administration -> Communications ----> Communications Drivers and Profiles. So I guess it is important to add this driver to the list.
    I have questions about that:
    1. Should I add this driver to the list? or when can I do that?
    2. Which are the setting values for the mentioned driver?
    - Communications Channel?
    - Inbound Yes
    - Outbound Yes
    - Interactive
    - Channel string
    - Library name
    Could anybody help me? I would appreciate that.
    Regards

    Thanks for the reply KT.
    I am not sure how to set a new custom style, but will look it up. If you have a url that points to the topic I would appreciate it.
    Thanks,
    Rhek

  • How to set values to the structure containing a node with cardinality 0..n

    Hello.
    I 'm trying to set values for the node with cardinality 0..n. The node type is "Fields".
    <xsd:complexType name="Field">
       <xsd:sequence>
          <xsd:element name="fieldCode" type="xsd:string"></xsd:element>
          <xsd:element name="displayValue" type="xsd:string" minOccurs="0"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Fields">
       <xsd:sequence>
          <xsd:element name="field" type="tns:Field" minOccurs="0" maxOccurs="unbounded"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    I  need to set several values for the element "fieldCode" but it has cardinality 0..1 and BPM does not allow it but I did not find any option about how to set values for the structure of type "Fields". Could you help me?
    Best regards,
    Timur Semenchuk

    Hi Marcus,
    If there is no way you could change the cardinality of the node, and thus it can contain 0..n items, I think you should create-and-add a new element programmatically.
    Since the collection can contain zero elements, I would add a 'new' button, which upon clicking adds one new element via:
    IYourNodeElement yourNodeElem = wdContext.nodeYourNode().createYourNodeElement();
    wdContext.nodeYourNode().addElement(yourNodeElem);
    Hope this explains a bit!
    Best,
    Robin van het Hof

  • Trouble in BEx Analyzer when try to set values to the variables in ZXRSRU01

    Hi Experts!
    I have the trouble in BEx Analyzer when try to set values to the variables in ZXRSRU01 on i_step = 1.
    When variable's screen apeares the values is not those what was set in ZXRSRU01. When I try to trace
    this in RSRT I have no this problem, all the values are same as was set in ZXRSRU01.
    Thanks in advance.
    Best regards,
    Andrey Bychkov

    Hi
    Check this
    Documentation about variable types & their processing in i_step = 1, 2 etc.
    It may help you....
    Cheers

  • Need to set values in the configurator

    Hi people,
    Im a workflow consultant and need a bit of advice regarding updating the configurator values. I know about the function module "vc_i_get_configuration" gets the values in the configurator and the parameter for that would be cuobj. But is there any function module in place which updates the configurator with new values from a custom screen. This custom screen is going to be in the workflow.
    Regards,
    Sukumar.

    yes you can update values, you can use class CL_CBASE.
    EXAMPLE PROGRAM:
    TYPE-POOLS:
      cucbt,
      ibxx,
      ibco2.
    PARAMETERS : p_cuobj TYPE cuib_cuobj.
    DATA: add_chr TYPE ibco2_value_tab,
          l1_ind LIKE sy-tabix.
    DATA: old_l TYPE i,
          new_l TYPE i.
    DATA: wa_chr LIKE ibvalue0,
          wa_chr1 LIKE ibvalue0,
          wa_con TYPE ibco2_instance_rec2.
    DATA: l_obj TYPE REF TO cl_cbase.
    CLEAR l_obj.
    DATA: it_instances TYPE  cuib_cuobj_tab.
    DATA: l_head TYPE   ibco2_ibase_rec,
          l_config TYPE ibco2_instance_tab2.
    DATA: wa_instances LIKE LINE OF it_instances.
    CLEAR wa_instances.
    APPEND wa_instances TO it_instances.
    DATA: flg_invalid TYPE c.
    CLEAR flg_invalid.
    CALL METHOD cl_cbase=>get_current_cbase_by_instance
      EXPORTING
        iv_instance            = p_coubj
        iv_check_only_buffer   = space
      IMPORTING
        eo_cbase               = l_obj
        ev_instance_is_invalid = flg_invalid.
    CALL METHOD l_obj->get_configuration
      IMPORTING
        es_cbase_head = l_head
        et_instances  = l_config.
    DATA: c_ind LIKE sy-tabix.
    CLEAR add_chr.CLEAR l1_ind.CLEAR wa_chr.
    LOOP AT l_config INTO wa_con.
      l1_ind = sy-tabix.
      add_chr = wa_con-values.
      LOOP AT add_chr INTO wa_chr WHERE atinn EQ '0000000019'.
        wa_chr-atwrt = '000000000000000504'.
        MODIFY add_chr FROM wa_chr.
      ENDLOOP.
      wa_con-values = add_chr.
      MODIFY l_config FROM wa_con INDEX l1_ind.
    ENDLOOP.
    DATA: lcfg_head TYPE ibibconf.
    CLEAR lcfg_head.
    CALL METHOD l_obj->get_head_of_cfg
      IMPORTING
        es_head_cfg = lcfg_head.
    CALL METHOD l_obj->set_configuration
      EXPORTING
        is_head_cfg  = lcfg_head
      CHANGING
        ct_instances = l_config.
    CALL METHOD l_obj->set_mark_for_saving.
    CALL METHOD l_obj->save_and_free.
    COMMIT WORK AND WAIT.
    MESSAGE e398(00) WITH 'Configuration Updated'.
    WRITE:/ 'Detail of changes'.
    SKIP.
    LOOP AT add_chr INTO wa_chr.
      WRITE:/ wa_chr-atinn, wa_chr-atwrt, wa_chr-atcod.
    ENDLOOP.
    Message was edited by: Sharath kumar R

  • Set values for the Lock-In Amplifier's Digital Analog Converter Channel?

    If I let my user have the freedom to select whatever values they want to select in order for it to show up as the output value for the Digital Analog Channel then I cannot understand why use ibwrt(...) and ibrd(...). Because ibwrt is going to write a specific voltage at the specified channel since the manual for the Amplifier states you must input the string for writing output voltage as DAC2 3000 (the 2 signifying the channel and 3000 - the millivolts). If this hard coding occurs by using ibwrt then how can I write my code so that the user has the capability to change the voltage value and the channel to the one they want? Thanks in advance.

    Do I need a Fmt and ibwrt for both DOutput and VOutput? Because DOutput is indicative of the channels 1, 2, 3, 4 in the Lock in Amplifier and the VOutput is for the amount of volts the user can set (i.e. write to the instrument). Also I found this on the following NI website regarding filling in the value of the write buffer: Write Buffer Value. This website signifies that one must use \002 and end with 003\ which I am not sure I even need for this instance of initializing the writeBuffer[8]. Also I used [7] for the writeBuffer because I thought arrays went 0, 1, 2, 3...so on therefore writeBuffer[7] will give me space for 8 bytes? Is that an incorrect assumption? Lastly, here is my modified code according to the changes you mentioned and it still is giving me Non-Fatal Run Time Errors and not communicating. Is there anything else I am missing out on which I can't find. Seemed like I may be making this code much harder than it needs to be. Thank you for your time.
    Sincerly,
    Attachments:
    SETDAC.c ‏2 KB
    setdacwin.h ‏2 KB
    setdacwin.uir ‏3 KB

  • In portlets, how to use a html form passing  values to the another page?

    it is well known that in web developing , we have two methods to pass values to another page.<!--
    1. passing values
    2.<form action="nextPage" method ="post"></form>-->
    but how to use two methods in oracle portal portlets?
    I have got a simple example which submit two values to the page for itself, means a page has a form with submit botton, user input the form with values and then submit them by submit botton, then the page recevice those values and show it .
    this example is powered by oracle ,
    please have a look at these code:
    <br><br>
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@page import="java.util.*, oracle.portal.provider.v2.*" %>
    <%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.url.UrlUtils" %>
    <%
    // The form submit URL refers to the current Portal page. All portlets
    // on this page share this URL. This means that the per portlet parameters
    // are in the same request. Portlets must ensure that its paramerters don't
    // collide either with other portlets or other instances of itself. This
    // is generally accomplished by using "fully-qualified" parameter names. A
    // fully-qualified parameter name prepends the (unique) portlet reference to
    // the parameter. The JPDK provides a utility to accomplish this.
    String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    // These are the session attribute names used to store the current values.
    // Because all instances of this portlet share the same user session we must
    // also fully-qualify these names to avoid collisions.
    String sName = HttpPortletRendererUtil.portletParameter(request, "sName");
    String sAge = HttpPortletRendererUtil.portletParameter(request, "sAge");
    PortletRenderRequest pRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String formName = UrlUtils.htmlFormName(pRequest,null);
    ProviderUser user = pRequest.getUser();
    ProviderSession providerSession = user.getSession();
    if (providerSession == null)
    %>
    Your provider session has been terminated or has timed out
    and you need to logout and then login to re-establish the session.
    <%
    else
    // Record, in session storage, the last values submitted.
    if (pRequest.getQualifiedParameter(portletParamSubmit) != null)
    providerSession.setAttribute(sName, pRequest.getQualifiedParameter(portletParamName));
    providerSession.setAttribute(sAge, pRequest.getQualifiedParameter(portletParamAge));
    %>
    <!-- Output the HTML content -->
    <center>
    <table width="70%">
    <tr>
    <td>
    <b>This portlet shows how to post and process information from HTML forms.</b>
    </td>
    </tr>
    </table>
    <form name="<%= formName %>" method="POST"
    action="<%= UrlUtils.htmlFormActionLink(pRequest,UrlUtils.PAGE_LINK) %>">
    <%= UrlUtils.htmlFormHiddenFields(pRequest,UrlUtils.PAGE_LINK, formName) %>
    <table>
    <tr>
    <td>
    <b>Name :</b>
    </td>
    <td>
    <input type="text" size="20" name="<%= fName %>" value="">
    </td>
    </tr>
    <tr>
    <td>
    <b>Age : </b>
    </td>
    <td>
    <input type="text" size="3" name="<%= fAge %>" value="">
    </td>
    </tr>
    </table>
    <br>
    <INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
    </form>
    <%
    if ((providerSession.getAttribute(sName) == null)&& (providerSession.getAttribute(sAge) == null)) {
    %>
    <b>No values have been submitted yet.</b>
    <%
    } else {
    %>
    <b> Last submitted values:</b><br>
    <table>
    <tr>
    <td>
    <b>Name: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sName) %></b>
    </td>
    </tr>
    <tr>
    <td>
    <b>Age: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sAge) %></b>
    </td>
    </tr>
    </table>
    <%
    %>
    </center>
    <%
    %>
    <br><br>
    <br><br>
    <br><br>
    but I want to write the form in a page , and then show it on another page , how to write it ?
    I have read the pdk:
    oracle.portal.provider.v2.url Classes
    UrlUtils
    then I use these method , as this :
    //frist page:
    <br><br><br><br>
    <%@page contentType="text/html; charset=Big5"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    %>
    <%@ page import="oracle.portal.provider.v2.*"%>
    <%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <P>Hello <%= pReq.getUser().getName() %>.</P>
    <P>This is the <b><i>Show</i></b> render mode!</P>
    this is a program to test the passing value
    <%
    String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    PortletRenderRequest pr=(PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String formName=UrlUtils.htmlFormName(pr, null);
    %>
    <form name="<%=formName%>" method="post" action="<%=UrlUtils.htmlFormActionLink("/htdocs/passingvalues4/getValues.jsp")%>">
    <%= UrlUtils.htmlFormHiddenFields("/htdocs/passingvalues4/getValues.jsp") %>
    name:<input type="text" size="20" name="<%= fName %>" value="">
    p w :<input type="text" size="3" name="<%= fAge %>" value="">
    <INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
    </form>
    //getValues.jsp<br><br>
    <br><br>
    <%@page contentType="text/html; charset=Big5"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    %>
    <%@ page import="oracle.portal.provider.v2.*"%>
    <%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
    <% String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Big5">
    <title>untitled</title>
    </head>
    <body>
    Name:<%=fName%>
    Age :<%=fAge%>
    </body>
    </html>
    <br>then I deployed them on the portal , run it , the result is :after I submit it , the browser give me : http 404 page not found!
    [b]here is the provider.xml<br>[b[i]]<?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>PassingValues4</name>
    <title>PassingValues4</title>
    <description>PassingValues4</description>
    <timeout>60</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>/htdocs/passingvalues4/PassingValues4InputPage.jsp</showPage>
    <showPage>/htdocs/passingvalues4/getValues.jsp</showPage>
    </renderer>
    </portlet>
    </provider>
    <br><br><br>
    <br><br>
    would you kind enough to help me ? thanks!!!
    Message was edited by:
    moonsoft

    Hi Moonsoft,
    I have already answered this query in the other post at Re: how to link more than one links in portlet?(jsp develop)
    <form name = "showPageForm" method = "POST" action = "<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
      <%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "showPageForm") %>
      <input type="text" name="param1">
      <input type="text" name="param2">
      <input type="hidden" name="myPPN" value="/htdocs/page2.jsp">
    </form>then in your jsp code on page2.jsp, you will extract the parameters by specifying
    <%
      String p1 = request.getParameter("param1");
      String p2 = request.getParameter("param2");
    %>
    >>this is easy common jsp or asp development, but in oracle is too diffcult!!!!
    :-) .. there is a difference between web-applications and portlets, you just need to get used to it once. I hope this does clarify your doubts.
    thanks,
    Harsha

  • How to use color picker or RGB values in the hue-saturation colorize adjustment

    I have a monochromatic adornment that I want to match to the color of a logo.  I am attempting to use the colorize option of a hue saturation adjustment layer to match color.  But I cannot quite get the colors to match.  I know the RGB values of the color, but how do these translate into the Hue/Sat/Lightness numbers of the adjustment dialog?  I tried using the correlating H/S/B values fro9m the color picker but that did not work.
    Any suggestions?

    Thanks Zeno.  Creating a layer with the color and using the blend mode worked fine.  But as I stated in the original post, using the H/S/B (there is no HSL) values from the color picker does not work when you place them into the H/S/L values in the hue-adjustment layer with (or without) the colorize box checked.  But your first suggestion worked like a charm.  Thank you.

  • Using a subreport to list values from the data in the main report

    Post Author: GarrettFitzgerald
    CA Forum: Crystal Reports
    I have a list of new patients, showing what insurance class they fall under. I'm summarizing the classes into 4 groups using a SQL Expression.I would like to put a subreport in the header showing what insurance classes were used, and how they were coded. I could do this by including the tables and selection criteria over again, but I'd much rather say "show these values that appear in the main data and how they were coded." Is this at all possible? Thanks.

    Firstly have you tried dragging the frame around or minimising it and then re-maximising it, to coerce it into repainting?
    Secondly, drop some System.out.println() lines in: one in the paintComponent() method to output the width and height, and another after the waitForID() call to output String.valueOf(image).
    Thirdly, in your paintComponent() method, where you call rawImage(), change your "null" observer parameter to "this," otherwise the panel won't be notified of when the image is loaded, resulting in (unless, I think, you do coerce the repaint yourself) exactly the behaviour you're seeing.
    If the "null --> this" change doesn't work on its own then let us know the results of your println()s.

  • Is there a way to name the .indd files created by a data merge with values in the CSV file

    I have a data merge document that is set to single Record per Document page and 1 page per document.  In my CSV file I have a field for Part Number.  If I run a data merge with 10 records I end up with 10 .indd files.  I need a way so that the resulting .indd files are named the same value that is in the Part Number field.

    Loic has provided a link for my original piece, and I've written up some follow-up pieces for indesignsecrets.com:
    http://indesignsecrets.com/data-merging-individual-records-separate-pdfs.php
    http://indesignsecrets.com/data-merging-individual-records-separate-pdfs-part-2-scripting. php
    So there are several ways to get unique name PDFs from an indesign Data Merge. However, none of these 3 articles will truly answer your question of how to get unique indesign filenames using the database. I can see a practical purpose for this as merging business cards directly to PDFs is great, but I can be guaranteed that while on proof, there will be alts to the business cards that need to be done outside the merge, meaning specific records need to be exported to indesign files for further manipulation.

  • Set Value in the form

    hello ,
    I get the sequance value and i need to set this value to another field in the form when make anew Create to the screen
    i use Adf fusion
    Please help me

    Hi,
    U can create ur sequence in Entity level row creation itself while pressing the button u can call ur CreateInsert Method and in ur entityImpl create method(if it not got override just override and use it).
    U can use the below code for assigning the sequence value insertion for every row creation.
    SequenceImpl sequenceImpl = new SequenceImpl(<<DB sequenceName>>, getDBTransaction());
    sequenceNo = sequenceImpl.getSequenceNumber();
    setAttribute(<<Attribute Name>>,sequenceNo );
    Regards,
    Suganth.G

  • Determining the space used by data in a table at the granularity of bytes

    The SPACE_USAGE procedure of DBMS_SPACE package
    is meant for knowing space table with auto segment
    space management.
    It gives out 4 types of values fs1_blocks to
    fs4_blocks as the number of blocks which are filled
    25%, 50%, ....
    I tried it with different number of records (including)
    and empty table) but all 4 fields are always output as
    zero.
    Basically my aim is to know the actual amount of space
    used by my data in the table for both auto segment
    allocation and non auto mode.

    To have this kind of information I've used the function
    DBMS_SPACE.UNUSED_SPACE, that reporting:
    TOTAL_BLOCKS - data allocation space (in blocks)
    TOTAL_BYTES - data allocation space (in bytes)
    UNUSED_BLOCKS - allocated space but not used (in blocks)
    UNUSED_BYTES - allocated space but not used (in bytes)
    The difference between TOTAL_BYTES and UNUSED_BYTES is the REAL SIZE of your data.
    I don't know if you can use the same function for table with auto segment space management.
    Bye L.

  • Time and date are set incorrectly on the routers and switches

    I've just noticed that the date and time on all my Cat4006's, Cat3548's and Cat6000 were grossly incorrect. I was wondering if this would contribute to problems I am having on the network. Does the switches/routers check the timestamp on the packets it's passing and/or append or add thereto?

    Date and time set on routers and swithces will not affect your user data traffic.
    Keeping Date and time synchronized across network devies will help if you are troubleshooting your network.
    If you need to keep date and time synchronized across all the network devices, use NTP (Network Time Protocol)

Maybe you are looking for