English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

juz now can't use these syntax in command prompt because the word come out 'secedit' is not recognized as an internal or external command,
operable program or batch file. what the procedure should i to do use these syntax ?

2007-03-31 18:53:02 · 0 answers · asked by keanhong2 2 in Computers & Internet Software

0 answers

If you're getting a "not recognized as an internal or external command ...." message, then it sounds like you have one of the following issues,

1) You're using an incorrect path to the secedit command
2) The secedit command is not in the path on your system
3) The secedit command is not on your system

For starters, the secedit.exe command usually lives in %system32%. depending on your OS, this can be c:\winnt\system32\, or c:\windows\system32\, so check in there for secedit.exe.

Or, you can go to a commandline, change to the root of C: (cd \) and the do a 'dir secedit.exe /s" to search for the secedit command.

Once you have made sure that secedit is on your system, then the syntax differs depending on what you want to do,


1) Analyze system security. This command analyzes system security.

secedit /analyze

Syntax
secedit /analyze [/DB filename ] [/CFG filename ] [/log logpath] [/verbose] [/quiet]

2) Configure system security. This command configures system security by applying a stored template.

secedit /configure

Syntax
secedit /configure [/DB filename ] [/CFG filename ] [/overwrite][/areas area1 area2...] [/log logpath] [/verbose] [/quiet]


3) Refresh security settings. This command refreshes system security by reapplying the security settings to the Group Policy object.

secedit /refreshpolicy

Syntax
secedit /refreshpolicy {machine_policy | user_policy}[/enforce]

4) Export security settings. This command exports a stored template from a security database to a security template file.

secedit /export

Syntax
secedit /export [/mergedPolicy] [/DB filename ] [/CFG filename ] [/areas area1 area 2...] [/log logPath] [/verbose] [/quiet]

5) Validate a security configuration file. This command validates the syntax of a security template you want to import into a database for analysis or application to a system.

secedit /validate

Syntax
secedit /validate filename

==============

Here's some more references for you,
http://support.microsoft.com/kb/227448
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_secedittopnode.mspx?mfr=true
http://technet2.microsoft.com/WindowsServer/en/library/e926577a-5619-4912-b5d9-e73d4bdc94911033.mspx?mfr=true

2007-04-04 00:27:54 · answer #1 · answered by Kevin 7 · 5 0

This Site Might Help You.

RE:
teach me how to use secedit syntax at command prompt?
juz now can't use these syntax in command prompt because the word come out 'secedit' is not recognized as an internal or external command,
operable program or batch file. what the procedure should i to do use these syntax ?

2015-08-19 00:55:08 · answer #2 · answered by Rosanne 1 · 0 0

fedest.com, questions and answers