Hi All,


it is possible to manipulate "gpedit" saw script or with Visual Basic 6.0?

Thank's

Re: gpedit by Dave

Dave
Sat Jul 23 16:23:10 CDT 2005

Might just as well edit the registry.
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=7821C32F-DA15-438D-8E48-45915CD2BC14

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"keppler" wrote:
| Hi All,
|
|
| it is possible to manipulate "gpedit" saw script or with Visual Basic 6.0?
|
| Thank's
|
|



Re: gpedit by keppler

keppler
Sun Jul 24 16:04:20 CDT 2005

windows 2000 professional


"Dave Patrick" <DSPatrick@nOsPAM.gmail.com> escreveu na mensagem
news:etttHz8jFHA.3656@TK2MSFTNGP09.phx.gbl...
> Might just as well edit the registry.
>
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=7821
C32F-DA15-438D-8E48-45915CD2BC14
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "keppler" wrote:
> | Hi All,
> |
> |
> | it is possible to manipulate "gpedit" saw script or with Visual Basic
6.0?
> |
> | Thank's
> |
> |
>
>



Re: gpedit by Dave

Dave
Sun Jul 24 18:39:59 CDT 2005

An operating system?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"keppler" wrote:
| windows 2000 professional



Re: gpedit by keppler

keppler
Sun Jul 24 18:53:52 CDT 2005

operation system is w2k pro


"Dave Patrick" <DSPatrick@nOsPAM.gmail.com> escreveu na mensagem
news:#smeCkKkFHA.3656@TK2MSFTNGP09.phx.gbl...
> An operating system?
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "keppler" wrote:
> | windows 2000 professional
>
>



Re: gpedit by Dave

Dave
Sun Jul 24 19:37:56 CDT 2005

Is there another question?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"keppler" wrote:
| operation system is w2k pro



Re: gpedit by keppler

keppler
Sun Jul 24 23:12:12 CDT 2005

Dave,

with the code below a instancia of gpedit is created; as it is that it would
activate the directive one "Disable registry editing tools" in "User
Configuration\Administrative Templates\System"?

thank's


Dim objApp As MMC20.Application
Dim objDoc As MMC20.Document
Dim objSnapIns As MMC20.SnapIns
Dim objSnapIn As MMC20.SnapIn
Dim objView As MMC20.View
Dim objNode As MMC20.Node
Dim objSN As MMC20.ScopeNamespace

Set objApp = New MMC20.Application

objApp.Load ("gpedit.msc")
objApp.Show

Set objDoc = objApp.Document



"Dave Patrick" <DSPatrick@nOsPAM.gmail.com> escreveu na mensagem
news:uMwHeELkFHA.3316@TK2MSFTNGP14.phx.gbl...
> Is there another question?
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "keppler" wrote:
> | operation system is w2k pro
>
>



Re: gpedit by Dave

Dave
Mon Jul 25 08:53:29 CDT 2005

You might ask them about that in vb.general

---------------------------------
Set WshShell = CreateObject("WScript.Shell")
"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",
1, "REG_DWORD"
Set WshShell = Nothing
---------------------------------

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"keppler" wrote:
| Dave,
|
| with the code below a instancia of gpedit is created; as it is that it
would
| activate the directive one "Disable registry editing tools" in "User
| Configuration\Administrative Templates\System"?
|
| thank's
|
|
| Dim objApp As MMC20.Application
| Dim objDoc As MMC20.Document
| Dim objSnapIns As MMC20.SnapIns
| Dim objSnapIn As MMC20.SnapIn
| Dim objView As MMC20.View
| Dim objNode As MMC20.Node
| Dim objSN As MMC20.ScopeNamespace
|
| Set objApp = New MMC20.Application
|
| objApp.Load ("gpedit.msc")
| objApp.Show
|
| Set objDoc = objApp.Document



Re: gpedit by keppler

keppler
Mon Jul 25 08:59:39 CDT 2005

ok

thank's

