Note: Run CMD as Administrator
CloseOutlookIMAP is used to Close the Outlook application which is run in the background after closing it.
+==========================+
|Disable Drive Redirection:| reg add "HKLM\SOFTWARE\Microsoft\Terminal Server Client" /v DisableDriveRedirection /t REG_DWORD /d 1 /f
+==========================+
Disable Printer Redirection: reg add "HKLM\SOFTWARE\Microsoft\Terminal Server Client" /v DisablePrinterRedirection /t REG_DWORD /d 1 /f
+==========================+
Enable Admin Share: reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
+==========================+
Query to check if reg entry is there: reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
+==========================+
Delete the reg key: reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /f
+==========================+
Hide application from Program and Features: reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall(application name)" /v SystemComponent /t REG_DWORD /d 1 /f
+==========================+
+==========================+
"Access Denied" on saving Office documents while not having delete permission
reg add "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\General" /v EnableSimpleCopyForSaveToUNC /t REG_DWORD /d 1 /f
+==========================+
Add secound in taskbar clock
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSecondsInSystemClock /t REG_DWORD /d 1 /f
+==========================+
Clear Run history...
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_TrackProgs /t REG_DWORD /d 0 /f
+==========================+
Ref Link: https://stackoverflow.com/questions/25736268/how-to-register-a-windows-service-but-avoid-it-being-listed-in-the-services-cons
+==========================+
Hide the service from Services.msc
sc sdset (name of service) D:(D;;DCLCWPDTSD;;;IU)(D;;DCLCWPDTSD;;;SU)(D;;DCLCWPDTSD;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
+==========================+
Restore the service from Services.msc
sc sdset (name of service) D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
+==========================+