Jump to content

What kind of rights are needed to run regedit /s import?


Recommended Posts

Posted

Hi all,

 

Can anyone what kinds of rights or permissions to run regedit /s test.reg on

the users' computers? Windows XP computers.

 

Thanks

  • Replies 4
  • Created
  • Last Reply
Guest neo [mvp outlook]
Posted

Re: What kind of rights are needed to run regedit /s import?

 

Read and Execute for regedit and test.reg. Also keep in mind that registry

keys themselves have security rights. So depending on what you are trying

to create/edit/delete will also have to be looked at.

 

"John" <John@discussions.microsoft.com> wrote in message

news:1E9E5ECA-1680-4201-806F-601019DB4990@microsoft.com...

> Hi all,

>

> Can anyone what kinds of rights or permissions to run regedit /s test.reg

> on

> the users' computers? Windows XP computers.

>

> Thanks

Posted

Re: What kind of rights are needed to run regedit /s import?

 

Thanks for your reply.

 

I did and still got the "can not import the registry"... I even assign

regedit a full rights to the user and still unable to do it.

 

any idea?

 

"neo [mvp outlook]" wrote:

> Read and Execute for regedit and test.reg. Also keep in mind that registry

> keys themselves have security rights. So depending on what you are trying

> to create/edit/delete will also have to be looked at.

>

> "John" <John@discussions.microsoft.com> wrote in message

> news:1E9E5ECA-1680-4201-806F-601019DB4990@microsoft.com...

> > Hi all,

> >

> > Can anyone what kinds of rights or permissions to run regedit /s test.reg

> > on

> > the users' computers? Windows XP computers.

> >

> > Thanks

>

>

>

Guest neo [mvp outlook]
Posted

Re: What kind of rights are needed to run regedit /s import?

 

What keys/values is your reg file trying to add/modify. Also, how is it

being called (e.g. gpo user script, logon script, .etc)?

 

"John" <John@discussions.microsoft.com> wrote in message

news:DF9C78BE-0518-4259-8F1F-75FF6F12E0DA@microsoft.com...

> Thanks for your reply.

>

> I did and still got the "can not import the registry"... I even assign

> regedit a full rights to the user and still unable to do it.

>

> any idea?

>

> "neo [mvp outlook]" wrote:

>

>> Read and Execute for regedit and test.reg. Also keep in mind that

>> registry

>> keys themselves have security rights. So depending on what you are

>> trying

>> to create/edit/delete will also have to be looked at.

>>

>> "John" <John@discussions.microsoft.com> wrote in message

>> news:1E9E5ECA-1680-4201-806F-601019DB4990@microsoft.com...

>> > Hi all,

>> >

>> > Can anyone what kinds of rights or permissions to run regedit /s

>> > test.reg

>> > on

>> > the users' computers? Windows XP computers.

>> >

>> > Thanks

>>

>>

>>

Guest Jack Doyle
Posted

Re: What kind of rights are needed to run regedit /s import?

 

John wrote:

> I did and still got the "can not import the registry"... I even assign

> regedit a full rights to the user and still unable to do it.

 

You have to make sure that the user has the ability to use registry

editing tools. This could have possibly been disallowed via policy.

 

Providing that they do, you'll want to make sure that they actually have

the appropriate permissions in the registry to merge the keys that are

in the .reg file. By default, standard users don't have access to write

to HKLM, etc.

 

Without changing the permissions in the registry, you would possibly

have to do a runas to get it merged. The problem, though, is the

password. Also, any values that would be written to HKCU would be

written to the Administrator's HKCU, not the user's.

 

There are third-party tools that help to resolve this problem. Desktop

Authority (http://www.scriptlogic.com/products/DesktopAuthority), for

example, from ScriptLogic, can write values to the registry on behalf of

the user that they may otherwise not have the ability to write.

 

Hope this helps.

 

--

 

Jack Doyle, Systems Engineer

ScriptLogic Corporation

http://www.scriptlogic.com


×
×
  • Create New...