Wednesday, May 27, 2015

How do I fix network adapter problems?



If you can't connect to a network, there might be a problem with your network adapter. First, try using the Network Adapter troubleshooter to automatically find and fix some common problems:
  • Open the Network Adapter troubleshooter by clicking the Start button Picture of the Start button, and then clicking Control Panel. In the search box, type troubleshooter, and then click Troubleshooting. Click View all, and then click Network Adapter.
If running the Network Adapter troubleshooter doesn't fix the problem, here are some more things to try:
Show all

Friday, May 22, 2015

How to Backup and Restore All Windows Firewall Settings

1. Open the Control Panel (Icons View) in Vista/Windows 7 and Windows 8/8.1, and click/tap on the Windows Firewallicon.

2. In the left pane, click/tap on Advanced settings. (see screenshot below)

Click image for larger version

3. If prompted by UAC, then click/tap on Yes (Windows 7/8) or Continue (Vista).

4. Do step 5 or step 6 below for what you would like to do. 


5. To Export (backup) All Windows Firewall Settings
Name:  Export_Windows_Firewall_with_Advanced_Security-1.png
Views: 968
Size:  34.9 KB
A) Either click/tap on Action (menu bar) and Export Policy, or click/tap on Export Policy in the right Actions pane. (see screenshot below step 7)

B) Navigate to where you want to export and save the .wfw file to, type in a name (ex: WindowsFirewallSettingsBackup), and click/tap on Save. (see screenshot below)


C) Click/tap on OK, and go to step step 7 below. (see screenshot below)

Name:  Export_Windows_Firewall_with_Advanced_Security-2.png
Views: 951
Size:  12.4 KB

6. To Import (restore) All Windows Firewall Settings

A) Either click/tap on Action (menu bar) and Import Policy, or click/tap on Import Policy in the right Actions pane. (see screenshot below step 7)

B) Click/tap on Yes to confirm. (see screenshot below)

Name:  Import_Windows_Firewall_with_Advanced_Security-1.png
Views: 948
Size:  21.5 KB

C) Navigate to where you saved the .wfw file at from step 5, select the .wfw file (ex: WindowsFirewallSettingsBackup.wfw), and click/tap on Open. (see screenshot below)

Name:  Import_Windows_Firewall_with_Advanced_Security-2.png
Views: 957
Size:  37.6 KB

D) Click/tap on OK, and go to step step 7 below. (see screenshot below)

Name:  Import_Windows_Firewall_with_Advanced_Security-3.png
Views: 942
Size:  12.5 KB

7. When finished, you can close Window Firewall with Advanced Security if you like.


Click image for larger version

How to Uninstall Programs using Command Prompt in Windows

Here's How:

1. Do step 2 or 3 below for what you would like to do.

2. Open an elevated command prompt in XP/Vista/Windows 7 or Windows 8, and go to step 4 below.

3. Open Safe Mode with command prompt in XP/Vista/Windows 7 or Windows 8, and go to step 4 below.

4. In the command prompt, type wmic and press Enter. (see screenshot below)
Programs - Uninstall using Command Prompt in Windows-uninstall_programs_command_line-1.jpg
5. Type product get name and press Enter. (see screenshot below)
NOTE: This will give you a list of program names installed on your computer to use in the next step. This list will not always have all of the programs listed in Programs and Features though.
Programs - Uninstall using Command Prompt in Windows-uninstall_programs_command_line-2.jpg
6. Type in either command below using the exact name of the program (ex: Microsoft Silverlight) listed in step 5 above within quotes that you want to uninstall, and press Enter. (see screenshot below)
(To be prompted Y/N to approve. Recommended)

product where name=”name of program” call uninstall


(To NOT be prompted Y/N to approve.)

product where name=”name of program” call uninstall /nointeractive


Programs - Uninstall using Command Prompt in Windows-uninstall_programs_command_line-3.jpg
7. If prompted, type Y to confirm uninstalling the program, and press Enter. (see screenshot above)

