随笔分类 -  Windows

Windows系统和底层相关技术
摘要:``` Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp' -name "PortNumber" -Value 33899 Set-ItemProperty 阅读全文
posted @ 2023-05-22 17:52 devs 阅读(93) 评论(0) 推荐(0) 编辑
摘要:C# 取消文件隐藏并恢复标准文件 DirectoryInfo di = new DirectoryInfo(@"D:\Software"); foreach (DirectoryInfo sub in di.GetDirectories()) { File.SetAttributes(sub.Ful 阅读全文
posted @ 2021-12-15 14:24 devs 阅读(210) 评论(0) 推荐(0) 编辑
摘要:错误描述 [Window Title] 远程桌面连接 [Content] 出现身份验证错误。 要求的函数不受支持 远程计算机: ******** 这可能是由于 CredSSP 加密数据库修正。 若要了解详细信息,请访问 https://go.microsoft.com/fwlink/?linkid= 阅读全文
posted @ 2021-07-10 12:58 devs 阅读(388) 评论(0) 推荐(0) 编辑
摘要:Mozilla Firefox https://www.mozilla.org/en-US/firefox/all/#product-desktop-release https://www.mozilla.org/en-US/firefox/all/#product-desktop-develope 阅读全文
posted @ 2021-07-03 11:55 devs 阅读(839) 评论(0) 推荐(0) 编辑
摘要:_is64Bit = Environment.Is64BitOperatingSystem; private object ReadRegistryKeyValue(string keyPath, string valueName) { object obj = null; using (var b 阅读全文
posted @ 2021-05-14 12:59 devs 阅读(162) 评论(0) 推荐(0) 编辑
摘要:Usage of msi2xml msi2xml [-q] [-n] [-m] [-e ENCODING] [-s [STYLESHEET]] [-b [DIR]] [-c [DIR[,MEDIACABS]] [-o XMLFILE] file -q --quiet quiet processing 阅读全文
posted @ 2021-04-08 18:40 devs 阅读(209) 评论(0) 推荐(0) 编辑
摘要:System.Exception: Script execution exception: System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, 阅读全文
posted @ 2021-03-27 17:26 devs 阅读(676) 评论(0) 推荐(0) 编辑
摘要:XCN_CRYPT_ENHKEY_USAGE_OID_GROUP_ID Enhanced key usage (EKU) extension group. This includes the following OIDs: XCN_OID_PKIX_KP_SERVER_AUTH (1.3.6.1.5 阅读全文
posted @ 2021-02-02 18:42 devs 阅读(113) 评论(0) 推荐(0) 编辑
摘要:Windows 10 总是反反复复无休止的更新,然后自动(闲时)重启或者提示重启, 简直烦不胜烦... 所以直接写了这个小程序,关闭所有自动更新项,一劳永逸. static void Main(string[] args) { Console.Title = "Disable Windows Aut 阅读全文
posted @ 2021-01-21 16:46 devs 阅读(1295) 评论(2) 推荐(1) 编辑
摘要:如果您安装了VS2008或者VS2019的话,可以直接从VS命令行启动该工具。 D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\Hostx64\x64\dumpb 阅读全文
posted @ 2020-09-04 17:06 devs 阅读(1020) 评论(0) 推荐(0) 编辑
摘要:如果我们需要用gacutil去注册dll ,就需要使用Visual Studio的Command Prompt,前提是需要安装Visual Studio,但是客户端上一般是没有安装VS的,所以你就需要将gacutil的文件夹拷贝到部署的客户机上。在C盘搜索gacutil.exe,我们会搜索到三个文件 阅读全文
posted @ 2020-09-01 11:15 devs 阅读(700) 评论(0) 推荐(0) 编辑
摘要:Use the registry information below to determine which version(s) and service pack level(s) of the Microsoft .NET Framework are installed.To do this, f 阅读全文
posted @ 2020-04-30 11:34 devs 阅读(1340) 评论(0) 推荐(0) 编辑
摘要:直接在CMD中执行以下命令即可: rmdir /s/q "%ProgramData%\Microsoft\Windows Defender\Scans\History\Service" rmdir /s/q "%ProgramData%\Microsoft\Windows Defender\Scan 阅读全文
posted @ 2020-04-01 20:30 devs 阅读(13604) 评论(0) 推荐(0) 编辑