- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
重定向命令的高级应用(Advanced application of redirected commands)
重定向命令的高级应用(Advanced application of redirected commands)
1. Lock/unlock the registry
As you know, the key value of Disableregistrytools under the DWORD value Disableregistrytools of the registry, HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVerssion \ Policies \ System branch, as 1, can be added to the registry, so that others have no method to use the registry editor. Using the redirection command to lock/unlock the registry under DOS is very convenient.
Open a notepad program, create a new text file, and enter the following:
@ echo REGEDIT4 123. Reg
@ echo. 123. Reg
@ echo [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System] 123. Reg
@ echo DisableRegistryTools = dword: 123. Reg
@ REGEDIT/S/C 123. Reg
@ deltree/y 123. Reg
Save as.bat for the extension of the batch file, click on this file registry will be locked!
In the above command, echo echo is DOS commands, plus prefix @ character in front of it, said when executed on the command line or DOS bank inside does not display, if you want to see the program execution process, please remove the @. Note that the REGEDIT4 in the first line must be capitalized in the first line, and there is no space between the echo and . in the second line. The generated content of will be appended to the file behind it. In the last line of the file plus deltree/y 123. Reg, you can delete the 123. Reg file without the need for confirmation.
To unlock the registry, you can edit the batch file simply by changing DisableRegistryTools = dword:to DisableRegistryTools = dword: the rest of the content is unchanged, save for.bat file, and clicking can unlock the registry.
2. Record the machine IP of 3389
Save the following contents to 3389ip.bat:
Time/t log. The log
Netstat - n - p TCP | find : 3389 log.log
Start Explorer
Running 3389ip.bat, and then checking the log.log file to see the machine IP of 3389, is it convenient?
3. Restore DOS real mode
I
您可能关注的文档
- 皮革纹路分析(Leather-bound analysis).doc
- 盐的酸碱性(Acid base of salt).doc
- 监理 继续教育20130527(The supervisor continued education 20130527).doc
- 监控中同轴电缆的传输距离(The transmission distance of coaxial cable in monitoring).doc
- 留学携带清单(Study abroad carrying list).doc
- 监理细则01(Supervision rule 01).doc
- 盘算机专业英语教授教养办法切磋(To calculate the professional English teaching method to learn).doc
- 盲文的起源与发展(The origin and development of braille).doc
- 直线平行的特征(The characteristic of a straight line).doc
- 直线的倾斜角和斜率教学设计(The teaching design of straight line inclination and slope).doc
- 重大灾害(Major disasters).doc
- 重定向和转发的区别(The difference between redirection and forwarding).doc
- 重庆历史(Chongqing history).doc
- 重庆长江大桥施工组织设计(Construction organization design of chongqing changjiang bridge).doc
- 重装机兵R 攻略(Reinstalled soldier R strategy).doc
- 野外生存求救信号(Survival in the wild).doc
- 金属 防锈 防腐蚀 知识(Anti-corrosion knowledge of metals).doc
- 金属晶体(Metal crystal).doc
- 重邮复试书目(Retest bibliography).doc
- 量变质变规律(Quantitative change rule).doc
最近下载
- 土方外运施工方案.docx VIP
- 基坑支护内支撑梁拆除施工方案.docx VIP
- 最新人教版一年级上册《数学游戏》课件(整套)教学PPT(2024年秋-新教材).pptx VIP
- 最新人教版一年级数学上册《数学游戏》教学课件(整套)PPT(2024秋-新教材).pptx VIP
- GBT6058-2005 纤维缠绕压力容器制备和内压试验方法.pdf
- GB╱T 23711.1-2009 氟塑料衬里压力容器电火花试验方法.pdf
- 7m焦炉推焦车的结构特征.pdf
- 研发领料单模板.docx VIP
- 辽宁省技工学校审批表.doc VIP
- GB 26501--2011 氟塑料衬里压力容器 通用技术条件.pdf
文档评论(0)