Jump to content

Recommended Posts

Guest Pluto
Posted

Hi all,

 

I am running Windows 2003 TS and users are connecting to it from Windows XP

machines, none of them are local admins on Windows 2003 TS server.

 

Users are connecting to Windows 2003 TS to access the database server

through the shortcut placed on the Windows 2003 TS desktop. I would like to

run the registry key entry for any user which logs in and update the database

server name wher they connecting to from Windows 2003 TS.

 

Is there any automatic way to run the reg key for all users connecting to

Windows 2003 TS server. I have 300 users and woudl like to automate this and

not sure if this si possibel through GPO, Schedule task(no local admin rights

for users), maybe some logon script...etc

 

Any help is much appreciated !

 

Pluto

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Jonathan Wood
Posted

Re: Registry entry

 

Hi,

 

the simplest way would be to create a logon script and by using the reg

command. For example, you could add a line which says:

 

reg add HKCU\Software\VendorName /v ServerName /d server01

 

to find more information about the reg command open up a command prompt

window and type: reg /? or reg add /?

 

If you want to use Group Policy then you'll have to create your own ADM-file

and import it into the Administrative Templates section under User

Configuration. You could use the Reg2Adm tool:

 

http://www.novell.com/coolsolutions/tools/downloads/reg2adm.zip

 

to export a REG-file with the correct settings and convert it to an ADM

file.

 

Hope this helps.

 

- Jonathan

 

BTW, I've assumed that the registry setting is in the HKEY_CURRENT_USER

section of the registry.

 

 

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

news:CE884C07-8C17-430A-B553-45E66824C7E2@microsoft.com...

> Hi all,

>

> I am running Windows 2003 TS and users are connecting to it from Windows

> XP

> machines, none of them are local admins on Windows 2003 TS server.

>

> Users are connecting to Windows 2003 TS to access the database server

> through the shortcut placed on the Windows 2003 TS desktop. I would like

> to

> run the registry key entry for any user which logs in and update the

> database

> server name wher they connecting to from Windows 2003 TS.

>

> Is there any automatic way to run the reg key for all users connecting to

> Windows 2003 TS server. I have 300 users and woudl like to automate this

> and

> not sure if this si possibel through GPO, Schedule task(no local admin

> rights

> for users), maybe some logon script...etc

>

> Any help is much appreciated !

>

> Pluto

Guest Pluto
Posted

Re: Registry entry

 

Thanks Jonathan....I did some research by myself, and hopefully got the

answer to my question.

 

In the meantime I tried the following and it seems to be working ok:

 

I created: Regkey.reg Addreg.cmd

1) Regkey.reg contains the key for HKLM

2) Addreg.cmd contains the REGEDIT /S Regkey.reg

 

I have put the Addreg.reg to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows

NT\CurrentVersion\Winlogon along with Usrlogon.cmd

 

Usrlogon.cmd, Addreg.cmd

 

It seems to be working.

 

The websites I found the tips are:

 

http://www.jsifaq.com/SF/Tips/Tip.aspx?id=0851

http://www.robvanderwoude.com/regedit.html

 

I hope this helps other people as well.

 

Thanks,

 

pluto

 

 

 

 

 

 

 

 

 

"Jonathan Wood" wrote:

> Hi,

>

> the simplest way would be to create a logon script and by using the reg

> command. For example, you could add a line which says:

>

> reg add HKCU\Software\VendorName /v ServerName /d server01

>

> to find more information about the reg command open up a command prompt

> window and type: reg /? or reg add /?

>

> If you want to use Group Policy then you'll have to create your own ADM-file

> and import it into the Administrative Templates section under User

> Configuration. You could use the Reg2Adm tool:

>

> http://www.novell.com/coolsolutions/tools/downloads/reg2adm.zip

>

> to export a REG-file with the correct settings and convert it to an ADM

> file.

>

> Hope this helps.

>

> - Jonathan

>

> BTW, I've assumed that the registry setting is in the HKEY_CURRENT_USER

> section of the registry.

>

>

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

> news:CE884C07-8C17-430A-B553-45E66824C7E2@microsoft.com...

> > Hi all,

> >

> > I am running Windows 2003 TS and users are connecting to it from Windows

> > XP

> > machines, none of them are local admins on Windows 2003 TS server.

> >

> > Users are connecting to Windows 2003 TS to access the database server

> > through the shortcut placed on the Windows 2003 TS desktop. I would like

> > to

> > run the registry key entry for any user which logs in and update the

> > database

> > server name wher they connecting to from Windows 2003 TS.

> >

> > Is there any automatic way to run the reg key for all users connecting to

> > Windows 2003 TS server. I have 300 users and woudl like to automate this

> > and

> > not sure if this si possibel through GPO, Schedule task(no local admin

> > rights

> > for users), maybe some logon script...etc

> >

> > Any help is much appreciated !

> >

> > Pluto

>

>

>


×
×
  • Create New...