Welcome to Maxi-Pedia Forum. Maxi-Pedia discussion forum is a free community inviting you to express your ideas and discuss various topics with other contributors.

November 24, 2024, 10:11:28 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Most Recent Posts:
Pages: [1]
  Print  
Author
Topic: 

using the DOS command

 (Read 15632 times)
libarme
Newbie
*
Posts: 1


« on: December 04, 2009, 10:13:39 am »

Roll Eyes
how to open the group policy settings by using the DOS command?
Logged
Maxi-Pedia Forum
« on: December 04, 2009, 10:13:39 am »

 Logged
mismas
Jr. Member
**
Posts: 60


« Reply #1 on: December 04, 2009, 04:48:00 pm »

I do not think you can modify group policies from the command line. But, you can modify registry keys using the reg command. Most group policies have their corresponding value in registry.

Go to Start -> Run -> type cmd

Adds, changes, and displays registry subkey information and values in registry entries.

Code:
reg add KeyName [/v EntryName|/ve] [/t DataType] [/s separator] [/d value] [/f]

Copies a registry entry to a specified location in the local or remote computer.

Code:
reg copy KeyName1 KeyName2 [/s] [/f]

Deletes a subkey or entries from the registry.

Code:
reg delete KeyName [{/v EntryName|/ve|/va}] [/f]

Returns a list of the next tier of subkeys and entries located under a subkey in the registry.

Code:
reg query KeyName [{/v EntryName|/ve}] [/s] 

Logged
apapunas
Semi-Newbie
*
Posts: 49


« Reply #2 on: December 04, 2009, 04:55:39 pm »

I think he meant how to open the editor.

gpedit.msc for group policies
secpol.msc for local policies
(see here How to edit group policy)

And, yes, you can edit group policies from a command line too. Gpresult displays Group Policy settings and Resultant Set of Policy (RSoP) for a user or a computer.

Start, Run, cmd
gpresult > gp.txt
notepad gp.txt
Logged
atari
Full Member
***
Posts: 121


« Reply #3 on: June 15, 2010, 03:04:50 pm »

To be more precise, gpresult displays names of effective policy sets (both computer and user).

rsop.msc is a GUI that displays individual effective policices and their values as they are applied. rsop.msc shows the result of what you set in gpedit.msc.
Logged
henery
Newbie
*
Posts: 1


« Reply #4 on: July 30, 2010, 01:21:16 pm »

HI, I am new to this forum. How to open the group policy settings by using the DOS command? I want know more about this forum. thank you so much.
« Last Edit: July 30, 2010, 02:40:05 pm by henery » Logged
Maxi-Pedia Forum
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Page created in 0.103 seconds with 22 queries. (Pretty URLs adds 0.001s, 0q)