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

No comments:

Post a Comment