Knowledge base

Create a selfsigning certificate and sign a Powershell Script. 

# Create a self-signed code signing certificate valid for 24 months.

$cert = New-SelfSignedCertificate -Subject CodeSigningCert -NotAfter (Get-Date).AddMonths(24) -Type CodeSigningCert


Remember to copy the new self signing certificate to the folder Trust Root Certication Authorities


See your signed certificate
Get-ChildItem Cert:\LocalMachine\my -CodeSigningCert

Pick your codesigning certificate. Count from the top 0,1,2

$cert = (Get-ChildItem –Path Cert:\LocalMachine\My -CodeSigningCert)[2]


Pick your file you want to sign;
Set-AuthenticodeSignature -FilePath c:\intel\signme.ps1 -Certificate $cert

————————————————————————————————————————- (mofcomp.exe c:\windows\system32\wbem\win32_encryptablevolume.mof)

Need to save data from OS/2 harddrive formatet with HPFS: (I have done the below on Windows XP)
1. Download download
2. Unzip and copy RS.DLL and patched PINBALL.SYS to /WINNT/SYSTEM32/DRIVERS
3. Enter the information from hpfs.reg (included in into the registry (just doubleclick it)
4. Reboot
5. Mount your HPFS volumes

Backup/restore Samsung S3

VMware-player-6.0.4-2237854.exe – bad version. Cannot update vmware tools!!!


Different SMB versions appeared in the following Windows versions:

  • CIFS – Windows NT 4.0
  • SMB 1.0 – Windows 2000
  • SMB 2.0 – Windows Server 2008 and Windows Vista SP1
  • SMB 2.1 – Windows Server 2008 R2 and Windows 7
  • SMB 3.0 – Windows Server 2012 and Windows 8
  • SMB 3.02 – Windows Server 2012 R2 and Windows 8.1

In the network interaction over SMB, a client and a server use the maximum version of the SMB protocol supported both by the client and the server.

The summary table of SMB version compatibility on the side of a client and a server looks like this:

Operation System Windows 8.1,
Server 2012 R2
Windows 8,
Server 2012
Windows 7,
Server 2008 R2
Windows Vista,
Server 2008
Windows XP, Server 2003 and earlier
Windows 8.1 ,
Server 2012 R2
SMB 3.02 SMB 3.0 SMB 2.1 SMB 2.0 SMB 1.0
Windows 8 ,
Server 2012
SMB 3.0 SMB 3.0 SMB 2.1 SMB 2.0 SMB 1.0
Windows 7,
Server 2008 R2
SMB 2.1 SMB 2.1 SMB 2.1 SMB 2.0 SMB 1.0
Windows Vista,
Server 2008
SMB 2.0 SMB 2.0 SMB 2.0 SMB 2.0 SMB 1.0
Windows XP, 2003 and earlier SMB 1.0 SMB 1.0 SMB 1.0 SMB 1.0 SMB 1.0

CLICK ONCE installation problems:

Change prompt behavior by changing the regedit:

Good links when you have to shutdown Certificates in your domain:
Remove CA in AD

Move DHCP from one server to another? Use Powershell. remember -Leases.
2 link: Microsoft and a Geek

Need a NTP server? Links or use this in your AD from a CMD:

w32tm /config /syncfromflags:manual /manualpeerlist:””
and then
w32tm /config /update