随笔分类 - Windows
Windows系统和底层相关技术
摘要:``` Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp' -name "PortNumber" -Value 33899 Set-ItemProperty
阅读全文
摘要:C# 取消文件隐藏并恢复标准文件 DirectoryInfo di = new DirectoryInfo(@"D:\Software"); foreach (DirectoryInfo sub in di.GetDirectories()) { File.SetAttributes(sub.Ful
阅读全文
摘要:错误描述 [Window Title] 远程桌面连接 [Content] 出现身份验证错误。 要求的函数不受支持 远程计算机: ******** 这可能是由于 CredSSP 加密数据库修正。 若要了解详细信息,请访问 https://go.microsoft.com/fwlink/?linkid=
阅读全文
摘要:Mozilla Firefox https://www.mozilla.org/en-US/firefox/all/#product-desktop-release https://www.mozilla.org/en-US/firefox/all/#product-desktop-develope
阅读全文
摘要:_is64Bit = Environment.Is64BitOperatingSystem; private object ReadRegistryKeyValue(string keyPath, string valueName) { object obj = null; using (var b
阅读全文
摘要:Usage of msi2xml msi2xml [-q] [-n] [-m] [-e ENCODING] [-s [STYLESHEET]] [-b [DIR]] [-c [DIR[,MEDIACABS]] [-o XMLFILE] file -q --quiet quiet processing
阅读全文
摘要:System.Exception: Script execution exception: System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral,
阅读全文
摘要: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
阅读全文
摘要:Windows 10 总是反反复复无休止的更新,然后自动(闲时)重启或者提示重启, 简直烦不胜烦... 所以直接写了这个小程序,关闭所有自动更新项,一劳永逸. static void Main(string[] args) { Console.Title = "Disable Windows Aut
阅读全文
摘要:如果您安装了VS2008或者VS2019的话,可以直接从VS命令行启动该工具。 D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\Hostx64\x64\dumpb
阅读全文
摘要:如果我们需要用gacutil去注册dll ,就需要使用Visual Studio的Command Prompt,前提是需要安装Visual Studio,但是客户端上一般是没有安装VS的,所以你就需要将gacutil的文件夹拷贝到部署的客户机上。在C盘搜索gacutil.exe,我们会搜索到三个文件
阅读全文
摘要: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
阅读全文
摘要:直接在CMD中执行以下命令即可: rmdir /s/q "%ProgramData%\Microsoft\Windows Defender\Scans\History\Service" rmdir /s/q "%ProgramData%\Microsoft\Windows Defender\Scan
阅读全文