Solved

Importing Registry Settings through Script, Specifiying User Account - Part 2

Posted on 2007-04-10
5
218 Views
Last Modified: 2010-03-05
I have another question, based from previous answers I received here:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22494638.html

The problem is that the settings I need to import are Current User settings.
From what I understand, if executed by LocalSystem, they won't get imported properly because this will happen before the Windows logon process.

We have two OUs, one for domain computers, and another for user accounts.
If I were to apply the script to the user account OU, would this solve the problem?

Or is there some other way to go about this?
0
Comment
Question by:ITD_Technician
  • 3
  • 2
5 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 18885354
Yes, provided you make it a login script, not a startup script...
0
 

Author Comment

by:ITD_Technician
ID: 18885435
Problem with a login script is that these users do not have local admin rights so it can't be run from a login script without specifying a username and password in some way.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18885440
Well, 'normally' an end user has full rights to the HKey_Current_User hive...isn't that where you're trying to update the key values?
0
 

Author Comment

by:ITD_Technician
ID: 18885470
Even without local admin rights to the workstation they'll be able to import to HKEY_CURRENT_USER?
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 18885481
Typically, yes - unless it's been locked down for some reason...
They would need admin rights to write to HKLM, but not HKCU
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Know what services you can and cannot, should and should not combine on your server.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 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

17 Experts available now in Live!

Get 1:1 Help Now