iis服务器助手广告广告
返回顶部
首页 > 资讯 > 精选 >dos下如何更改注册表权限
  • 540
分享到

dos下如何更改注册表权限

2023-06-08 15:06:23 540人浏览 八月长安
摘要

这篇文章将为大家详细讲解有关dos下如何更改注册表权限,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。这个玩意主要用途是 在cmd下 修改注册表 以及 注册表权限! 用法研究了一晚上 弄出来了 ,微软上写的

这篇文章将为大家详细讲解有关dos下如何更改注册表权限,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

这个玩意主要用途是 在cmd下 修改注册表 以及 注册表权限!
用法研究了一晚上 弄出来了 ,微软上写的 根本不能用啊 郁闷。。
使用方法
C:\>regini regset.ini 就行啦
regset.ini 是你要修改的数据 下面举例!
regset.ini 文件内容
引用:

代码如下:


HKEY_LOCAL_MacHINE\SOFTWARE\Microsoft\windows\CurrentVersion\Run
test = c:\windows\system32\fucktheworld.exe


就是在启动项加个键值 test 内容是启动 c:\windows\system32\fucktheworld.exe
很简单吧!
引用:

代码如下:


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run [17]


把run项设为只允许system控制 其他用户不可控制 [17] 为控制参数 其他参数看下面的帮助

代码如下:


L:hacker>regini
usage: REGINI [-m machinename | -h Hivefile hiveroot | -w Win95 Directory]
[-i n] [-o outputWidth]
[-b] textFiles...

where: -m specifies a remote windows NT machine whose reGIStry is to be manipula
ted.
-h specifies a specify local hive to manipulate.
-w specifies the paths to a windows 95 system.dat and user.dat files
-i n specifies the display indentation multiple. Default is 4
-o outputWidth specifies how wide the output is to be. By default the
outputWidth is set to the width of the console window if standard
output has not been redirected to a file. In the latter case, an
outputWidth of 240 is used.

-b specifies that REGINI should be backward compatible with older
versions of REGINI that did not strictly enforce line continuations
and quoted strings Specifically, REG_BINARY, REG_RESOURCE_LIST and
REG_RESOURCE_REQUIREMENTS_LIST data types did not need line
continuations after the first number that gave the size of the data.
It just kept looking on following lines until it found enough data
values to equal the data length or hit invalid input. Quoted
strings were only allowed in REG_MULTI_SZ. They could not be
specified around key or value names, or around values for REG_SZ or
REG_EXPAND_SZ Finally, the old REGINI did not support the semicolon
as an end of line comment character.

textFiles is one or more ANSI or Unicode text files with registry data.

The easiest way to understand the fORMat of the input textFile is to use
the REGDMP command with no arguments to dump the current contents of
your NT Registry to standard out. Redirect standard out to a file and
this file is acceptable as input to REGINI

Some general rules are:
Semicolon character is an end-of-line comment character, provided it
is the first non-blank character on a line

Backslash character is a line continuation character. All
characters from the backslash up to but not including the first
non-blank character of the next line are ignored. If there is more
than one space before the line continuation character, it is
replaced by a single space.

Indentation is used to indicate the tree structure of registry keys
The REGDMP program uses indentation in multiples of 4. You may use
hard tab characters for indentation, but embedded hard tab
characters are converted to a single space regardless of their
position

Values should come before child keys, as they are associated with
the previous key at or above the value's indentation level.

For key names, leading and trailing space characters are ignored and
not included in the key name, unless the key name is surrounded by
quotes. Imbedded spaces are part of a key name.

Key names can be followed by an Access Control List (ACL) which is a
series of decimal numbers, separated by spaces, bracketed by a
square brackets (e.g. [8 4 17]). The valid numbers and their
meanings are:

1 - Administrators Full Access
2 - Administrators Read Access
3 - Administrators Read and Write Access
4 - Administrators Read, Write and Delete Access
5 - Creator Full Access
6 - Creator Read and Write Access
7 - World Full Access
8 - World Read Access
9 - World Read and Write Access
10 - World Read, Write and Delete Access
11 - Power Users Full Access
12 - Power Users Read and Write Access
13 - Power Users Read, Write and Delete Access
14 - System Operators Full Access
15 - System Operators Read and Write Access
16 - System Operators Read, Write and Delete Access
17 - System Full Access
18 - System Read and Write Access
19 - System Read Access
20 - Administrators Read, Write and Execute Access
21 - Interactive User Full Access
22 - Interactive User Read and Write Access
23 - Interactive User Read, Write and Delete Access

