Enter an HKLM via GUIrunonce?

D

Diane McCorkle

I was sure I saw this before, but can't dig it up anywhere,

I need to enter an HKLM entry on RIS, it would be nice if they were already
in the image, but thats another story.

I have a *.reg file, or I can just use the text for the Hkey,

As the subject says, I thought I remembered it being able to be punched in
via guirunonce (which I currently don't use)

advice welcome!

Diane
 
N

NIC Student

I've never tried to add registry entries that way, have you tried adding:

[GuiRunOnce]
\\server\share\cool.reg

or this:

[GuiRunOnce]
Command0 = "regedit.exe /s c:\cool.reg"

or

[GuiRunOnce]
Command0 = "regedit.exe /s \\server\share\cool.reg"

And see if it works?

Let me know if any of those work.
 
N

NIC Student

I've never tried to add registry entries that way, have you tried adding:

[GuiRunOnce]
\\server\share\cool.reg

or this:

[GuiRunOnce]
Command0 = "regedit.exe /s c:\cool.reg"

or

[GuiRunOnce]
Command0 = "regedit.exe /s \\server\share\cool.reg"

And see if it works?

Let me know if any of those work.
 
D

Diane McCorkle

Scott,

Looks solid, that's what I was trying to find in my reference notes..

as usual I had seen it in the past but not needed it, and now I want to hit
this in previous images still on the server for older models..

It's a matter of wanting to be 1000% sure RD is enabled.

thanks!


Diane


NIC Student said:
I've never tried to add registry entries that way, have you tried adding:

[GuiRunOnce]
\\server\share\cool.reg

or this:

[GuiRunOnce]
Command0 = "regedit.exe /s c:\cool.reg"

or

[GuiRunOnce]
Command0 = "regedit.exe /s \\server\share\cool.reg"

And see if it works?

Let me know if any of those work.

--
Scott Baldridge
Windows Server MVP, MCSE
I was sure I saw this before, but can't dig it up anywhere,

I need to enter an HKLM entry on RIS, it would be nice if they were already
in the image, but thats another story.

I have a *.reg file, or I can just use the text for the Hkey,

As the subject says, I thought I remembered it being able to be punched in
via guirunonce (which I currently don't use)

advice welcome!

Diane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top