Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-09-2006, 03:49 AM   #1 (permalink)
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
 
the.kaushik's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
Default lock down gpedit using registry


common friends.. pls help me out.. i want to lock the gpedit by any means using VB. any way is it there??
__________________
Blogging @ http://classictutorials.com
the.kaushik is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-09-2006, 02:59 PM   #2 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: lock down gpedit using registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer\DisallowRun

Create a new STRING value with the name any number (u can give it name 1) and set its value to gpedit.msc
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 07-09-2006, 03:23 PM   #3 (permalink)
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
 
the.kaushik's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
Default Re: lock down gpedit using registry

ya this way works only for if u want to get it from run command.. what if i search for gpedit and click on it??? any idea
__________________
Blogging @ http://classictutorials.com
the.kaushik is offline  
Old 07-09-2006, 03:37 PM   #4 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: lock down gpedit using registry

No! It'll not run in any case!
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 10-09-2006, 02:38 AM   #5 (permalink)
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
 
the.kaushik's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
Default Re: lock down gpedit using registry

buddy i tried and told
__________________
Blogging @ http://classictutorials.com
the.kaushik is offline  
Old 10-09-2006, 03:30 AM   #6 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: lock down gpedit using registry

Very strange

I tried the same method for notepad.exe and each time I tried to run Notepad from RUN, Programs Menu, from Windows folder and also from System32 folder, I got ERROR that it has been disabled by the administrator!

Make sure u put the full application name gpedit.msc
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 10-09-2006, 01:02 PM   #7 (permalink)
In The Zone
 
Join Date: Jun 2005
Location: Gujarat National Law University,Gandhinagar
Posts: 205
Default Re: lock down gpedit using registry

vishal can u tell me whether by any means group policy can be runned in the windows xp home edition sp2..
thadhanihemant is offline  
Old 10-09-2006, 04:06 PM   #8 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: lock down gpedit using registry

Copy following files from a XP Professional edition and then:

1.) Extract to C:\Windows\system32:

appmgmts.dll
appmgr.dll
fdeploy.dll
gpedit.msc
gpedit.dll
gptext.dll
fde.dll


2.) Extract the following files to C:\Windows\system32\GroupPolicy\Adm (This directory doesn't exist, so create it):

system.adm
inetres.adm
conf.adm


3.) Now type the following commands in a command window:

regsvr32 gpedit.dll
regsvr32 fde.dll
regsvr32 gptext.dll
regsvr32 appmgr.dll
regsvr32 fdeploy.dll


It should enable gpedit.msc in Home Edition

source

PS: Also u can try Doug's Windows XP Security Console, its an alternative for gpedit.msc for Home Edition.
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 13-09-2006, 09:43 PM   #9 (permalink)
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
 
the.kaushik's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
Default Re: lock down gpedit using registry

Quote:
Originally Posted by Vishal Gupta
Very strange

I tried the same method for notepad.exe and each time I tried to run Notepad from RUN, Programs Menu, from Windows folder and also from System32 folder, I got ERROR that it has been disabled by the administrator!

Make sure u put the full application name gpedit.msc
ok what i did was when i tried with run it shows blocked but what i did was just in the search i searched for gpedit.msc.. it showed 3 or 4 files and i clicked the one we need to block and it opened.. u check once and see if it works with gpedit or not in u pc pls
__________________
Blogging @ http://classictutorials.com
the.kaushik is offline  
Old 13-09-2006, 11:25 PM   #10 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: lock down gpedit using registry

Yeah! Strange it doesnt work for gpedit.msc

What u can try, is just rename the gpedit.msc file to something else, like regedit.msc or nething u want

Then whenever a user will try to run gpedit.msc, he'll get ERROR

Also don't forget to HIDE the file!
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 18-09-2006, 02:57 PM   #11 (permalink)
In The Zone
 
Join Date: Jun 2005
Location: Gujarat National Law University,Gandhinagar
Posts: 205
Default Re: lock down gpedit using registry

Quote:
Originally Posted by Vishal Gupta
Copy following files from a XP Professional edition and then:

1.) Extract to C:\Windows\system32:

appmgmts.dll
appmgr.dll
fdeploy.dll
gpedit.msc
gpedit.dll
gptext.dll
fde.dll


2.) Extract the following files to C:\Windows\system32\GroupPolicy\Adm (This directory doesn't exist, so create it):

system.adm
inetres.adm
conf.adm


3.) Now type the following commands in a command window:

regsvr32 gpedit.dll
regsvr32 fde.dll
regsvr32 gptext.dll
regsvr32 appmgr.dll
regsvr32 fdeploy.dll


It should enable gpedit.msc in Home Edition

source

PS: Also u can try Doug's Windows XP Security Console, its an alternative for gpedit.msc for Home Edition.


thanks alot buddy..........
thadhanihemant is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by abhidev
- by Sarath
- by clmlbx
- by ico
- by clinton

Advertisement




All times are GMT +5.5. The time now is 02:12 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2