8. When successfully uninstalled, you can close the command prompt. (see screenshot below)
Programs - Uninstall using Command Prompt in Windows-uninstall_programs_command_line-4.jpg

How to Fix the "Bootmgr is missing" Error in Windows

Here's How:

NOTE: Sometimes it may take running a startup repair a few times before it fully fixes the startup issue.

1. Boot to the System Recovery Options screen. 

2. Select the Startup Repair option. (See screenshot below)
Bootmgr is missing - Fix-2.png
3. Now click on Startup Repair. Run the startup repair and it will attempt to fix this issue.
Bootmgr is missing - Fix-3.png
NOTE: It will ask you to reboot your system. Reboot to see if it works. If it doesn't work, follow step 4


4. Click on Command Prompt.
A) Type c: and press <Enter>.

Note   Note
C:\ is the drive letter where Windows 7 is installed. You may replace it with whatever drive letter you want where you have installed Windows 7.


B) At the C:\ prompt, type cd boot and press <Enter>.

C) At the C:\Boot prompt, type the following commands and press Enter after each command. 

Code:
bootrec /FixMbr
bootrec /FixBoot
bootrec /RebuildBcd
Bootmgr is missing - Fix-4.png

D) Now close the command prompt, remove the DVD and reboot your computer. 

How to Delete an "Undeletable" File

1. - Open an elevated command prompt
Start > Search "cmd" > Right Click cmd.exe > Run as Administrator

Undeletable File - Delete-opencmd.png
2. - Leave Command prompt open; Open task manager
Undeletable File - Delete-opentm.png
3. - End process "explorer.exe"
Undeletable File - Delete-endexphowto.png

Undeletable File - Delete-explorerend.png
4. - Switch back to command prompt
Undeletable File - Delete-switchcmd.png
5A. - FILE - Change to the directory of your file and delete it.
First run this line: cd "PATH OF YOUR FILE"
i.e. cd "%USERPROFILE%"\Downloads"
Now run this line: del filename.extension
i.e. del filename.mkv

Undeletable File - Delete-commanddelete.png
5B. - FOLDER - Delete the folder.
Enter Command: RD /S /Q [DRIVE:]\PATH\TO\FOLDER
i.e
RD /S /Q C:\Users\[username]\Downloads\FOLDERNAME

Undeletable File - Delete-removefolder.png
6. - Switch back to task manager
Undeletable File - Delete-switchtask.png
7. - Restart "explorer.exe"
Undeletable File - Delete-newexphowto.png

Undeletable File - Delete-newexp.png

How to Restore the Windows 7 MBR (Master Boot Record)

Here's How:
1. Boot your computer to the Windows 7 DVD (or to a "Repair CD"). At this screen choose to install now.

2. Select your language and click next.

3. Click the button for "Use recovery tools".

4. Then select "Command Prompt".

5. When open, the command prompt will look like this:
MBR - Restore Windows 7 Master Boot Record-mbr_16.png
6. The command we will use, bootsect.exe, is in a folder (named boot) on the DVD.
We need to know what drive letter has been assigned the DVD drive to access the folder.
Code:
Type: diskpart
and press Enter
 
Type: select disk 0 (zero)
and press Enter
 
type: list volume
and press Enter
In this screen shot, the 7 DVD is letter: G
MBR - Restore Windows 7 Master Boot Record-mbr_17a.png
7. Use your DVD drive letter and

Code:
Type: exit
and press Enter
 
to close Diskpart
 
Type: G: (use the letter of your DVD drive)
and press Enter
 
Type: cd boot
and press Enter
 
Type: dir
and press Enter
to verify that bootcect.exe is there (if you really need to)
MBR - Restore Windows 7 Master Boot Record-mbr_18a.png
8. To restore the "bootsector code":

Code:
TYPE: bootsect /nt60 SYS /mbr
and press Enter
MBR - Restore Windows 7 Master Boot Record-mbr_19.png
NOTE: If this method fails to restore the MBR, you can try the bootrec command as it is also a tool for repairing the MBR.
9. When completed successfully,

