Registry access

  • Thread starter Mustafa KULLUKÇU
  • Start date
M

Mustafa KULLUKÇU

Hi,

i want to access registry value to not logon user.

I change registry settings one file to all terminal server users. Appeared
error Error "Accessing the Registry ", if one or more user not logon on
server.

What can i do?
 
V

Vera Noest [MVP]

Mustafa, I do not understand completely what you are trying to do and
what the problem is.
Could you give us the exact name of the registry value that you have
changed, with both the original value and what you changed it to?

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?TXVzdGFmYSBLVUxMVUvDh1U=?=
<MustafaKULLUKU@discussions.microsoft.com> wrote on 08 aug 2007 in
microsoft.public.windows.terminal_services:

> Hi,
>
> i want to access registry value to not logon user.
>
> I change registry settings one file to all terminal server
> users. Appeared error Error "Accessing the Registry ", if one or
> more user not logon on server.
>
> What can i do?
 
M

Mustafa KULLUKÇU

Sorry, my english is not good.

I want to change Hkey_User\ {USER SID} \ Software\Microsoft\Internet Account
Manager\... sub keys,
(For example
[HKEY_USERS\S-1-5-21-5107270790-711066505-935365136-1111\Software\Microsoft\Internet Account Manager\Accounts\00000006]
"Leave Mail On Server"=dword:00000001

[HKEY_USERS\S-1-5-21-5107270790-711066505-935365136-1115\Software\Microsoft\Internet Account Manager\Accounts\00000006]
"Leave Mail On Server"=dword:00000001

.....)

But apply this reg file to all user.
Users logon terminal Server.

My account is Administrator. I want change all users registry value. But if
any one user in reg file, not logon terminal server that time appear error.

If all user logon to terminal server this file apply successfuly.

I hope explain my problem.
Best regards.


"Vera Noest [MVP]" wrote:

> Mustafa, I do not understand completely what you are trying to do and
> what the problem is.
> Could you give us the exact name of the registry value that you have
> changed, with both the original value and what you changed it to?
>
> _________________________________________________________
> Vera Noest
> MCSE, CCEA, Microsoft MVP - Terminal Server
> TS troubleshooting: http://ts.veranoest.net
> ___ please respond in newsgroup, NOT by private email ___
>
> =?Utf-8?B?TXVzdGFmYSBLVUxMVUvDh1U=?=
> <MustafaKULLUKU@discussions.microsoft.com> wrote on 08 aug 2007 in
> microsoft.public.windows.terminal_services:
>
> > Hi,
> >
> > i want to access registry value to not logon user.
> >
> > I change registry settings one file to all terminal server
> > users. Appeared error Error "Accessing the Registry ", if one or
> > more user not logon on server.
> >
> > What can i do?

>
 
M

Mustafa KULLUKÇU

I forget to add.

I want this changes one .reg file.

"Mustafa KULLUKÇU" wrote:

> Sorry, my english is not good.
>
> I want to change Hkey_User\ {USER SID} \ Software\Microsoft\Internet Account
> Manager\... sub keys,
> (For example
> [HKEY_USERS\S-1-5-21-5107270790-711066505-935365136-1111\Software\Microsoft\Internet Account Manager\Accounts\00000006]
> "Leave Mail On Server"=dword:00000001
>
> [HKEY_USERS\S-1-5-21-5107270790-711066505-935365136-1115\Software\Microsoft\Internet Account Manager\Accounts\00000006]
> "Leave Mail On Server"=dword:00000001
>
> ....)
>
> But apply this reg file to all user.
> Users logon terminal Server.
>
> My account is Administrator. I want change all users registry value. But if
> any one user in reg file, not logon terminal server that time appear error.
>
> If all user logon to terminal server this file apply successfuly.
>
> I hope explain my problem.
> Best regards.
>
>
> "Vera Noest [MVP]" wrote:
>
> > Mustafa, I do not understand completely what you are trying to do and
> > what the problem is.
> > Could you give us the exact name of the registry value that you have
> > changed, with both the original value and what you changed it to?
> >
> > _________________________________________________________
> > Vera Noest
> > MCSE, CCEA, Microsoft MVP - Terminal Server
> > TS troubleshooting: http://ts.veranoest.net
> > ___ please respond in newsgroup, NOT by private email ___
> >
> > =?Utf-8?B?TXVzdGFmYSBLVUxMVUvDh1U=?=
> > <MustafaKULLUKU@discussions.microsoft.com> wrote on 08 aug 2007 in
> > microsoft.public.windows.terminal_services:
> >
> > > Hi,
> > >
> > > i want to access registry value to not logon user.
> > >
> > > I change registry settings one file to all terminal server
> > > users. Appeared error Error "Accessing the Registry ", if one or
> > > more user not logon on server.
> > >
> > > What can i do?

