101 useful Run Commands

本文揭示了Windows XP中被忽视的101个功能和实用命令,涵盖了从无障碍控制到系统文件检查等各个方面,旨在帮助用户充分利用操作系统资源。
101 useful Run Commands 

Guys do you use the Run feature in Windows XP? For most, this feature remains unused (or rarely used). Why is that? Well, First off nearly all of the Run Commands Correspond to a particular Control Panel Item or a Utility, Tool or Task that can be accessed through Windows. There are, however, tools and utilities that I bet you never knew you had that can be accessed through the Run feature. The main reason most people don't use the Run feature is because they don't know the Commands. So, to solve that problem, I decided to put together the following listing, which lists 101 Run Commands and what they correspond too... 

To Access…. Run Command 

Accessibility Controls 
access.cpl 

Add Hardware Wizard 
hdwwiz.cpl 

Add/Remove Programs 
appwiz.cpl 

Administrative Tools 
control.exe admintools 

Automatic Updates 
wuaucpl.cpl 

Bluetooth Transfer Wizard 
fsquirt 

Calculator 
calc 

Certificate Manager 
certmgr.msc 

Character Map 
charmap 

Check Disk Utility 
chkdsk 

Clipboard Viewer 
clipbrd 

Command Prompt 
cmd 

Component Services 
dcomcnfg 

Computer Management 
compmgmt.msc 

Date and Time Properties 
timedate.cpl 

DDE Shares 
ddeshare 

Device Manager 
devmgmt.msc 

Direct X Control Panel (if installed)* 
directx.cpl 

Direct X Troubleshooter 
dxdiag 

Disk Cleanup Utility 
cleanmgr 

Disk Defragment 
dfrg.msc 

Disk Management 
diskmgmt.msc 

Disk Partition Manager 
diskpart 

Display Properties 
control.exe desktop 

Display Properties 
desk.cpl 

Display Properties (w/Appearance Tab Preselected) 
control.exe color 

Dr. Watson System Troubleshooting Utility 
drwtsn32 

Driver Verifier Utility 
verifier 

Event Viewer 
eventvwr.msc 

File Signature Verification Tool 
sigverif 

Findfast 
findfast.cpl 

Folders Properties 
control.exe folders 

Fonts 
control.exe fonts 

Fonts Folder 
fonts 

Free Cell Card Game 
freecell 

Game Controllers 
joy.cpl 

Group Policy Editor (XP Prof) 
gpedit.msc 

Hearts Card Game 
mshearts 

Iexpress Wizard 
iexpress 

Indexing Service 
ciadv.msc 

Internet Properties 
inetcpl.cpl 

Java Control Panel (if installed) 
jpicpl32.cpl 

Java Control Panel (if installed) 
javaws 

Keyboard Properties 
control.exe keyboard 

Local Security Settings 
secpol.msc 

Local Users and Groups 
lusrmgr.msc 

Logs You Out Of Windows 
logoff 

Mcft Chat 
winchat 

Minesweeper Game 
winmine 

Mouse Properties 
control.exe mouse 

Mouse Properties 
main.cpl 

Network Connections 
control.exe netconnections 

Network Connections 
ncpa.cpl 

Network Setup Wizard 
netsetup.cpl 

Nview Desktop Manager (if installed) 
nvtuicpl.cpl 

Object Packager 
packager 

ODBC Data Source Administrator 
odbccp32.cpl 

On Screen Keyboard 
osk 

Opens AC3 Filter (if installed) 
ac3filter.cpl 

Password Properties 
password.cpl 

Performance Monitor 
perfmon.msc 

Performance Monitor 
perfmon 

Phone and Modem Options 
telephon.cpl 

Power Configuration 
powercfg.cpl 

Printers and Faxes 
control.exe printers 

Printers Folder 
printers 

Private Character Editor 
eudcedit 

Quicktime (If Installed) 
QuickTime.cpl 

Regional Settings 
intl.cpl 

Registry Editor 
regedit 

Registry Editor 
regedit32 

Removable Storage 
ntmsmgr.msc 

Removable Storage Operator Requests 
ntmsoprq.msc 

Resultant Set of Policy 
rsop.msc 

Resultant Set of Policy (XP Prof) 
rsop.msc 

Scanners and Cameras 
sticpl.cpl 

Scheduled Tasks 
control.exe schedtasks 

Security Center 
wscui.cpl 

Services 
services.msc 

Shared Folders 
fsmgmt.msc 

