Monday, May 20, 2013

Command Line Interface (CLI) Microsoft Windows


>> runas /user:administrator cmd
>> net user administrator /active:yes {/active:no}

- check port :
    netstat -abn ? my_ports.txt

- delete service windows
    cmd > sc delete "squid"

- Disable Internet Options:
REG add "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions" /v NoBrowserOptions /t REG_DWORD /d 1 /f
REG add "HKLM\Software\Policies\Microsoft\Internet Explorer\Restrictions" /v NoBrowserOptions /t REG_DWORD /d 1 /f


- Enable Internet Options:
REG add "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions" /v NoBrowserOptions /t REG_DWORD /d 0 /f
REG add "HKLM\Software\Policies\Microsoft\Internet Explorer\Restrictions" /v NoBrowserOptions /t REG_DWORD /d 0 /f

>> gpedit.msc >> User Configuration >> Administrative Templates >> Winows Components, Internet Explorer >> Browser menus

>> Disable Bandwidth limit in windows7
       Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
    "NonBestEffortLimit"=dword:00000000

>> Set Maximum Transmission Unit (MTU):
    netsh interface ipv4>set subinterface "wireless Network Connection" mtu=1458 store=persistent

    netsh interface ipv4>set subinterface "Local Area Network" mtu=1458 store=persistent

C:\Windows\system32>netsh interface ipv4>set subinterface "Local Area Connection
" mtu=1492 store=persistent

>> test mtu
    ping www.cantreachthissite.com -f -l 1472

>> Default MTU Configuration:
Setting MTU size is a process of trial-and-error: start with the maximum value of 1500, then reduce the size until the problem goes away. Using one of these values is likely to solve problems caused by MTU size:

    1500. The largest Ethernet packet size; it is also the default value. This is the typical setting for non-PPPoE, non-VPN connections. The default value for NETGEAR routers, adapters and switches.
    1492. The size PPPoE prefers.
    1472. Maximum size to use for pinging. (Bigger packets are fragmented.)
    1468. The size DHCP prefers.
    1460. Usable by AOL if you don't have large email attachments, etc.
    1430. The size VPN and PPTP prefer.
    1400. Maximum size for AOL DSL.
    576. Typical value to connect to dial-up ISPs.
   
Value : 1464 + 28 = 1492 >> Optimal MTU

Check Fragmentation and other errors using : netstat -s

Show MTU : netsh interface ipv4 show subinterface

>> Qos 100% bandwidth internet Connection on Windows
   - Start > Run > gpedit.msc
   - Local Computer Policy > Computer Management > Administrative Templates > Network > Qos Packet Scheduler > Limit Reservable Bandwidth
    and then Change Radio Button to Enabled to 0%
    REGEDIT :
      HKEY_Local_Machine\Software\Policies\Microsoft\Windows\Psched
     and Click Right Hand > Choose New>key (Psched) > And Then Click Right Hand on mouse choose DWORD (NonBestEffortLimit=0)

- Speed your Internet with Active DNS Cache
    > Open REGEDIT
      > [HKLM\System\CurrentControlSet\Services\Dnscache\Parameters]
        "CacheHashTableBucketSize"=dword:00000001
        "CacheHashTableSize"=dword:00000180
        "MaxCacheEntryTtlLimit"=dword:0000fa00
        "MaxSOACacheEntryTtlLimit"=dword:0000012d
      > [HKLM\System\CurrentControlSet\Services\Tcpip\Parameters]
        "SackOpts"=dword:00000001
    "TcpWindowSize"=dword:0005ae4c
    "DefaultTtl"=dword:00000040
    "EnablePMTUBHDetect"=dword:00000000
    "EnablePMTUDiscovery"=dword:00000001
    "GlobalMaxTcpWindowSize"=dword:0005aec

>> this operation has been canceled due to restrictions in effect on this computer control panel
So, you get this error when you try to open Control Panel?

1. Try open Registry Edit, search for NOCONTROLPANEL

2. By default, value is not set

3. Set NOCONTROLPANEL value=0

Reboot and check the result.

>> 10 Simple ways to speed up windows xp <<
1. Disable Indexing Services
    Go to Start
    Click Settings
    Click Control Panel
    Double-click Add/Remove Programs
    Click the Add/Remove Window Components
    Uncheck the Indexing services
    Click Next
2. Optimise Display Settings
    Go to Start
    Click Settings
    Click Control Panel
    Click System
    Click Advanced tab
    In the Performance tab click Settings
    Leave only the following ticked:

    Show shadows under menus
    Show shadows under mouse pointer
    Show translucent selection rectangle
    Use drop shadows for icons labels on the desktop
    Use visual styles on windows and buttons
3. Speedup Folder Browsing
    Open My Computer
    Click on Tools menu
    Click on Folder Options
    Click on the View tab.
    Uncheck the Automatically search for network folders and printers check box
    Click Apply
    Click Ok
    Reboot your computer


