Wednesday, March 28, 2012

Useful Commands

Remove - Mcafee Anti-Virus File System Filter Driver
delete this registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mfeavfk
---------------------------------------------------------------------------------------
disable IPV6 on windows 7 & windows 2008

reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 255
---------------------------------------------------------------------------------------
Activate local administrator user on windows 7 & windows 2008
net user administrator /active:yes Pa55w0rd
---------------------------------------------------------------------------------------
Windows 7 local users profiles
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
---------------------------------------------------------------------------------------
Windows Printer drivers
C:\WINDOWS\System32\spool\DRIVERS\W32X86\3
---------------------------------------------------------------------------------------
Increase concurrent user connections on windows 2008 powershell & exchange management console
winrm set winrm/config/winrs '@{MaxShellsPerUser="25"}'
winrm set winrm/config/winrs '@{MaxConcurrentUsers="25"}'
Get-ThrottlingPolicy | Set-ThrottlingPolicy -powershellmaxconcurrency 25
---------------------------------------------------------------------------------------
Copy NK2 files back to windows 7
c:\users\zawhtet\roaming\Microsoft\outlook
 ---------------------------------------------------------------------------------------
WinSock Reset

 netsh   winsock   reset catalog           (resets winsock entries)
netsh    int    ip     reset c:\reset.txt   (resets TCP/IP stack)
------------------------------------------------------------------------------------------------------------------
Type "services.msc" in a command prompt find "SSDP Discovery" and set as "Automatic".
------------------------------------------------------------------------------------------------------------------
Thanks chev65 you are correct. I have finally found out the answer. If you are running Windows server 2008 R2 edition then you can find this policy in Group Policy editor and it will take effect for your Windows 7 machines. If not like me I am running Windows server 2008 standard then this is not an option within Group Policy editor on the server so must be done as a local policy change on the workstations.

You are right and it can be found in:-
Local Computer Policy
Administrative Templates
Network
Network Connections
Do not show the "local access only" network icon
Select this to enabled.

Logoff and on and this will make the yellow exclamation icon disapear.
------------------------------------------------------------------------------------------------------------------------
This is our fix for a corporate LAN with an Internet proxy server: -
Run “CMD” as Administrator, then enter
“Netsh winhttp import proxy source=ie”
------------------------------------------------------------------------------------------------------------------------
What consistently worked for me is this:
1. Open network and sharing center
2. Click on the icon of your current connected network. It could be a house, bench, etc
3. Click on merge or delete network locations
4. At this time, disconnect from your network so you can delete all locations.
5. Delete all locations
6. Reconnect to your network again. You can either ignore homegroup by cancel or choose your preference.
7. You can now see that the disconnected issue has been resolved.
This has worked several times already for me and I just do it when the issue reappears. Typically, networks you’ve logged into from past connections are automatically stored here. When this gets to around 3 or more, thats when the error appears.
Im using a lenovo ideapad y460 with win 7 64 home premium os
----------------------------------------------------------------------------------------------------------------------

No comments:

Quote of the Day