Announcement

Collapse
No announcement yet.

Importing Registry Files

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Importing Registry Files

    Hi,
    I have 2 Registry Files I exported from one machine that I would like imported into a certain OU. I would like to script this out as a logon script or whatever will work. The users are no Admins so I cannot have them import them into the system. Any help would be greatly appreciated.

  • #2
    Re: Importing Registry Files

    startup batch with reg -s regfile.reg?
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: Importing Registry Files

      I believe you can still use regedit.exe to import .reg files as well.

      Code:
      Import (merge) a .REG file: 
      REGEDIT.EXE [ /S ] importfile.REG 
      Parameters:
      
      importfile.REG 
      .REG file to be imported (or "merged") 
      
      /S 
      Silent, i.e. hide confirmation box when importing files
      Andrew

      ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

      Comment


      • #4
        Re: Importing Registry Files

        So although the employee is not an Admin on their system they can still import reg files into the registry? It needs to be placed in HKLM/System/Current Control Set/Services .

        Comment


        • #5
          Re: Importing Registry Files

          yes, via a startup script.
          This script will run using the system account and not by an user account.
          Last edited by Dumber; 31st July 2007, 16:20. Reason: typo's
          Marcel
          Technical Consultant
          Netherlands
          http://www.phetios.com
          http://blog.nessus.nl

          MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
          "No matter how secure, there is always the human factor."

          "Enjoy life today, tomorrow may never come."
          "If you're going through hell, keep going. ~Winston Churchill"

          Comment


          • #6
            Re: Importing Registry Files

            ... or if they have "Change" permissions on the registry key being modified.


            Tom
            For my own and your protection, I do not provide support by private message under any circumstances. All such messages will be deleted and ignored.

            Anything you say will be misquoted and used against you

            Comment

            Working...
            X