>>>>>>>>>>>>> P R O B L E M <<<<<<<<<<<<<<<<<

Message error: explorer.exe {This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.

Solved:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\opensearchfilefolderresult\shell\open\command]
@=""
"DelegateExecute"="{99969a8f-27e6-4adf-ab9f-b5b5e90d4733}"

[HKEY_CLASSES_ROOT\Folder\shell\explore\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\WMP11.AssocFile.m3u\shell\Enqueue\command]
"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"

Link:
https://www.google.com/#hl=en&sclient=psy-ab&q=the+file+does+not+have+a+program+associated+with+it+for+performing+this+action+explorer.exe&oq=the+file+does+not+have+a+program+associated+with+it+for+performing+this+action+explorer.exe&gs_l=hp.3..0i30.4890.32501.0.32916.42.34.1.7.7.0.148.3428.22j12.34.0...0.0...1c.1.12.psy-ab.4Gl_oa1Nj8U&pbx=1&bav=on.2,or.r_qf.&bvm=bv.45960087,d.bmk&fp=dc40e00593934de8&biw=1044&bih=930

http://www.neowin.net/forum/topic/786550-explorerexe-does-not-have-any-default-program-assosicated/


======================================================================

>> QoS Packet Scheduler Windows 100%
Regedit:

    Click on Start in the lower-left corner of your screen and type Regedit in the search box and press Enter on your keyboard
    In Regedit click your way through HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
    Right click on the Windows map and select New and Key from the dropdown menu and name the new map Psched
    Double-click on the new Psched map and right click in the empty white screen on the right
    Select New and DWORD (32-bit) Value from the dropdown menu
    Name the new Dword Value NonBestEffortLimit
    Right-click on your new NonBestEffortLimit key and select Modify from the dropdown menu
    In the Value Data field make sure the value is 0 so the reserved bandwidth percentage is set to 0% (you can change the value to any percentage you want the reserved bandwidth to be, from 0 to 100)
    Click OK and restart your PC to make the changes

How To Restore The 20% Reserve

If at a later date you decide you no longer like removing/modifying the 20% reserve, you can simply edit the NonBestEffortLimit key in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched and enter 20 in the Value data box to restore the reserve back to its default 20%; or you can delete the whole Psched folder, which makes it like you never modified the reserve in the first place (it goes back to its default 20%). Then restart your computer and you are good to go.


links: http://www.speed-up-pc.org/speed_up_internet/disable_reserved_bandwidth.php
http://dottech.org/26628/how-to-force-windows-to-use-100-of-your-network-bandwidth-how-to-guide/

=====================================================================================

https://www.google.com/#sclient=psy-ab&q=this+file+does+not+have+a+program+associated+with+it+for+performing+this+action+file+extension+.exe&oq=this+file+does+not+have+a+program+associated+with+it+for+performing+this+action+file+extension+.exe&gs_l=hp.3...213177.221077.2.221340.35.24.11.0.0.0.138.2360.15j9.24.0...0.0...1c.1.12.psy-ab.lnI3N4EXYgc&pbx=1&bav=on.2,or.r_qf.&bvm=bv.45960087,d.bmk&fp=e17a6f88f1d42f4b&biw=1226&bih=930

http://en.kioskea.net/forum/affich-518656-file-does-not-have-a-program-associated

>>>>>>>>>>>>>>>>> Uninstall Windows update <<<<<<<<<<<<<<<<<

wusa.exe /uninstall /kb:976002

Tuesday, May 7, 2013

Cannot Open Explorer.exe and Control Panel on Windows 7


Problem :

explorer.exe {This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel}.
 
Solved :

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\opensearchfilefolderresult\shell\open\command]
@=""
"DelegateExecute"="{99969a8f-27e6-4adf-ab9f-b5b5e90d4733}"

[HKEY_CLASSES_ROOT\Folder\shell\explore\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\WMP11.AssocFile.m3u\shell\Enqueue\command]
"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"

Thank you for this site. A week i hate this problem cannot solved, i am try to find this how to fix it this problem. So now I am very glad my windows now stable, i am almost to new install windows and i'm very very hate because backup data again on my computer.

Source : http://www.neowin.net/forum/topic/786550-explorerexe-does-not-have-any-default-program-assosicated/


Thursday, May 2, 2013

Problem Install Antivirus Avira 2013

Problem during install avira 2013.

I finished installing windows xp sp3, and after install avira antivirus 2013. Error appeared Microsoft Visual C + + runtime library error.

1. Avira asking Install applications microsoft visual c + + 2010

    >> for x86 http://www.microsoft.com/en-us/download/details.aspx?id=5555
    >> for x6 http://www.microsoft.com/en-us/download/details.aspx?id=14632
  

2. Uninstall Avira 2013 and then reinstall again Avira 2013 and restart my computer.

    >> Download Avira 2013 www.avira.com/downloads/frontendDl/defaultDownload?product=avira-free-antivirus&os=