Code:
Type: exit
and press Enter
This will close the command prompt window.
10. Now select Shut Down or Restart

11. Then you can reboot your computer into Windows.

How to Restore the Windows 7 MBR (Master Boot Record)

If you have been dual booting with Linux, then you probably know one of the Linux boot managers like Grub or LILO has been installed in the MBR of your hard drive. What can you do when you no longer want Linux on that hard drive? This tutorial will show you how to use your 7 DVD and BOOTSECT.EXE to restore the "bootsector code" of the MBR and allow you to begin booting to Windows 7 again.

Run Commands for Windows 7

Windows logo key + R
Administrative Tools

Administrative Tools = control admintools
Authorization Manager = azman.msc
Component Services = dcomcnfg
Certificate Manager = certmgr.msc
Direct X Troubleshooter = dxdiag 
Display Languages = lpksetup
ODBC Data Source Administrator = odbcad32
File Signature Verification Tool = sigverif
Group Policy Editor = gpedit.msc
Add Hardware Wizard = hdwwiz.cpl
iSCSI Initiator = iscsicpl
Iexpress Wizard = iexpress
Local Security Settings = secpol.msc
Microsoft Support Diagnostic Tool = msdt
Microsoft Management Console = mmc
Print management = printmanagement.msc
Printer User Interface = printui
Problems Steps Recorder = psr
People Near Me = p2phost 
Registry Editor = regedit or regedt32
Resoure Monitor = resmon
System Configuration Utility = msconfig
Resultant Set of Policy = rsop.msc
SQL Server Client Configuration = cliconfg
Task Manager = taskmgr
Trusted Platform Module = tpm.msc
TPM Security Hardware = TpmInit 
Windows Remote Assistance = msra
Windows Share Folder Creation Wizard = shrpubw
Windows Standalong Update Manager = wusa
Windows System Security Tool = syskey
Windows Script Host Settings = wscript
Windows Version = winver
Windows Firewall with Advanced Security = wf.msc
Windows Memory Diagnostic = MdSched
Windows Malicious Removal Tool = mrt

Computer Management

Computer Management = compmgmt.msc or CompMgmtLauncher
Task Scheduler = control schedtasks
Event Viewer = eventvwr.msc
Shared Folders/MMC = fsmgmt.msc
Local Users and Groups = lusrmgr.msc
Performance Monitor = perfmon.msc
Device Manager = devmgmt.msc
Disk Management = diskmgmt.msc
Services = services.msc
Windows Management Infrastructure = wmimgmt.msc

Conrtol Panel