"Dave Patrick" <DSPatrick@nOsPAM.gmail.com> escreveu na mensagem
news:eSnT#ASkFHA.4004@TK2MSFTNGP10.phx.gbl...
> You might ask them about that in vb.general
>
> ---------------------------------
> Set WshShell = CreateObject("WScript.Shell")
>
"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegis
tryTools",
> 1, "REG_DWORD"
> Set WshShell = Nothing
> ---------------------------------
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "keppler" wrote:
> | Dave,
> |
> | with the code below a instancia of gpedit is created; as it is that it
> would
> | activate the directive one "Disable registry editing tools" in "User
> | Configuration\Administrative Templates\System"?
> |
> | thank's
> |
> |
> | Dim objApp As MMC20.Application
> | Dim objDoc As MMC20.Document
> | Dim objSnapIns As MMC20.SnapIns
> | Dim objSnapIn As MMC20.SnapIn
> | Dim objView As MMC20.View
> | Dim objNode As MMC20.Node
> | Dim objSN As MMC20.ScopeNamespace
> |
> | Set objApp = New MMC20.Application
> |
> | objApp.Load ("gpedit.msc")
> | objApp.Show
> |
> | Set objDoc = objApp.Document
>
>



Re: gpedit by Dave

Dave
Mon Jul 25 09:07:03 CDT 2005

You're welcome.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"keppler" wrote:
| ok
|
| thank's



Re: gpedit by ads

ads
Wed Jul 27 13:20:40 CDT 2005

Dave,

I executed the code below and the alteration alone "is" for the usuary that
executed script; how it is that I make so that the change is for all the
users?

Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")

e_registro="HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\D
isableRegistryTools"

WSHShell.RegWrite e_registro, 1, "REG_DWORD"

thank's


"Dave Patrick" <DSPatrick@nOsPAM.gmail.com> escreveu na mensagem
news:uiNDjISkFHA.1048@tk2msftngp13.phx.gbl...
> You're welcome.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "keppler" wrote:
> | ok
> |
> | thank's
>
>



Re: gpedit by Dave

Dave
Wed Jul 27 15:45:03 CDT 2005

Either use a domain wide group policy or for new users of the machine make
the change to the \default user hive (ntuser.dat)

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"ads" wrote:
| Dave,
|
| I executed the code below and the alteration alone "is" for the usuary
that
| executed script; how it is that I make so that the change is for all the
| users?
|
| Dim WSHShell
| Set WSHShell = WScript.CreateObject("WScript.Shell")
|
|
e_registro="HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\D
| isableRegistryTools"
|
| WSHShell.RegWrite e_registro, 1, "REG_DWORD"
|
| thank's



Re: gpedit by keppler

keppler
Wed Jul 27 20:12:51 CDT 2005

not domain use; I am using group; it is therefore that it would like to
manipulate with programming "gpedit", therefore thus what to modify he will
be for all the users

thank's



"Dave Patrick" <DSPatrick@nOsPAM.gmail.com> escreveu na mensagem
news:u9U6RwukFHA.3692@TK2MSFTNGP09.phx.gbl...
> Either use a domain wide group policy or for new users of the machine make
> the change to the \default user hive (ntuser.dat)
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "ads" wrote:
> | Dave,
> |
> | I executed the code below and the alteration alone "is" for the usuary
> that
> | executed script; how it is that I make so that the change is for all
the
> | users?
> |
> | Dim WSHShell
> | Set WSHShell = WScript.CreateObject("WScript.Shell")
> |
> |
>
e_registro="HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\D
> | isableRegistryTools"
> |
> | WSHShell.RegWrite e_registro, 1, "REG_DWORD"
> |
> | thank's
>
>



Re: gpedit by Dave

Dave
Wed Jul 27 20:40:07 CDT 2005

This link may help you.

http://www.microsoft.com/windowsserver2003/gpmc/gpmcfaq.mspx

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"keppler" wrote:
| not domain use; I am using group; it is therefore that it would like to
| manipulate with programming "gpedit", therefore thus what to modify he
will
| be for all the users
|
| thank's