2020年6月30日
摘要: For current OS: C:\Windows\System32\oobe\INFO\DEFAULT\2052\ For PBR path:C:\Recovery\OEM\Point_D\oobe\info\DEFAULT\2052\ 阅读全文
posted @ 2020-06-30 16:31 没什么事我就先挂了 阅读(925) 评论(0) 推荐(0)
摘要: SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 0x1f 直接解决方案如下:1,c 阅读全文
posted @ 2020-06-30 16:30 没什么事我就先挂了 阅读(756) 评论(0) 推荐(0)
摘要: 1. 首先挂载剩余空间最大的分区, 比如 sda2 1 mount /dev/sda2 /mnt 2. 将所有剩余空间sector写0, 1 cd /mnt 2 dd if=/dev/zero of=deltest /dev/zero是一串无限0的字串, 这个命令比较慢, 它会创建一个非常大的del 阅读全文
posted @ 2020-06-30 16:28 没什么事我就先挂了 阅读(348) 评论(0) 推荐(0)
摘要: 关闭Windows 10 自动更新: 1、按win+R键打开运行窗口,输入gpedit.msc按回车键打开本地组策略编辑器。 2、在左侧依次双击展开“计算机配置-管理模板-windows组件-windows更新”,在右栏中找到“配置自动更新”。3、双击打开“配置自动更新”窗口,在左上方选中“已禁用” 阅读全文
posted @ 2020-06-30 16:23 没什么事我就先挂了 阅读(457) 评论(0) 推荐(0)
摘要: 1 $searchText ="LsoV2IPv4" 2 $Regpath = "HKLM:\SYSTEM\CurrentControlSet\Control\Class" 3 4 Get-ChildItem $Regpath -Recurse -ErrorAction SilentlyContin 阅读全文
posted @ 2020-06-30 14:49 没什么事我就先挂了 阅读(417) 评论(0) 推荐(0)
摘要: 1 $wake = gwmi -namespace root/hp/instrumentedbIOS -class HP_BIOSSetting | Where-Object { $_.name -like '*Active*Management*' } 2 Write-Log -Message ' 阅读全文
posted @ 2020-06-30 14:48 没什么事我就先挂了 阅读(143) 评论(0) 推荐(0)
摘要: 用powershell简单实现检查磁盘类型,分区。适用于单机械硬盘,单固态硬盘,一个机械硬盘加一个固态硬盘,双固态硬盘。 代码如下 1 #get all disks info, except udisk 2 $Disks = Get-PhysicalDisk | Where-Object {$_.B 阅读全文
posted @ 2020-06-30 14:47 没什么事我就先挂了 阅读(293) 评论(0) 推荐(0)
  2020年6月28日
摘要: [ok] starting dracut initqueue hook在启动后引导界面按 e 进行编辑【这个是默认的信息】 1 setparams 'Install CentOS Linux 7' 2 linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:L 阅读全文
posted @ 2020-06-28 16:53 没什么事我就先挂了 阅读(1598) 评论(0) 推荐(0)
摘要: 先使用 Get-AppxPackage | Format-List Name 列出所有内建的Appx。 创建RemoveAppx.ps1, 将如下内容复制到ps1内, 修改$RemoveApps.保存. 1 $RemoveApps = @( "Microsoft.BingWeather","Micr 阅读全文
posted @ 2020-06-28 16:38 没什么事我就先挂了 阅读(624) 评论(1) 推荐(0)
摘要: 202006/30更新, CloneZilla以EFI Grub模式启动时, 配置文件为 I:\EFI\boot\grub.cfg 则CloneZilla官网的修改syslinux.cfg的方法无效. 需要修改grub.cfg文档内容,如下是实测示例: 镜像盘: 移动固态硬盘, 第一分区为Clone 阅读全文
posted @ 2020-06-28 16:00 没什么事我就先挂了 阅读(2848) 评论(0) 推荐(0)