- To enable/disable SMB1
"cifs control set smb1.enable [yes/no]" - To enable/disable SMB2
"options cifs.smb2.enable [on/off]"
Thursday, March 8, 2018
Netapp & SMB options
SMB setting changes:
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:
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
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:
Reference:
http://superuser.com/questions/803842/why-is-cbs-log-file-size-20-gb
To reset the compression in the CBS folder use the following method:
- Disable TrustedInstaller.exe (Windows Module Installer) in Taskmanager Services
- Delete all the .log files in the C:\Windows\Logs\ CBS directory, delete the .persist and .cab files as well
- Enable TrustedInstaller.exe again
Reference:
http://superuser.com/questions/803842/why-is-cbs-log-file-size-20-gb
Wednesday, December 16, 2015
How to fix WMI
See reference regarding ways to fix problems with WMI.
Reference:
https://katyscode.wordpress.com/2007/02/03/tutorial-how-to-fix-wmi-corruption/
Reference:
https://katyscode.wordpress.com/2007/02/03/tutorial-how-to-fix-wmi-corruption/
Wednesday, June 10, 2015
How to change NetworkCategory for Win 2012 R2
By default Win 2012 R2 treats NIC interfaces as PUBLIC. Even with Windows Firewall OFF, it will still block RDP, etc... from external IPs... To fix, change NetworkCategory to PRIVATE...
Using GPEDIT.MSC, runas Administrator
Reference:
http://anonit.blogspot.com/2014/02/change-network-location-in-server-2012.html
Using GPEDIT.MSC, runas Administrator
- Navigate to Computer Configuration / Windows Settings / Security Settings / Network List Manager Policies.
- Double click the Network name of network that you would like to change the location
- Select the Network Location tab, and set the location to PRIVATE
- Click OK, and close Local Group Policy Editor
Reference:
http://anonit.blogspot.com/2014/02/change-network-location-in-server-2012.html
Tuesday, May 19, 2015
Saving Netapp CIFS audit logs to file
From the command line of filer:
Reference:
https://library.netapp.com/ecmdocs/ECMP1196993/html/GUID-E58BC8F8-15B9-404F-B097-FD6214E1D409.html
- Putty into filer
- Enter the following command to update the event log:
cifs audit save [-f]
The -f option allows you to overwrite the existing event log. If the event log does not exist, you can omit the -f option
Reference:
https://library.netapp.com/ecmdocs/ECMP1196993/html/GUID-E58BC8F8-15B9-404F-B097-FD6214E1D409.html
Wednesday, April 8, 2015
AD Search tool on Win 7
Create a shortcut called "AD Search" or something similar for this:
Reference:
http://www.windowsdevcenter.com/pub/a/windows/2004/06/01/ad_shortcut.html
%windir%\system32\rundll32.exe dsquery.dll,OpenQueryWindow
Reference:
http://www.windowsdevcenter.com/pub/a/windows/2004/06/01/ad_shortcut.html
Subscribe to:
Posts (Atom)