Script to export reg settings per user

Posted on 2012-09-06
Last Modified: 2012-09-11

I need to export some user side reg setting for each user in an enviroment before we move to a new system. I'm using a windows 2003 TS server.

I created a quick batch file that creates a folder in a share for each user and then exports the required reg values from there HKEY_Current_USER\Software\xxx

this all works file for an admin who has rights over the registry however users who dont cant use the export reg command. Is there anyway i can script this so users can have admin right but still export from there own reg hive and then be lowered back to normal users.

or is there a better way of doing it all together ?

Question by:Z1ggy
    LVL 52

    Assisted Solution

    Registry is a very sensitive thing and if some user plays and break all headache is yours ..... so why not take a bit pain but get the data yourself. Think about it and i would recommend take a bit longer but safer route :)

    EMCO Remote Registry Exporter - Overview

    - Rancy
    LVL 41

    Expert Comment

    Please post your batch file so we can evaluate it.
    LVL 21

    Accepted Solution


    Author Closing Comment

    Thanks for your replys i managed to get this to work by using a vb script to raise the user to admin and run the batch file then it lowers them again at login.

    thanks for the input

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    This article was inspired by a question here at Experts Exchange ( The requirements stated in that question are (1) reduce the file size of a large number of…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now