How to disable registry restore function

Hi everyone,
I have my own Windows service and service's flow as below and repeat the cycle:
1.Modify registry
2.Power off machine
3.Power on machine
My question is:
After power off machine and power on it, the registry will be restored....How can I disable the registry restore rule? I'm sure the registry be changed before power off.
OS: Win server 2008 R2 SP1
Development tool: VS2010 C#
Thanks guys.

Hello,
To confirm whether this issue is mainly related to the environment of your OS, I would recommend you change that registry key manually then shut down your pc and power it on again, if it has the same issue, then I suggest you consider posting this issue
in the following forum to get supports.
Windows Server>Windows Server General Forum
Regards.
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to disable the purchase function?

    Anyone know how to disable the purchase function from the ipad2? How to disable and empty the payment credit card inform? If not, is it secure?

    None for payment
    After establishing the Credit Card account (i.e. after you have made purchases), you can remove the credit card information by editing your payment info, choosing "None".

  • Just set-up my first IPad (Air) using ICloud.  This resulted in none of my desktop Outlook icons working.  Can anyone tell me how ICloud works and restore functional Outlook icons on my desktop.

    Just set-up my first IPad (Air) using ICloud.  This resulted in none of my desktop Outlook icons working.  Can anyone tell me how ICloud works and restore functional Outlook icons on my desktop?

    Just set-up my first IPad (Air) using ICloud.  This resulted in none of my desktop Outlook icons working.  Can anyone tell me how ICloud works and restore functional Outlook icons on my desktop?

  • How to Disable battery charging Function?

    Hi;
    I have a question about charging funtion of my "HP Compaq Business Notebook, 6720s":
    How can I disable "battery charging" function in windows 7? Is there any "advanced setting change" or "software"  that while battery is in its slot, stop my notebook from charging its battery?
    Thanks

    After some days trying many methods, yet I haven't find a solution to my problem. Then I ask is there  any one
    knows which software should I download for HP Compaq Power Management (similar to the software that Huffer
    mentioned, but that was for Lenovo) or which registery or BIOS change should I do , so that I can manually disable
    charging function of laptop, or at least put a starting level that up to that level, laptop won't start
    autolatically to charge battery, because in this manner once that my Battery reaches to below 100%, instantly begin
    to be charged & it would decrease its life time. Please consider that because of my power cable is to some damaged, sometimes it suddenly disrubt & cause my laptop abruptly shut down, then necessarily the battery would always be connected tob prevent this suddent effect.
    If any one could help me, I would appreciate him a lot.
    Regards

  • How to disable Save & Print functionality in PDF form?

    Hi,
    This is the requrement, client need to disable Save & Print functionality in PDF form. (They not allow employee save & print the hrforms payslip)
    May I know how to do it. Thank you.
    What is the parameter value in structure SFPOUTPUTPARAMS  that I need to set in order to  disable Save & Print functionality ?
    call function 'FP_JOB_OPEN'
        changing
          ie_outputparams = SFPOUTPUTPARAMS
        exceptions
          others          = 1.

    Hi Nayan,
    I'm the person who did the WD as well, using IFrame to contain the PDF binary. WD site didn't contro the binary source.
    I pre-define the 'FP_JOB_OPEN' before calling the PDF generation.
    Optional: Set output parameters
      gs_outputparams-nodialog  = ''.
      gs_outputparams-preview   = ''.
      gs_outputparams-getpdf    = 'X'.
      gs_outputparams-nopreview = 'X'.
      gs_outputparams-noprint   = 'X'.
      gs_outputparams-noarchive = 'X'.
      gs_outputparams-nopributt = 'X'.
      gs_outputparams-arcmode = '1'.
      gs_outputparams-noarchive = 'X'.
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = gs_outputparams
        EXCEPTIONS
          OTHERS          = 1.
    Regards,
    Eric

  • How to disable line selection functionality in ALV.

    Hallo guys,
    I need to disable the ALV functionality to select one(or more) lines.
    How to hide this push button on the right side?
    Thanks.

    hi
    good
    check this
    *& Report  ZDEMO_ALVGRID_SELROW                                        *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic ALV grid, Enhanced to display capture each row a user has *
    *& selected                                                            *
    REPORT  zdemo_alvgrid_selrow                 .
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      SEl,                         "stores which row user has selected
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but can
    also allow you  more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such as
    total. You may need to provide more information than if you were
    simply displaying the result
                  I.e. Field type may be required in-order for
                       the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-do_sum      = 'X'.        "Display column total
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    form build_layout.
      gd_layout-box_fieldname     = 'SEL'.
                                     "set field name to store row selection
      gd_layout-edit              = 'X'. "makes whole ALV table editable
      gd_layout-zebra             = 'X'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
               i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
                i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_special_groups       = gd_tabgroup
               IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
               is_variant              = z_template
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
      from ekpo
      into corresponding fields of table it_ekko.
    endform.                    " DATA_RETRIEVAL
          FORM USER_COMMAND                                          *
          --> R_UCOMM                                                *
          --> RS_SELFIELD                                            *
    FORM user_command USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    Check function code
      CASE r_ucomm.
        WHEN '&IC1'.
      Check field clicked on within ALVgrid report
        IF rs_selfield-fieldname = 'EBELN'.
        Read data table, using index of row user clicked on
          READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
        Set parameter ID for transaction screen field
          SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
        Sxecute transaction ME23N, and skip initial data entry screen
          CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
        ENDIF.
        WHEN '&DATA_SAVE'.  "user presses SAVE
        loop at it_ekko into wa_ekko.
          if wa_ekko-sel EQ 'X'.
          Process records that have been selected
          endif.
        endloop.
      ENDCASE.
    ENDFORM.
    thanks
    mrutyun^

  • MSI installation, how to disable the online functions (like Cloud and login)?

    How can I disable the online functions which need a login with the adobe id? I want to do this while I install the Adobe Reader DC with the MSI installer.

    Hi Yannic,
    I can understand your concern, however Document Cloud is a core part of Adobe Acrobat Reader DC and Adobe Acrobat DC so it cannot be disabled. If you don't want to use this feature then you don't need to sign in.
    If you really feel that this does not suites your requirement then you can uninstall it & re-install Adobe Reader 11 Adobe Acrobat Reader DC Install for all versions.
    Let me know if you have any further queries.
    Regards,
    Aadesh

  • How to disable auto-restore in Pages (Lion)

    I'm sure this has been asked before but the search function can't find the answer.
    It's the dreaded auto-restore when Pages is started -- "hey, here's the last document you were working on!!"  Grrr! If I wanted it, I'd open it once I invoked the application.
    How do you prevent this from happening? I have been to System Preferences:General and removed the check from "Restore windows when quitting" This has no impact on Pages.
    I tried looking under $HOME/Library/Saved Application State to see if there was a file there I could tweak to turn off autorestore for Pages but there wasn't.
    Thanks for any insight on how to get rid of this stupid "feature."

    Select "Close Windows when Quitting and Application" in System Prefrences, General, third panel.
    Jerry

  • How to disable ' End Employment' functionality for a responsibility

    Dear Experts,
    I want to disable or unable 'End Employment' functionality present in "Enter and Maintain>Others>End Employment" for a specific responsibility of a user.
    What i want is that when that particular user clicks on that functionality, nothing should happen or a message regarding permission from system administrator should appear.
    I appreciate your prompt response
    Regards

    You can check this article (Task Flow). In same way you apply for your requirement.
    How Does One Hide The Salary History Option That Is Available On The Assignment Form From US HR Manager Responsibility [ID 1068012.1].
    Thanks, Avaneesh

  • How to disable RECYCLE BIN functionality on Oracle 10g R2

    Hi,
    I installed Oracle 10g R2 in windows 2003, then log in SQL * plus with sys as sysdba, try to use the following command to disable the RECYCLE BIN functionality which is new feature in Oracle 10g R2.
    SQL> alter system set "_RECYCLEBIN"=FALSE SCOPE=BOTH;
    I got the error: illegal option for ALTER SYSTEM
    What do I miss? any comments are appreciative.
    Grace

    SQL> alter system set recyclebin=off;
    System altered.
    SQL> alter system set recyclebin=on;
    System altered.
    SQL>Best regards
    Maxim

  • How to disable the copy function from popping up incessantly?

    As I am scrolling down virtually every page, this copy function and a series of blue dots starts appearing. It seems random, my finger is scrolling the middle of the screen. It is really annoying. It totally disrupts flow, requires me to keep tapping until it goes away. Also the screen becomes blue.Anyone know this problem and how to solve it?

    I've run across this problem a few times on my iPhone with a page full of text... start moving your finger up/down as soon as you touch.  Remove your finger as soon as you stop.

  • How to disable Print Preview function in the Portal

    Hi,
    I'm running the transaction ME23N through SAP Portal.
    The option print view is working. How do I disable this?
    Regards,
    Sérgio Salomã

    I am not familiar with the printout method. You can preview in your web browswer if you create an HTML report and save this to file. You can then view the html in your browser to preview and later use the browser to print. Goto the following page and search for activex internet explorer to find examples on incorperating the browser into your VI.
    http://search.ni.com/?col=alldocs&layout=TechResources&ql=a

  • How to disable Auto search function

    My system opening searching function automatically, after press fn+f2 it will resume back to normal for few seconds, then its revert to do the same funtion.
    any one can help me to fix this error.

    Hi @Yowan
    I saw your post regarding the disabling the automatic search function. Are you talking about the search function on your main tile page? What is it automatically searching? Can you post a screen shot so I can get a better idea of what is happening?
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • How to disable mobile account functionality?

    For quite some time now I have had a mobile account because I used to use a home server in conjunction with my laptop.  Now, however, I no longer do but there seems to be no way to switch my user account back to a normal account.  Even when I try to edit the settings for the mobile account to try and just simply not sync anymore all the options are greyed out. 
    I'm tired of having to cancel the sync every time I log in and out of the machine.  Isn't there some way to turn this back into a normal account?
    Currently running os 10.8.3

    a friend send me this. I'm trying it with limited success.
    http://discussions.apple.com/thread.jspa?threadID=1790881&tstart=-1

  • How to disable wireless function in HP printers

    We are campus environment, and have hundreds of HP printers deployed.  All of them are connected to the network via TP cables.  However, their wireless components are still up, and broadcast under SSID hpsetup, which are detected by our new campus wireless network as rogue AP or adhoc.  We want to disable the wireless component inside all HP printers, but find no instructions as how to get this done from HP manuals.  Is there anyone knowing how to disable the wireless function in HP printers?  Thanks in advance for your help.

    It varies based on model, but often it is found in: Setup > Network > Wireless Radio on/off
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for

  • Returning only records that have no entry in a specific field

    Hello, I'm new to this forum and relatively new to Crystal Reports, so I apologize if this information is "plain as day" somewhere.  I've been hunting for this info for quite a while and can't find anything that makes sense! I am trying to put togeth

  • Read Property in KM Folder

    Hello I have a Folder in KM where Admin Uploads Documents. Users will View the Documents Using KM Navigation iView. For the Files i am displaying the following properties. Size , Rating , Modifed I want to Display Read in front of the Files which are

  • PSE 6 - Cannot See Command Bar at Top in Editor

    I am using Elements 6 Editor and I hit some button and the editing screen "enlarged" so that I can't see the commands along the top (file, edit, image, etc...) - it stays this way when I re-open it. I've tried every scroll bar and nothing works. My D

  • One email remains in the user's outbox

    Hi, One email remains in the user's outbox in SAP. All other emails to external addresses are working. The recipient's email address is correct. There is no error in the Event viewer. In table ALR1 the status is 'P'. What does status 'P' mean? Any id

  • Edit Mode to Scene on Timeline

    When I first went through tutorials, I had the buttons along the top of my Timeline to switch back and forth between edit modes and scene. They're gone and I have to do a frustrating work around from movie clips to my scene 1. At one point, I was get