Shuts Down Windows 
shutdown 

Sounds and Audio 
mmsys.cpl 

Spider Solitare Card Game 
spider 

SQL Client Configuration 
cliconfg 

System Configuration Editor 
sysedit 

System Configuration Utility 
msconfig 

System File Checker Utility 
sfc 

System Properties 
sysdm.cpl 

Task Manager 
taskmgr 

Telnet Client 
telnet 

User Account Management 
nusrmgr.cpl 

Utility Manager 
utilman 

Windows Firewall 
firewall.cpl 

Windows Magnifier 
magnify 

Windows Management Infrastructure 
wmimgmt.msc 

Windows System Security Tool 
syskey 

Windows Update Launches 
wupdmgr 

Windows XP Tour Wizard 
tourstart 

Wordpad 
write
+ printf ' \03311:37mdebug\03310m command-line parameter will greatly increase its verbosity which is\n' debug command-line parameter will greatly increase its verbosity which is printf ' extremely useful when diagnosing issues.\n\n' extremely useful when diagnosing issues. '[' -n ] printf ' live-boot will now start a shell. ' live-boot will now start a shell. + printf ' The error message was:\n\n The error message was: + . / scripts/ functions panic ' Can not mount / deu/loopθ(/ run/ live/ medium/ live/ filesysten. squashfs) on / run/ live/ rootfs/ filesystem. squashfs' local console rest IFS command -u chut chut 1 echo ' Can not mount / dev/loop0(/ run/ live/ medium/ live/ filesystem. squashfs) o m / run/ live/ rootfs/ filesystem. squashfs' can not mount / deu/loopθ(/ run/ live/ medium/ live/ filesystem. squashfs) on / run/ live/ rootfs/ filesystem. squashfs'[' -n ] sleep 15 run scripts / scripts/ panic initdir=/ scripts/ panic '[' '?' -d / scripts/ panic ] shift . / scripts/ panic/ORDER / scripts/ panic/ plymouth '[' -e / conf/ param. conf ] + / conf/ param. conf DEUICE=ens33 / scripts/ panic/ deepin-fix-init boot is not local, exit '[' -e / comf/ param. conf ] . / conf/ param. conf DEUICE=ens33 local 'BOOT FILE=/ tmp/ panic continue boot' '[' -f / tmp/ panic continue boot ] command -u setsid unset IFS read -r console rest '[' tty0'=' tty0 ] console=tty1 REASOM=' Can not mount / deu/loopθ(/ run/ live/ medium/ live/ filesystem. squashfs) on / run/ live/ rootfs/ filesystem. squashfs' PS1='(ir itramfs) ' setsid sh -c ' exec sh -i <>/ dev/tty1 1>&0 2>&1' BusyBox v1.30.1(Uos 1:1.30.1.5-1+ dde) built-in shell〔ash〕 Enter ' help' for a list of built-in commands. (initramfs)
06-09
<think>我们之前讨论的是在Windows环境下通过iPXE启动UOS(统信操作系统)时遇到问题。现在用户提出了一个新的具体错误:无法挂载squashfs文件系统,报错信息为“Cannotmount/dev/loop0(filesystem.squashfs)on/run/live/rootfs/filesystem.squashfs”。结合之前的讨论,我们需要分析这个新报错的原因并提供解决方案。以下是分步分析和解决方案:###错误分析1.**squashfs挂载失败**:报错表明系统尝试将`/dev/loop0`设备(对应`squashfs`文件)挂载到`/run/live/rootfs/filesystem.squashfs`失败。-**可能原因**:-**文件损坏**:从网络下载的`squashfs`文件不完整或损坏。-**内核模块缺失**:内核缺少`squashfs`模块支持(尤其在自定义内核中常见)。-**内存不足**:在挂载大容量`squashfs`文件时内存不足。-**权限问题**:Windows共享的访问权限限制导致文件无法完整读取。2.**与之前问题的关联**:-之前的iPXE参数中使用了`union=overlay`,该参数依赖`squashfs`作为基础文件系统。-若`squashfs`挂载失败,则`overlayfs`也无法构建,导致系统无法启动。###解决方案####1.**验证文件完整性**-**检查步骤**:-在Windows服务器上,使用SHA256校验`squashfs`文件:```powershellcertutil-hashfile"C:\PXE\UOS\live\filesystem.squashfs"SHA256```与官方提供的哈希值对比[^1]。-在iPXE脚本中临时增加内核参数`checksum`,让UOS启动时自动校验文件:```ipxeimgargsvmlinuz...checksum=1```####2.**确认内核支持squashfs**-**检测方法**:-在UOS的`initrd.lz`中检查是否存在`squashfs.ko`模块:```bash#解压initrd.lz(Linux环境下)lz4-dinitrd.lz|cpio-idmvfind.-namesquashfs.ko```-若没有,需重新生成`initrd`[^2]。-**临时方案**:在iPXE参数中强制加载内核模块(若模块存在):```ipxeimgargsvmlinuz...modules=loop,squashfs```####3.**检查内存资源**-**诊断**:在iPXE启动时观察内核日志(`debug=1`),若出现:```[0.938274]squashfs:ERROR:Filesystemrequires("xz")compressionsupport```说明需要特定解压算法的内存。-**解决**:-添加内核参数`lowmem`或调整squashfs块大小:```ipxeimgargsvmlinuz...lowmem=1```####4.**解决网络传输问题**-**现象**:网络传输中断导致文件未完整下载。-**解决**:-改用更稳定的传输协议(如HTTPS代替HTTP)。-增加iPXE超时时间:```ipxe:retry_bootkernel${boot-url}/UOS/live/vmlinuz...||gotoretry_bootinitrd${boot-url}/UOS/live/initrd.lz||gotoretry_boot```####5.**调整文件路径格式(Windows特有)**-**问题**:Windows路径大小写不敏感,但URL中的大小写可能影响。-**解决**:确保`${boot-url}`的路径与实际文件大小写完全匹配。###完整示例(修正后的iPXE脚本)```ipxe:startsetboot-urlhttp://192.168.1.100/PXEkernel${boot-url}/UOS/live/vmlinuzinitrd=initrd.lzboot=liverepo=${boot-url}/UOS/livedebug=1\componentslocales=zh_CN.UTF-8ip=dhcpunion=overlaylowmem=1modules=loop,squashfschecksum=1initrd${boot-url}/UOS/live/initrd.lzboot||gotostart```§§相关问题§§1.如何生成包含squashfs支持的UOS自定义内核?2.如何验证squashfs文件在传输过程中是否损坏?3.如何扩大iPXE使用的内存以避免解压问题?</think> ### UOS iPXE启动报错 "Cannot mount /dev/loop0 (filesystem.squashfs)" 解决方案 #### 错误原因分析 1. **squashfs文件损坏**(最常见原因) - 传输过程中网络中断导致文件不完整 - Windows共享权限问题导致文件读取错误 - 文件系统不兼容(如NTFS分区存储的squashfs文件) 2. **内存不足** - UOS要求至少4GB RAM加载squashfs - iPXE默认只分配8MB内存,需扩展: $$ \text{可用内存} < \text{squashfs文件大小} + 500\text{MB} $$ 3. **内核模块缺失** - `squashfs`模块未编译进内核 - loop设备支持未激活(`CONFIG_BLK_DEV_LOOP=y`) 4. **文件路径问题** - Windows路径大小写不敏感 vs Linux敏感 - URL特殊字符未转义(如空格需替换为`%20`) #### 完整解决方案 1. **验证文件完整性** ```powershell # Windows CMD验证哈希值 certutil -hashfile "C:\PXE\UOS\live\filesystem.squashfs" SHA256 ``` 与官方发布值对比[^1] 2. **修正iPXE内存分配** ```ipxe # 在kernel命令前添加内存扩展(需1GB) kernel -mem 1024 ${boot-url}/UOS/live/vmlinuz ... ``` 3. **添加缺失的内核参数** ```ipxe imgargs vmlinuz ... loop.max_part=16 squashfs.ro ... ``` 4. **优化Windows共享配置** - 共享文件夹权限:Everyone完全控制 - 防火墙设置: ```powershell New-NetFirewallRule -DisplayName "iPXE-UOS" -Direction Inbound -Protocol TCP -LocalPort 80,69 -Action Allow ``` 5. **使用FUSE模块备选方案** ```ipxe imgargs vmlinuz ... fuse force_safepath ``` #### 诊断命令 在UOS内核加载时添加`debug=1`获取详细日志: 1. 检查squashfs头信息: ```bash unsquashfs -s filesystem.squashfs ``` 2. 验证loop设备支持: ```bash grep -i loop /proc/devices ``` > **硬件兼容性注意事项**:旧设备需在imgargs添加: > ```ipxe > imgargs ... pci=nommconf noapic acpi=off > ```
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值