If there is an equal sign on the same line as a left square bracket
then the equal sign takes precedence, and the line is treated as a
registry value. If the text between the square brackets is the
string DELETE with no spaces, then REGINI will delete the key and
any values and keys under it.

For registry values, the syntax is:

value Name = type data

Leading spaces, spaces on either side of the equal sign and spaces
between the type keyWord and data are ignored, unless the value name
is surrounded by quotes. If the text to the right of the equal sign
is the string DELETE, then REGINI will delete the value.

The value name may be left off or be specified by an at-sign
character which is the same thing, namely the empty value name. So
the following two lines are identical:

= type data
@ = type data

This syntax means that you can't create a value with leading or
trailing spaces, an equal sign or an at-sign in the value name,
unless you put the name in quotes.

Valid value types and format of data that follows are:

REG_SZ text
REG_EXPAND_SZ text
REG_MULTI_SZ "string1" "str""ing2" ...
REG_DATE mm/dd/yyyy HH:MM DayOfWeek
REG_DWORD numberDWORD
REG_BINARY numberOfBytes numberDWORD(s)...
REG_NONE (same format as REG_BINARY)
REG_RESOURCE_LIST (same format as REG_BINARY)
REG_RESOURCE_REQUIREMENTS (same format as REG_BINARY)
REG_RESOURCE_REQUIREMENTS_LIST (same format as REG_BINARY)
REG_FULL_RESOURCE_DESCRIPTOR (same format as REG_BINARY)
REG_QWORD numberQWORD
REG_MULTISZ_FILE fileName
REG_BINARYFILE fileName

If no value type is specified, default is REG_SZ

For REG_SZ and REG_EXPAND_SZ, if you want leading or trailing spaces
in the value text, surround the text with quotes. The value text
can contain any number of imbedded quotes, and REGINI will ignore
them, as it only looks at the first and last character for quote
characters.

For REG_MULTI_SZ, each component string is surrounded by quotes. If
you want an imbedded quote character, then double quote it, as in
string2 above.

For REG_BINARY, the value data consists of one or more numbers The
default base for numbers is decimal. Hexidecimal may be specified
by using 0x prefix. The first number is the number of data bytes,
excluding the first number. After the first number must come enough
numbers to fill the value. Each number represents one DWORD or 4
bytes. So if the first number was 0x5 you would need two more
numbers after that to fill the 5 bytes. The high order 3 bytes
of the second DWORD would be ignored.

Whenever specifying a registry path, either on the command line
or in an input file, the following prefix strings can be used:

HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_USER
USER:

Each of these strings can stand alone as the key name or be followed
a backslash and a subkey path.

REGINI: No textFile specified

关于“dos下如何更改注册表权限”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。

--结束END--

本文标题: dos下如何更改注册表权限

