Monday, May 2, 2022

MS Teams was working, but now doesn't allow logon

 Occasionally, MS Teams prompts me to logon again and sometimes gets into a loop where it says it logon didn't work and restart to try again, repeatedly...

1. What I do next is right-click MS Teams in systray, then select Quit.


 






2. Open file explorer and go to folder "%appdata%\Microsoft\Teams" and delete the contents.

3. Then start up MS Teams again.  

Otherwise, see more MS Teams troubleshooting info here:
https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/resolve-sign-in-errors


Saturday, January 30, 2021

SQL Server Agent (Agent XPs disabled)

How to enable Agent XPs when SQL Agent Service shows "(Agent XPs disabled)".

From SQL Server Management Studio, open query window and use sp_configure commands below:

SP_CONFIGURE 'SHOW ADVANCE',1
GO
RECONFIGURE WITH OVERRIDE
GO
SP_CONFIGURE 'AGENT XPs',1
GO
RECONFIGURE WITH OVERRIDE
GO

Start or restart SQL Agent in SSMS.


Reference:

https://blog.sqlauthority.com/2016/06/13/sql-server-fix-agent-xps-component-turned-off-part-security-configuration-server/

https://blog.sqlauthority.com/2016/02/29/sql-server-unable-to-start-sql-server-agent-failed-to-initialize-sql-agent-log/


Thursday, March 8, 2018

Netapp & SMB options

SMB setting changes:


  • To enable/disable SMB1
    "cifs control set smb1.enable [yes/no]"
  • To enable/disable SMB2
    "options cifs.smb2.enable [on/off]"

Tuesday, May 30, 2017

Reset SoftwareDistribution Folder

Occassionally, Windows Update process stops cleaning up or something and the C:\WINDOWS\SoftwareDistribution folder starts to get full.


To reset this, stop the service, rename the folder, and restart service.  This should create a new SoftwareDistribution folder:
  • Open a CMD window runas admin
  • type net stop wuauserv and press enter
  • type rename c:\windows\SoftwareDistribution softwaredistribution.oldand press enter
  • type net start wuauserv and press enter
  • type exit and press enter
Reboot and if all is well, you can delete the old softwaredistribution.old folder.



Monday, July 11, 2016

Large CBS folder in Windows 2008 R2

Possible fix to problem of running out of C: drive space due to log/cab files filling up C:\Windows\Logs\CBS folder...


To reset the compression in the CBS folder use the following method:
  1. Disable TrustedInstaller.exe (Windows Module Installer) in Taskmanager Services
  2. Delete all the .log files in the C:\Windows\Logs\ CBS directory, delete the .persist and .cab files as well
  3. Enable TrustedInstaller.exe again
NOTE: Cleaning up the CBS folder resets the compression process, so the new created log files should not get bigger than 50 Mb before the compression into .cab files as it should be.


Reference:
http://superuser.com/questions/803842/why-is-cbs-log-file-size-20-gb



Wednesday, December 16, 2015