Jump to content

Recommended Posts

Posted (edited)

Lordy I'm stuck - I've added keys etc via group policy before but never values. Can it be done ? I can't see the wood from the trees in regards to the amount of documentation I've googled so far.

Example from this:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Multimodis Latina\Revise Latin\VerbsE]
"regcode1"="{removed as its part of a key}"
"regcode2"="{removed as its part of a key}"
"regcode3"="{removed as its part of a key}"

 

I can add the key HKEY_LOCAL_MACHINE\SOFTWARE\Multimodis Latina\Revise Latin\VerbsE

But can't work out how to add the values of after that.... [ The regcode entries ]

Someone put me out of my misery....

 

And I want to do this via group policy as I can't be arsed to knock up a script. ;)

Edited by ZeroHour
Posted
in 2003 all you can do is premissions isnt it?

 

i think 08 allows you to add keys via preferences

 

Bugger - if that's the case. [ I can add the keys, it's the values I need to add too ] Looks like a script it will have to be then - god darn it.

Posted
@mattx:

 

Is this what your after?

How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file

 

Or am I barking up the wrong Reg tree WooF! WooF!

 

Your puns are getting worse.......

Sort of, I have some .reg files already in effect via user logon scripts. I wanted to be clever and do it via group policy instead......Security\Registry etc - why ? 'Cos I'm bored and wanted to do something in a different way that I have done before...

  • Thanks 1
Posted (edited)

Something is going out the window in a moment -

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Multimodis Latina\Revise Latin\VerbsE]

"regcode1"="{removed as its part of a key}"
"regcode2"="{removed as its part of a key}"
"regcode3"="{removed as its part of a key}"

 

In a .reg file is not working with my normal logon scripts with a:

 

regedit /s revise_latin2.reg

 

line in - it's not even adding the frigging key for christ's sake......All my other ones are working......looking for something to throw out the window.....

Edited by ZeroHour
removed keys
Posted
You could just use group policy extensions as working with the registry is a part of that. Thats what we use and it rocks so far.

 

Thanks for the heads up on this - I have not looked into it at all but certainly will do as it may be help quite a bit on our 2003 server setup.

Posted
Something is going out the window in a moment -

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Multimodis Latina\Revise Latin\VerbsE]

"regcode1"="{removed as its part of a key}"
"regcode2"="{removed as its part of a key}"
"regcode3"="{removed as its part of a key}"

 

In a .reg file is not working with my normal logon scripts with a:

 

regedit /s revise_latin2.reg

 

line in - it's not even adding the frigging key for christ's sake......All my other ones are working......looking for something to throw out the window.....

 

whatabout as a startup script as they run as admin login run as the users dont they?

Posted
whatabout as a startup script as they run as admin login run as the users dont they?

 

Well it's odd as I have made a .reg & have it running in a logon script with a regedit /s command with other ones and it's just not working - my other ones are, [ for example that one that forces a change in the desktop wallpaper ] - but this one just refuses to work. I'll end up knocking up a AutoIT script by the looks of it.

I've tried various versions of the .reg file etc but nope, just won't take. Tried admin accounts too, nothing....Must be a 'feature'

Posted

its a localmachine Reg setting so i assume it can only be done as a STARTUP script not a user script..

 

IRC .. users dont have access to write to the LOCALMACHINE part of the registry only the CURRENT USER ... Which probally explains why your Desktop Wallpaper one works.

 

Cant explain why the admins cant run it though.

Posted

Christ on a bike......

Just to get this bit of software working I have had to do the following:

 

Create a startup script with the registry entries in with the line regedit /s reg.reg line in the CMD. Thinking that was good enough - OH no, the software required the user to have modify rights to the reg entries - read not good enough, so had to add that via a policy entry.......

All that just to get a flash based bit of software working - another bit of software to add to my crap list......

Posted

@mattx:

 

Flash!!..................dun! dun! dun!......................Ahhaaaaa!!

Flash!!..................dun! dun! dun!......................Ahhaaaaa!

 

Saviour of the Universe.......................dun! dun! dun! ;) :) :)

  • Thanks 2
Posted

Hi All,

 

I would seriously advise using group policy prefs. You can use it with server 2003 as long as you manage it from a vista/7 station. It would solve a problem like this in a jiffy.

 

Shaun

Posted
Oooo hang on, nope - PCs won't take the policy changes I have made on the registry entries......god darn it....anyone know the syntax of the top of their head either using regedit32 or Xcalcs to change a key's permissions......?
Posted (edited)

 

line in - it's not even adding the frigging key for christ's sake......All my other ones are working......looking for something to throw out the window.....

 

if you have any macs nearby that your tempted to throw out a window maybe you could save a mac and send me it via snail mail :D

 

edited

 

Is this in vbscript or what scripting language?

 

Registry permissions can be manipulated through the command line using the SubInACL.exe tool. For example, the permissions on the HKEY_LOCAL_MACHINE\SOFTWARE key can be displayed using:

 

subinacl /keyreg HKEY_LOCAL_MACHINE\SOFTWARE /display

 

 

http://en.m.wikipedia.org/wiki/Windows_Registry?wasRedirected=true

 

as per wikipedia you can script perms through the subinacls exe or equivelant util

Edited by mac_shinobi
Posted
if you have any macs nearby that your tempted to throw out a window maybe you could save a mac and send me it via snail mail :D

 

edited

 

Is this in vbscript or what scripting language?

 

 

 

Windows Registry

 

as per wikipedia you can script perms through the subinacls exe or equivelant util

 

One of our teacher's has a Mac, sorry HAD a Mac, he got so fed up with it he's dumped it and gone back to Windows.......will use Regini to change the permissions - but with the bleeding phone constantly going and people coming in and out of the office asking for stuff I never got round to finishing it - still there is always half term.....

Posted
One of our teacher's has a Mac, sorry HAD a Mac, he got so fed up with it he's dumped it and gone back to Windows.......will use Regini to change the permissions - but with the bleeding phone constantly going and people coming in and out of the office asking for stuff I never got round to finishing it - still there is always half term.....

 

dumped it where ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...