Purpose | Command line | Comment |
---|---|---|
Dialog "Notification Area Icons" | explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} | http://www.askvg.com/create-direct-shortcut-for-notification-area-icons-in-windows-vista-and-7/ |
Stored password dialog | rundll32.exe keymgr.dll,KRShowKeyMgr | http://www.thewindowsclub.com/rundll32-shortcut-commands-windows |
Local users and groups | lusrmgr.msc | |
Group policies | gpedit.msc | |
Enable IIS components | DISM /Online /Enable-Feature /All /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-WebServerRole /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-ManagementService /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpRedirect /FeatureName:IIS-StaticContent /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HttpLogging /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-ODBCLogging /FeatureName:IIS-RequestMonitor /FeatureName:IIS-HttpTracing /FeatureName:IIS-Performance /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-Security /FeatureName:IIS-IPSecurity /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-RequestFiltering /FeatureName:IIS-URLAuthorization /FeatureName:IIS-WindowsAuthentication /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-IISCertificateMappingAuthentication /FeatureName:IIS-ASP /FeatureName:IIS-ASPNET | http://blogs.msdn.com/b/habibh/archive/2009/08/14/how-to-install-iis-7-5-on-windows-7-using-the-command-line.aspx https://forums.iis.net/t/1176358.aspx /all let's install all required parent packages |
Force GP update | gpupdate /force | |
Chrome with Distill mode (Reader view) | "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-bundled-ppapi-flash --enable-dom-distiller "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --enable-dom-distiller --allow-no-sandbox-job --explicitly-allowed-ports=81,82,83 |
no-sandbox allows running under different account http://douglastarr.com/how-to-allow-unsafe-ports-in-chrome |
Set remote registry value | reg add "\\host123\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Foo Bar\deadbeef\coffee" /t reg_dword /v "Value1" /d 0xff /f | |
Install/Remove Programs | appwiz.cpl | |
Delete performance counters category [PS] | [Diagnostics.PerformanceCounterCategory]::Delete( "FooBar" ) | This one deletes FooBar category |
Monday, February 6, 2017
Command lines for windows administration
Commands
Also see: http://www.windowsnetworking.com/kbase/WindowsTips/Windows2003/AdminTips/Admin/LaunchAdminToolsfromtheCommandLine.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment