Issue:

Cannot connect to L2TP/IPSec VPN whilst on Windows 7 / 10.

 

Resolve:

  1. Open RegEdit to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent
  2. Create new DWORD (32-bit) Value with name of “AssumeUDPEncapsulationContextOnSendRule”
  3. Give value of 2
  4. Reboot machine.

Link:

How to configure an L2TP/IPsec server behind a NAT-T device in Windows Vista and in Windows Server 2008

 

Issue:

If a Windows service is stuck in stopping or starting, you can force quit the service.

Method

  1. Find service’s short name (Look in services.msc – it is displayed as “Service Name”)
  2. Open command prompt with admin privledges
  3. enter the command below and make a note of the PID
    sc queryex servicename
  4. Enter the command below with the PID you noted above to kill the task:
    taskkill /f /pid [PID]

Link:

How to kill a Windows service that’s stuck on stopping or starting

Issue:

With newer versions of Windows OS, you no longer have the option to adjust what groups a user a member of (For example if you have Sophos installed, there would be a SophosAdministrator group). To change this, you can do this via command line.

 

Method:

1/ Find what groups there are on the system:

net localgroup

2/ Find what group a user belongs to:

net user userName

3/ Add a user to a group:

net localgroup group_name UserLoginName /add

example:

net localgroup SuperUserGroup Jason /add

Links:

http://www.windows-commandline.com/add-user-to-group-from-command-line/
http://www.windows-commandline.com/list-of-user-groups-command-line/

Issue:

When attempting to install the EFI Firmware Update for MacBook Pro, the update would attempt to install but fail with the message:

An error has occurred
The digital signature on MacBook Pro EFI Firmware Update is missing or is invalid. The update may have been tampered with since being signed by Apple. Click Update to download and check the update again. (203)

Resolution:

  • Renamed the update folder – Found /Library/Updates
  • Manually downloaded update from Apple support pages and install.
  • Re-run  AppStore updates to ensure that the update disappears from the updates to be applied.

To check what supported ciphers running on server, use tool SSLScan to check. Download from here

Download and extract downloaded file to your machine and run command line:

SSLScan.exe domain.co.uk:443

Output would be something like this:

 

_
 ___ ___| |___ ___ __ _ _ __
 / __/ __| / __|/ __/ _` | '_ \
 \__ \__ \ \__ \ (_| (_| | | | |
 |___/___/_|___/\___\__,_|_| |_|
Version 1.8.2-win
 http://www.titania.co.uk
 Copyright Ian Ventura-Whiting 2009
 Compiled against OpenSSL 0.9.8m 25 Feb 2010
Testing SSL server domain.co.uk on port 443
Supported Server Cipher(s):
 Accepted SSLv2 168 bits DES-CBC3-MD5
 Failed SSLv2 56 bits DES-CBC-MD5
 Failed SSLv2 128 bits IDEA-CBC-MD5
 Failed SSLv2 40 bits EXP-RC2-CBC-MD5
 Failed SSLv2 128 bits RC2-CBC-MD5
 Failed SSLv2 40 bits EXP-RC4-MD5
 Accepted SSLv2 128 bits RC4-MD5
 Rejected SSLv3 256 bits ADH-AES256-SHA
 Rejected SSLv3 256 bits DHE-RSA-AES256-SHA
 Rejected SSLv3 256 bits DHE-DSS-AES256-SHA
 Rejected SSLv3 256 bits AES256-SHA
 Rejected SSLv3 128 bits ADH-AES128-SHA
 Rejected SSLv3 128 bits DHE-RSA-AES128-SHA
 Rejected SSLv3 128 bits DHE-DSS-AES128-SHA
 Rejected SSLv3 128 bits AES128-SHA
 Rejected SSLv3 168 bits ADH-DES-CBC3-SHA
 Rejected SSLv3 56 bits ADH-DES-CBC-SHA
 Rejected SSLv3 40 bits EXP-ADH-DES-CBC-SHA
 Rejected SSLv3 128 bits ADH-RC4-MD5
 Rejected SSLv3 40 bits EXP-ADH-RC4-MD5

LINKS:

Download SSLScan: https://code.google.com/p/sslscan-win/ 
Michael Boman Blog: http://www.michaelboman.org/books/sslscan

set thedate=%date:~6,4%-%date:~3,2%-%date:~0,2%
set thetime=%time:~0,2%%time:~3,2%
For Example: =%date:~6,4%
Outputs the date, then takes 4 characters from the 6th Character.
Depending on location: Date will show DD-MM-YYYY
Sp:
%date:~6,4% = YYYY
%date:~3,2% = MM
%date:~0,2% = DD

Time is shown: HH:MM:SS.SS
%time:~0,2%=HH
%time:~3,2%=MM