Control Panel = control
Action Center= wscui.cpl 
Autoplay = control.exe /name Microsoft.autoplay
Backup and Restore = sdclt
Create a System Repair disc = recdisc
BDE Administrator = bdeadmin.cpl
Color Management = colorcpl 
Credential Manager = control.exe /name Microsoft.CredentialManager
Credential Manager Stored User Names and Passwords = credwiz
Date and Time Properties = timedate.cpl
Default Programs = control.exe /name Microsoft.DefaultPrograms
Set Program Access and Computer Defaults = control appwiz.cpl,,3 or ComputerDefaults
Devices and Printers = control printers
Devices and Printers Add a Device = DevicePairingWizard
Display = dpiscaling 
Screen Resolution = desk.cpl
Display Color Calibration = dccw 
Cleartype Text Tuner = cttune 
Folders Options = control folders
Fonts = control fonts
Getting Started = GettingStarted
HomeGroup = control.exe /name Microsoft.HomeGroup
Indexing Options = control.exe /name Microsoft.IndexingOptions
Internet Properties = inetcpl.cpl
Keyboard = control keyboard
Location and Other Sensors = control.exe /name Microsoft.LocationandOtherSensors 
Location Notifications = LocationNotifications
Mouse = control mouse or main.cpl
Network and Sharing Center = control.exe /name Microsoft.NetworkandSharingCenter
Network Connections = control netconnections or ncpa.cpl
Notification Area Icons = control.exe /name Microsoft.NotificationAreaIcons
Parental Controls = control.exe /name Microsoft.ParentalControls
Performance Information = control.exe /name Microsoft.PerformanceInformationandTools
Personalization = control desktop
Windows Color and Appearance = control color
Phone and Modem Options = telephon.cpl
Power Configuration = powercfg.cpl
Programs and Features = appwiz.cpl or control appwiz.cpl
Optional Features Manager = optionalfeatures or control appwiz.cpl,,2
Recovery = control.exe /name Microsoft.Recovery
Regional and Language = intl.cpl
RemoteApp = control.exe /name Microsoft.RemoteAppandDesktopConnections
Sound = mmsys.cpl
Volume Mixer = sndvol
System Properties = sysdm.cpl or Windows logo key + Pause/Break
SP ComputerName Tab = SystemPropertiesComputerName
SP Hardware Tab = SystemPropertiesHardware
SP Advanced Tab = SystemPropertiesAdvanced
SP Performance = SystemPropertiesPerformance
SP Data Execution Prevention = SystemPropertiesDataExecutionPrevention
SP Protection Tab = SystemPropertiesProtection
SP Remote Tab = SystemPropertiesRemote
Windows Activation = slui
Windows Activation Phone Numbers = slui 4
Taskbar and Start Menu = control.exe /name Microsoft.TaskbarandStartMenu
Troubleshooting = control.exe /name Microsoft.Troubleshooting
User Accounts = control.exe /name Microsoft.UserAccounts
User Account Control Settings = UserAccountControlSettings
User Accounts Windows 2000/domain version = netplwiz or control userpasswords2
Encryption File System = rekeywiz
Windows Anytime Upgrade = WindowsAnytimeUpgradeui
Windows Anytime Upgrade Results = WindowsAnytimeUpgradeResults
Windows CardSpace = control.exe /name Microsoft.cardspace
Windows Firewall = firewall.cpl
WindowsSideshow = control.exe /name Microsoft.WindowsSideshow
Windows Update App Manager = wuapp

Accessories

Calculator = calc
Command Prompt = cmd
Connect to a Network Projector = NetProj
Presentation Settings = PresentationSettings
Connect to a Projector = displayswitch or Windows logo key + P
Notepad = notepad
Microsoft Paint = mspaint.exe
Remote Desktop Connection = mstsc
Run = Windows logo key + R
Snipping Tool = snippingtool 
Sound Recorder = soundrecorder 
Sticky Note = StikyNot 
Sync Center = mobsync
Windows Mobility Center (Only on Laptops) = mblctr or Windows logo key + X
Windows Explorer = explorer or Windows logo key + E 
Wordpad = write
Ease of Access Center = utilman or Windows logo key + U
Magnifier = magnify
Narrator = Narrator
On Screen Keyboard = osk
Private Character Editor = eudcedit
Character Map = charmap
Ditilizer Calibration Tool = tabcal
Disk Cleanup Utility = cleanmgr
Defragment User Interface = dfrgui
Internet Explorer = iexplore
Rating System = ticrf
Internet Explorer (No Add-ons) = iexplore -extoff
Internet Explorer (No Home) = iexplore about:blank
Phone Dialer = dialer
Printer Migration = PrintBrmUi
System Information = msinfo32
System Restore = rstrui
Windows Easy Transfer = migwiz
Windows Media Player = wmplayer
Windows Media Player DVD Player = dvdplay
Windows Fax and Scan Cover Page Editor = fxscover
Windows Fax and Scan = wfs
Windows Image Acquisition = wiaacmgr
Windows PowerShell ISE = powershell_ise
Windows PowerShell = powershell
XPS Viewer = xpsrchvw

Open Documents folder = documents
Open Pictures folder = pictures
Open Music folder = music
Open Videos folder = videos
Open Downloads folder = downloads
Open Favorites folder = favorites
Open Recent folder = recent
Logs out of Windows = logoff
Locks User Account = Windows logo Key + L