本文链接: https://www.lsjlt.com/news/254596.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • dos下如何更改注册表权限
    这篇文章将为大家详细讲解有关dos下如何更改注册表权限,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。这个玩意主要用途是 在cmd下 修改注册表 以及 注册表权限! 用法研究了一晚上 弄出来了 ,微软上写的...
    99+
    2023-06-08
  • DOS下如何对注册表编程
    这篇文章主要介绍DOS下如何对注册表编程,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!在DOS方式下也能对注册表进行编程?是的。当您的Windows95/98因注册表问题而无法启动到图形界面时,您此时只有在DOS下对...
    99+
    2023-06-09
  • win7怎么修改注册表权限
    这篇文章主要介绍“win7怎么修改注册表权限”,在日常操作中,相信很多人在win7怎么修改注册表权限问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”win7怎么修改注册表权限”的疑惑有所帮助!接下来,请跟着小编...
    99+
    2023-06-28
  • 电脑怎么修改注册表权限
    这篇文章主要介绍了电脑怎么修改注册表权限,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。方法/步骤:按下“win”和“R”按键调出命令框,在窗口中输入命令“regedit”后点...
    99+
    2023-06-27
  • win7注册表权限更改拒绝访问怎么解决
    本篇内容主要讲解“win7注册表权限更改拒绝访问怎么解决”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“win7注册表权限更改拒绝访问怎么解决”吧!win7注册表权限无法修改解决方法点击开始—运行...
    99+
    2023-07-01
  • 如何解决VB.NET注册表权限问题
    这篇文章主要介绍如何解决VB.NET注册表权限问题,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!本实例需要项目引用:Imports Microsoft.Win32  '用途&nb...
    99+
    2023-06-17
  • 如何在DOS方式下对注册表进行操作
    这篇文章将为大家详细讲解有关如何在DOS方式下对注册表进行操作,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。因为注册表编辑器Regedit.exe其实是一个双栖型的程序,既可在DOS下运行,也可在Wind...
    99+
    2023-06-09
  • Win7注册表权限变更拒绝访问设定方式
    Win7注册表拒绝访问没法进到该怎么办近期许多客户要想进到win7注册表的情况下发觉拒绝访问没法进到和改动,一般碰到这个问题便是权限沒有良好控制的难题,那麼,我们要怎么解决这个问题呢下边和我一起来看一下详尽的设定方式吧。Win7注册表权限变...
    99+
    2023-07-13
  • win7 users权限如何更改
    这篇文章主要介绍“win7 users权限如何更改”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“win7 users权限如何更改”文章能帮助大家解决问题。win7users权限更改教程首先进入控制面...
    99+
    2023-07-01
  • win7文件权限如何更改
    这篇“win7文件权限如何更改”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“win7文件权限如何更改”文章吧。win7文件权...
    99+
    2023-07-01
  • CMD下如何读取/修改/删除注册表项
    这篇文章将为大家详细讲解有关CMD下如何读取/修改/删除注册表项,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。好在系统自带的regedit.exe足够用了。 1,读取注册表 先将想查询的注册表项导出,再用...
    99+
    2023-06-08
  • ubuntu如何更改文件夹权限
    要更改文件夹的权限,您可以使用命令行工具`chmod`。下面是一些常见的用法:1. 更改所有者的权限:```chmod u=rwx ...
    99+
    2023-09-17
    ubuntu
  • win7管理员权限如何更改
    今天小编给大家分享一下win7管理员权限如何更改的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。win7管理员权限更改教程首先...
    99+
    2023-07-01
  • win7 usb写入权限如何更改
    今天小编给大家分享一下win7 usb写入权限如何更改的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。win7 usb写入权限...
    99+
    2023-07-01
  • 如何恢复修改过的win10注册表?win10注册表修改后恢复方法
      如何恢复修改过的win10注册表呢相信很多朋友都修改过win10的注册表以获得查看最新版的win10,这样做的后果就是造成你以后不能接受到正常的公开升级,下文小编就教大家Win10注册表修改后的恢复方法,赶紧和小编一...
    99+
    2023-06-08
    win10 注册表 方法
  • 如何通过Edge浏览器中的注册表更改主页
    要通过Edge浏览器中的注册表更改主页,可以按照以下步骤操作:1. 打开注册表编辑器:按下Win + R键,输入“regedit”并...
    99+
    2023-09-26
    Edge
  • 如何在使用regini.exe修改注册表
    这篇文章给大家介绍如何在使用regini.exe修改注册表,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。一,如何得到regini.exe 在Windows XP安装光盘中(其他版本的自己试试),找到I386目录下的re...
    99+
    2023-06-08
  • 修改注册表如何通过自动更新安装Vista SP2 RC
    本篇内容主要讲解“修改注册表如何通过自动更新安装Vista SP2 RC”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“修改注册表如何通过自动更新安装Vista SP2 RC”吧!Vista SP...
    99+
    2023-06-14
  • linux如何设置不允许更改权限
    本篇内容介绍了“linux如何设置不允许更改权限”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!在linux中,可以利用chattr命令设置不...
    99+
    2023-06-30
  • win11如何修改注册表跳过检测
    这篇文章主要介绍了win11如何修改注册表跳过检测的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇win11如何修改注册表跳过检测文章都会有所收获,下面我们一起来看看吧。方法: 首先我们需要使用“win+r”的键...
    99+
    2023-07-01
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作