Recent Changes - Search:

Exchange Server

Networking

Windows Server

Windows Workstation

Authentication Security

Remote Access

VOIP Phone

Antivirus

3d Printer

Linux

RandomInfo

PmWiki

edit SideBar

WindowsWorkstation

  • Folder Redirection Sync
    Files stored in c:\windows\csc
    To recover files in this folder give yourself permission as it's protected, open cmd prompt as admin and run
    
    • takeown /f c:\windows\csc /r /a
  • If your tenant users are created in Azure AD, use net localgroup administrators /add "AzureAD\UserUpn"
  • remove user profile not visible in windows 10 control panel. on runline (ctrl-r), run SystemPropertiesAdvanced
  • Repair windows update, run in admin cmd prompt
    • dism.exe /Online /Cleanup-image /Restorehealth
    • sfc /scannow
  • completely reset windows update
    • net stop bits
    • net stop wuauserv
    • net stop appidsvc
    • net stop cryptsvc
    • Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
    • rmdir %systemroot%\SoftwareDistribution /S /Q
    • rmdir %systemroot%\system32\catroot2 /S /Q
    • sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
    • sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
    • cd /d %windir%\system32
    • regsvr32.exe /s atl.dll
    • regsvr32.exe /s urlmon.dll
    • regsvr32.exe /s mshtml.dll
    • regsvr32.exe /s shdocvw.dll
    • regsvr32.exe /s browseui.dll
    • regsvr32.exe /s jscript.dll
    • regsvr32.exe /s vbscript.dll
    • regsvr32.exe /s scrrun.dll
    • regsvr32.exe /s msxml.dll
    • regsvr32.exe /s msxml3.dll
    • regsvr32.exe /s msxml6.dll
    • regsvr32.exe /s actxprxy.dll
    • regsvr32.exe /s softpub.dll
    • regsvr32.exe /s wintrust.dll
    • regsvr32.exe /s dssenh.dll
    • regsvr32.exe /s rsaenh.dll
    • regsvr32.exe /s gpkcsp.dll
    • regsvr32.exe /s sccbase.dll
    • regsvr32.exe /s slbcsp.dll
    • regsvr32.exe /s cryptdlg.dll
    • regsvr32.exe /s oleaut32.dll
    • regsvr32.exe /s ole32.dll
    • regsvr32.exe /s shell32.dll
    • regsvr32.exe /s initpki.dll
    • regsvr32.exe /s wuapi.dll
    • regsvr32.exe /s wuaueng.dll
    • regsvr32.exe /s wuaueng1.dll
    • regsvr32.exe /s wucltui.dll
    • regsvr32.exe /s wups.dll
    • regsvr32.exe /s wups2.dll
    • regsvr32.exe /s wuweb.dll
    • regsvr32.exe /s qmgr.dll
    • regsvr32.exe /s qmgrprxy.dll
    • regsvr32.exe /s wucltux.dll
    • regsvr32.exe /s muweb.dll
    • regsvr32.exe /s wuwebv.dll
    • netsh winsock reset
    • netsh winsock reset proxy
    • net start bits
    • net start wuauserv
    • net start appidsvc
    • net start cryptsvc
  • Get machine mainboard info
    • wmic baseboard get product,Manufacturer,version,serialnumber
  • Get machine bios info
    • wmic bios get name,serialnumber,version
  • get tpm info
    • wmic /namespace:\\root\cimv2\security\microsofttpm path win32_tpm get * /format:textvaluelist.xsl
  • list installed software
    • Get-wmiobject -class win32_product
  • list installed Microsoft software
    • Get-wmiobject -class win32_product | where vendor - "microsoft corporation" | select Name, Version
  • remove software
    • $myapp = get-wmiobject -class win32_product | where-object{$_.Name -eq"Name of software, exactly"}
    • $myapp.uninstall()
  • get execution policy
    • get-executionpolicy
  • set execution policy to run scripts
    • set-executionpolicy unrestricted
  • set execution policy to NOT run scripts (safer to leave this set when not needed)
    • set-executionpolicy restricted
Edit - History - Print - Recent Changes - Search
Page last modified on October 05, 2022, at 03:59 PM