> >
 
V

Vera Noest [MVP]

OK, I *think* that I understand what you want to do.
Try this instead:

Create a logon script for your users, and let them import the
setting themselves, in their personal user profile.

HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\

Save the setting in a .reg file and put a line in the users logon
script, with regedit /s <your_file.reg>

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?TXVzdGFmYSBLVUxMVUvDh1U=?=
<MustafaKULLUKU@discussions.microsoft.com> wrote on 08 aug 2007 in
microsoft.public.windows.terminal_services:

> Sorry, my english is not good.
>
> I want to change Hkey_User\ {USER SID} \
> Software\Microsoft\Internet Account Manager\... sub keys,
> (For example
> [HKEY_USERS\S-1-5-21-5107270790-711066505-935365136-1111\Software
> \Microsoft\Internet Account Manager\Accounts\00000006] "Leave
> Mail On Server"=dword:00000001
>
> [HKEY_USERS\S-1-5-21-5107270790-711066505-935365136-1115\Software
> \Microsoft\Internet Account Manager\Accounts\00000006] "Leave
> Mail On Server"=dword:00000001
>
> ....)
>
> But apply this reg file to all user.
> Users logon terminal Server.
>
> My account is Administrator. I want change all users registry
> value. But if any one user in reg file, not logon terminal
> server that time appear error.
>
> If all user logon to terminal server this file apply
> successfuly.
>
> I hope explain my problem.
> Best regards.
>
>
> "Vera Noest [MVP]" wrote:
>
>> Mustafa, I do not understand completely what you are trying to
>> do and what the problem is.
>> Could you give us the exact name of the registry value that you
>> have changed, with both the original value and what you changed
>> it to?
>>
>> _________________________________________________________
>> Vera Noest
>> MCSE, CCEA, Microsoft MVP - Terminal Server
>> TS troubleshooting: http://ts.veranoest.net
>> ___ please respond in newsgroup, NOT by private email ___
>>
>> =?Utf-8?B?TXVzdGFmYSBLVUxMVUvDh1U=?=
>> <MustafaKULLUKU@discussions.microsoft.com> wrote on 08 aug 2007
>> in microsoft.public.windows.terminal_services:
>>
>> > Hi,
>> >
>> > i want to access registry value to not logon user.
>> >
>> > I change registry settings one file to all terminal server
>> > users. Appeared error Error "Accessing the Registry ", if one
>> > or more user not logon on server.
>> >
>> > What can i do?
 
M

Mustafa KULLUKÇU

Thanks Vera for answer.

But I restrict by users access to registry and regedit, regedt32.exe.
I need a different way.


"Mustafa KULLUKÇU" wrote:

> Hi,
>
> i want to access registry value to not logon user.
>
> I change registry settings one file to all terminal server users. Appeared
> error Error "Accessing the Registry ", if one or more user not logon on
> server.
>
> What can i do?
 
V

Vera Noest [MVP]

I'm sorry, then I can't help you.
The keys will only exist when the users are logged on to the TS and
their profiles are loaded.

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?TXVzdGFmYSBLVUxMVUvDh1U=?=
<MustafaKULLUKU@discussions.microsoft.com> wrote on 08 aug 2007 in
microsoft.public.windows.terminal_services:

> Thanks Vera for answer.
>
> But I restrict by users access to registry and regedit,
> regedt32.exe. I need a different way.
>
>
> "Mustafa KULLUKÇU" wrote:
>
>> Hi,
>>
>> i want to access registry value to not logon user.
>>
>> I change registry settings one file to all terminal server
>> users. Appeared error Error "Accessing the Registry ", if one
>> or more user not logon on server.
>>
>> What can i do?
 
P

PRMolina

Not sure exactly what you are trying to do, but would it be possible to
accomplish this by creating an ntuser.man for a mandatory profile for each
user?
 
Back
Top Bottom