Friday, April 19, 2013

Langganan Internet Smartfren Bulanan

Cara Berlanggan Paket Internet Smartfren

Paket internet Smartfren dibagi dua yaitu Paket Volume Based dan Paket Unlimited.

Volume Based 

Pra-Bayar



  Tarif sudah termasuk PPN. Waktu mengikuti zona WIB
* Volume dari layanan data berlaku akumulasi dan akan berlaku masa aktif paling lama. 
* Setelah Volume atau masa berlaku habis, maka pelanggan akan dikenakan tarif regular sesuai dengan tarif dasar layanan data
* Anda dapat mengetahui info layanan data paket Volume Based Anda dengan menekan *995 lalu OK/Call

Paska Bayar




Tarif sudah termasuk PPN. Waktu mengikuti zona WIB.
* Volume dari layanan data berlaku akumulasi dan akan berlaku masa aktif paling lama. 
* Setelah Volume atau masa berlaku habis, maka pelanggan akan dikenakan tarif regular sesuai dengan tarif dasar layanan data
* Anda dapat mengetahui info layanan data paket Volume Based Anda dengan menekan *995 lalu OK/Call


Unlimited
Pra-Bayar





- Berlaku aturan pemakaian wajar, kecepatan download s/d 153 Kbps.
- Berlaku mulai 1 Maret 2013. 
- Tarif sudah termasuk PPN. Waktu mengikuti zona WIB 
- Setelah masa berlaku paket habis, maka pelanggan akan dikenakan tarif regular sesuai dengan tarif dasar layanan data


Paska Bayar



 Tarif sudah termasuk PPN. Waktu mengikuti zona WIB
* Untuk menikmati kecepatan download s/d 14.7 Mbps dan upload s/d 5.4 Mbps. Anda harus berada di daerah yang telah tercakup layanan EV-DO Rev.B dari Smartfren dan menggunakan perangkat yang mendukung teknologi EV-DO Rev.B dari Smartfren

http://www.smartfren.com/ina/ and click menu Tarif
http://www.smartfren.com/ina/connex/

Tuesday, April 2, 2013

Problem Squid windows

2013/04/02 15:40:40| Starting Squid Cache version 2.7.STABLE8 for i686-pc-winnt.
..
2013/04/02 15:40:40| Running on Windows Vista
2013/04/02 15:40:40| Process ID 2660
2013/04/02 15:40:40| With 2048 file descriptors available
2013/04/02 15:40:40| With 512 CRT stdio descriptors available
2013/04/02 15:40:40| Windows sockets initialized
2013/04/02 15:40:40| Using select for the IO loop
2013/04/02 15:40:40| DNS Socket created at 0.0.0.0, port 52017, FD 4
2013/04/02 15:40:40| Adding nameserver 202.43.178.244 from squid.conf
2013/04/02 15:40:40| Adding nameserver 202.43.178.245 from squid.conf
2013/04/02 15:40:40| User-Agent logging is disabled.
2013/04/02 15:40:40| Referer logging is disabled.
2013/04/02 15:40:40| logfileOpen: opening log c:/squid/var/logs/access.log
2013/04/02 15:40:40| Unlinkd pipe opened on FD 7
2013/04/02 15:40:40| Swap maxSize 102400 + 8192 KB, estimated 8507 objects
2013/04/02 15:40:40| Target number of buckets: 425
2013/04/02 15:40:40| Using 8192 Store buckets
2013/04/02 15:40:40| Max Mem  size: 8192 KB
2013/04/02 15:40:40| Max Swap size: 102400 KB
2013/04/02 15:40:40| Local cache digest enabled; rebuild/rewrite every 3600/3600
 sec
2013/04/02 15:40:40| logfileOpen: opening log c:/squid/var/logs/store.log
2013/04/02 15:40:40| Rebuilding storage in c:/squid/var/cache (DIRTY)
2013/04/02 15:40:40| Using Least Load store dir selection
2013/04/02 15:40:40| Set Current Directory to c:/squid/var/cache
2013/04/02 15:40:40| Loaded Icons.
2013/04/02 15:40:40| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD
13.
2013/04/02 15:40:40| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
2013/04/02 15:40:40| Accepting HTCP messages on port 4827, FD 15.
2013/04/02 15:40:40| Accepting SNMP messages on port 3401, FD 16.
2013/04/02 15:40:40| Ready to serve requests.
2013/04/02 15:40:40| Done reading c:/squid/var/cache swaplog (1677 entries)
2013/04/02 15:40:40| xrename: Cannot rename c:/squid/var/cache/swap.state.new to
 c:/squid/var/cache/swap.state: (17) File exists
FATAL: storeUfsDirCloseTmpSwapLog: rename failed

abnormal program termination

>>> Solutions : Delete file swap.state from c:/squid/var/cache/swap.state; if you done remove file swap.state, you can run squid -d 1 -D