Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Windows Scripting > General Scripting
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

Importing Registry Files

Importing Registry Files

this thread has 5 replies and has been viewed 1639 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th July 2007, 21:36
rever75 rever75 is offline
Casual
It's not a coincidence
 
 Join Date: Jan 2006
  6 month star 12 month star
 Posts: 71
 Reputation: rever75 is on a distinguished road (20)
Default 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  
Old 31st July 2007, 01:14
Dumber's Avatar
Dumber Dumber is offline
Moderator
 
 Join Date: Dec 2003
  6 month star 12 month star
 Location: The Netherlands
 Posts: 8,067
 Reputation: Dumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to behold (820)
Default Re: Importing Registry Files

startup batch with reg -s regfile.reg?
__________________
Marcel
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.
  #3  
Old 31st July 2007, 04:53
ahinson's Avatar
ahinson ahinson is offline
Moderator
 
 Join Date: Mar 2004
  6 month star 12 month star
 Location: Orlando, FL
 Posts: 1,821
 Reputation: ahinson is just really niceahinson is just really niceahinson is just really niceahinson is just really niceahinson is just really nice (440)
Default 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 Hinson
http://www.clinlabinc.com

** Remember to give credit where credit is due and leave reputation points where appropriate **
  #4  
Old 31st July 2007, 15:12
rever75 rever75 is offline
Casual
It's not a coincidence
 
 Join Date: Jan 2006
  6 month star 12 month star
 Posts: 71
 Reputation: rever75 is on a distinguished road (20)
Default 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 .
  #5  
Old 31st July 2007, 16:33
Dumber's Avatar
Dumber Dumber is offline
Moderator
 
 Join Date: Dec 2003
  6 month star 12 month star
 Location: The Netherlands
 Posts: 8,067
 Reputation: Dumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to behold (820)
Default Re: Importing Registry Files

yes, via a startup script.
This script will run using the system account and not by an user account.
__________________
Marcel
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.

Last edited by Dumber; 31st July 2007 at 18:20.. Reason: typo's
  #6  
Old 31st July 2007, 16:54
Stonelaughter's Avatar
MVM Stonelaughter Stonelaughter is offline
Senior Member
MVM
 
 Join Date: Sep 2004
  6 month star 12 month star
 Location: Nottingham UK
 Posts: 2,159
 Reputation: Stonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really nice (405)
Default 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
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem importing .pst files onto my local outlook? rajeswari Outlook XP/2003/2007 1 11th June 2007 12:09
Accidentally Deleted Password Files in Registry dstrob Forgot Administrator Password 0 3rd August 2006 16:11
importing distribution groups salv236 Exchange 2000 / 2003 1 29th December 2005 23:58
Importing/Exporting Contacts Richie Exchange 2000 / 2003 2 25th October 2005 21:30
importing 2000 to 2003 jonny_2good Active Directory 1 23rd June 2004 15:33


All times are GMT +3. The time now is 01:14.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri