Windows 7 related stuff

MP3 Splitter

Cut large mp3 in 10 min seq's
C:\Program Files\mp3splt>mp3splt.exe -t 10.00 "D:\Music\+Trance\God's compilation - Copy\Greatest Vocal Trance of all time (Part 1 of 3) By Christian Pheng.mp3"

1) Windows 7 Ultm , iSCSI set-up to Storage

Windows commands timer

C:\Users\SC>cmd /v:on /c "echo !TIME! & telnet & echo !TIME!"
Connecting To not open connection to the host, on port 23: Connect failed
Windows TCP settings
C:\Users\SC>netsh interface tcp show global
Querying active state...
TCP Global Parameters
Receive-Side Scaling State          : enabled
Chimney Offload State               : enabled
NetDMA State                        : enabled
Direct Cache Acess (DCA)            : enabled
Receive Window Auto-Tuning Level    : normal
Add-On Congestion Control Provider  : ctcp
ECN Capability                      : disabled
RFC 1323 Timestamps                 : disabled

2) Windows analog for Linux GREP
In CMD with Admin Rights
echo findstr %1 %2 %3 %4 %5 > %systemroot%\grep.cmd
echo IF "%1"=="-a" (ipconfig /all) ELSE (ipconfig %1) > %systemroot%\ifconfig.cmd
echo %1 /?> %systemroot%\man.cmd
echo IF "%1"=="-a" (dir) ELSE (IF "%1"=="-al" (dir) ELSE (dir %1 %2 %3 %4 %5)) > %systemroot%\ls.cmd
C:\Users>netstat -an | grep LISTEN
  TCP                LISTENING
  TCP                LISTENING
  TCP               LISTENING
  TCP              LISTENING

3) Check your C: drive for errors and automatically repair them.

10) Hardware PC's
Windows 7 Ultimate 32bits with 4 GB RAM

Work PC  (Win7 SP1, 32bit) 

CPU  - Intel Core2 Duo E7500 @ 2.93GHz
MB   - D3041-A1
RAM  - 4GB
GPU  - GeForce 210
HDD  - Hitachi HDS721050CLA362 (500 GB)

Passmark   715
1781   326     128     763    762

Acer PC (Win7 SP1, 64bit)

CPU  - Intel Core i5-2300 @ 2.80GHz
MB   - Aspire M3970
RAM  - 4GB , Kingston ACR256X64D3U1333C9
GPU  - GeForce 405
HDD  - Seagate ST3500413AS (500 GB)

Passmark   1330
5515   638     231     1800   773
Transcend TS128GMSA720    3482
Transcend TS256GSSD340     2,153
Transcend TS64GSSD320     1,437
Установка и настройка Windows 7 на SSD накопитель | Компьютерные советы

MAXTOR STM3500320AS        605
SAMSUNG HD250HJ            564

                                Passmark     Rank    CPU Value
Intel Xeon E5-2690 v2 @ 3.00GHz     17441
Intel Core i7-3970X @ 3.50GHz
AMD FX-8150 Eight-Core              7713    6k lei
Intel Core i5-2400 @ 3.10GHz        5810    195    27.44
Intel Core i5-2300 @ 2.80GHz        5244
Intel Core2 Quad Q8400 @ 2.66GHz    3227    479        20.42
Intel Core2 Duo E8400 @ 3.00GHz     2164   
Intel Core i3 550 @ 3.20GHz         2877   
Intel Core2 Duo E7400 @ 2.80GHz     1758   
AMD Athlon 64 X2 4600+              1365    1003    3.90
AMD Sempron 2400+                   317
Intel Pentium 4 1.50GHz             136
AMD-K6-III                          108
AMD Sempron 2500+        538

Radeon HD 6450                      289
GeForce 8600 GT                     257
GeForce 210                         184  
Quadro NVS 290                      102     <- scroll in FF of this page, 100% GPU ( )

Add SSD Drive for runnning OS on

Migration done with DriveImage XML 2.50 - dixmlsetup.exe

HDD/SSD/RAMDisk Performance comparison
        Read AVG (MB/s)    Acess time (ms)    Ratio-access time    PC/device    Model
HDD        120                7.80            1                    SATA2/SATA2    Hitachi HDS721050CLA362 (500GB 7200RPM)
SSD        195.4            0.209            37                    SATA2/SATA3    Silicon Power S80 (60GB)
RAMDisk    2796            0.033            236                    -/-
Hitachi HDS721050CLA362    686

Hitachi HDS721050CLA362 (500GB 7200RPM)
Silicon Power S80 (60GB)


Avast + The Bat Errors:

1) Better Windows 7 Cleanup
Windows 7 Ultimate  32bits (clean)
before : used 15.5 GB  (clean install + all updates to jan 2014)
afeter : used 12.3 GB
  (after all procedures described below)

1) Clean Browsers Cache

Add Firefox portable location:
 - Open CCleaner.exe -> Options -> Advanced -> Save all settings to INI file
 - Open "As Administrator" C:\Program Files\CCleaner\ccleaner.ini  and add line with path to Firefox portable location:
 - CustomLocation1="FIREFOX|z:\FirefoxPortable\Data\profile"
 - z: is RAMDISK in my case

2) Disable Hibernation, delete hyberfile.sys
#  Run CMD as Administrator
C:\Windows\system32>powercfg -h off

3) Windows Disk Cleanup
#  Run CMD as Administrator

%SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535

4) Cleanup some cache and update folders from Windows#  Run CMD as Administrator
C:\Windows\system32>net stop wuauserv
The Windows Update service is stopping.
The Windows Update service was stopped successfully.

C:\Windows\system32>net stop bits
The Background Intelligent Transfer Service service is stopping..
The Background Intelligent Transfer Service service was stopped successfully.

delete *.ebd from

net start wuauserv
net start bits

2) Windows 7 Patch PAE
CPU Ranks
i7        9978    Max CPU @ sept 2013
Core2 Duo E7500 1876    Work CPU
64 X2 6400+    1797    MAX @AM2
64 x2 4600+    1365    My CPU
Sempron 2800+     376     My Last CPU
Athlon XP 2500+    354    popular CPU

Windows 7 Ultimate 32bit -  Patch to see > 3.25GB of RAM

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>cd C:\Windows\system32

C:\Windows\system32>c:\PatchPae\PatchPae.exe  -type kernel -o ntkrnlpx.exe ntkrnlpa.exe

C:\Windows\system32>c:\PatchPae\PatchPae.exe   -type loader -o winloadp.exe winload.exe

C:\Windows\system32>bcdedit /copy {current} /d "Windows 7 (PAE Patched)"
The entry was successfully copied to {143f0768-6ff5-11e3-a6fe-003018ab79e6}.

C:\Windows\system32> bcdedit /set {143f0768-6ff5-11e3-a6fe-003018ab79e6}  kernel ntkrnlpx.exe
The operation completed successfully.

C:\Windows\system32> bcdedit /set {143f0768-6ff5-11e3-a6fe-003018ab79e6}   path \Windows\system32\winloadp.exe
The operation completed successfully.

C:\Windows\system32> bcdedit /set {143f0768-6ff5-11e3-a6fe-003018ab79e6}   nointegritychecks 1
The operation completed successfully.

C:\Windows\system32> bcdedit /set {bootmgr} default  {143f0768-6ff5-11e3-a6fe-003018ab79e6}
The operation completed successfully.

C:\Windows\system32>bcdedit /set {bootmgr} timeout 5
The operation completed successfully.


3) GPSvcGroup
After several Windows 7 updates, my PC didnt boot-up correctly, so I did manual reboot.
When Windows 7 finally boot-up, the following error appears:

Resolution :
Or Create regulat text file and save as .reg file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost\GPSvcGroup]

4)Hardware acceleration
Is some situation (not fast videocard) it is better to disable hardware acceleration from Flash and firefox.

5) Windows network settings backup and restore

netsh interface ip dump > c:\ipconfig.txt
# ----------------------------------
# IPv4 Configuration
# ----------------------------------
pushd interface ipv4

set global icmpredirects=enabled taskoffload=enabled
add route prefix= interface="iftype0_0" nexthop= metric=1 publish=Yes
add route prefix= interface="iftype0_0" nexthop=x.x.x.x metric=1 publish=Yes
set interface interface="ethernet_13" forwarding=disabled advertise=disabled metric=50 siteprefixlength=0 nud=disabled routerdiscovery=disabled managedaddress=disabled otherstateful=disabled weakhostsend=disabled weakhostreceive=disabled ignoredefaultroutes=disabled advertisedrouterlifetime=0 advertisedefaultroute=disabled currenthoplimit=0 forcearpndwolpattern=disabled enabledirectedmacwolpattern=disabled
add address name="ethernet_13" address=z.z.z.z mask=
add address name="vlan97" address= mask=
add address name="FIZIC" address= mask=
add address name="MS Loopback" address= mask=

# End of IPv4 configuration

To re-import it:
netsh -c interface –f c:\ipconfig.txt”

Show Interface configuration

netsh interface ipv4 show config

Only IP Addresses of all LAN adapters

netsh interface ipv4 show address

Show global TCP/IP Parameters

netsh interface ipv4 show global

Disable and enable a Interface

netsh int set int name="ethernet" admin=disabled
netsh int set int name="ethernet" admin=enabled

Show all network  interfaces and its link state

netsh interface ipv4 show interfaces

Print the routing table

netsh interface ipv4 show route

Show all tcp connections

netsh interface ipv4 show tcpconnections

Which Multicast groups are joined
netsh interface ipv4 show joins

Show dynamic portrange for outgoing connections
netsh interface ipv4 show dynamicportrange protocol=tcp

Set a static IP Address (, Subnet Mask ( and Gateway ( on a specific interface (Local Area Connection 2) persistent

netsh interface ipv4 set address name="Local Area Connection 2" static store=persistent

and temporary up to the next reboot and the parameters at full length. After the reboot the IP Address is empty.
netsh interface ipv4 set address name="Local Area Connection 2" static address= mask= gateway= store=active

Set DNS Servers without a DNS check, the  set dnsservers command supports only one server as argument

netsh interface ipv4 set dnsservers name="Local Area Connection 2"  source=static address="" validate=no

you have to add a second DNS Server with the add dnsservers directive

netsh interface ipv4 add dnsservers name="Local Area Connection 2" address="" validate=no index=2

Set IP Address assignment on Interface to DHCP

netsh interface ipv4 set address name="Local Area Connection 2" source=dhcp

and also the DNS Servers

netsh interface ipv4 set dnsservers name="Local Area Connection 2" source=dhcp

Add a route  for subnet over interface “Local Area Connection 2” and router

netsh interface add route prefix= interface="Local Area Connection 2" nexthop=

Note: Since Windows Vista its not possible to set the dns search suffix with netsh, you have to use WMI for this.
To set the DNS search suffix use powershell and wmi.
Define your Domains

Get the WMI Class to invoke the static method SetDNSSuffixSearchOrder

$oNetworkadapterConfiguration=[wmiclass]"Win32_NetworkadapterConfiguration" $oNetworkadapterConfiguration.SetDNSSuffixSearchOrder($aDNSSearchSuffixes)
Or invoke the method directly by calling the Invoke-WmiMethod commandlet

Invoke-WmiMethod -Class Win32_NetworkadapterConfiguration -Name SetDNSSuffixSearchOrder -ArgumentList @(@("subdomain.domain1.local","subdomain.domain2.local"),$null)

Invoke-WmiMethod -Class Win32_NetworkadapterConfiguration -Name SetDNSSuffixSearchOrder -ArgumentList @($aDNSSearchSuffixes,$null)
Note: If the aDNSSearchSuffixes Array contains more then one element a second parameter of $null is requiered otherwise the Invoke-WmiMethod command failed with error: Invoke-WmiMethod : Unable to cast object of type ‘System.String’ to type ‘System.Array’.