![]() |
|
|
|||||||
| Petri.co.il is happy to award auglan the title of Most Valuable Member !!! |
| Register | Calendar |
Search |
Today's Posts |
Mark Forums Read |
| Notices |
|
|
Exclude VMware Virtual Adapters from Windows 7 Network Awareness and Windows Firewalthis thread has 2 replies and has been viewed 6985 times
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||||||
|
||||||||
|
Hi, everybody!!
Recently I have studied to take Microsoft TS: Windows 7, Configuring 70-680 exam. I learned to use Winrm and Winrs tools. Quote:
![]() Because the VMware virtual network adapters appear to be in a “Public network”, Windows thinks that the whole machine is exposed to a public network, and it triggers the public profile for Windows Firewall. While in most cases this helps protect the entire computer from external access, sometimes you actually need to have external access, and therefore you need to manually change the setting. I searched for a solution and found an excellent article on Daniel Petri's site: Exclude VMware Virtual Adapters from Vista/2008 Network Awareness and Windows Firewall That was exactly what I needed, but... even if I did everything according to this article, when I run Power Shell script on my Windows 7 computer I got following error: ![]() As we can see problem in the script code somewhere here: Code:
[netshelter]# adapters key
pushd 'hklm:\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}'
Exclude VMware Virtual Adapters from Network Awareness. You can take it from attached file (need to change file extension to PS1 before using this script). Copy this file to the some place where it be easy navigate to the file, for Example C:\. Next, open a PowerShell prompt. Note that you'll need to run it with elevated credentials (i.e. "Run as Administrator"). Navigate it to the folder where you've placed the script, and execute it. You can type the first letter of the script's name and press TAB to auto complete the script's name.: ![]() When finished, VmWare network adapters will be excluded from Windows 7 Network and Sharing Center and Windows Remote Management (WinRM) can be successfully configured: ![]() ![]() ![]() And if you for some reason cannot run PS1 script it can be configured manually trough windows registry. 1. Run regedit with elevated privileges. 2. Navigate here: Code:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}
4. Expend them one by one and look for DriverDesc REG_SZ value data. You need to find VMware Virtual Ethernet Adapter for VMnet8 or VMware Virtual Ethernet Adapter for VMnet1 or similar if you have more than 2 VmWare virtual adapters. 5. In the same registry key where you found Virtual Ethernet Adapter for VMnet1 DriverDesc value create another new DWORD Value, name it *NdisDeviceType (it Case Sensitive!!). Double click on this value and in "Value Data" field put 1 as Decimal data: ![]() 6. Do the same for all others VmWare virtual network adapters. 7. Restart your computer or just disable/enable VmVare virtual network adapters and you will get the same effect as from running Power Shell script!! I hope you have found this loooong post useful!!! Last edited by igor7; 17th April 2010 at 22:17.. |
|
#2
|
|||||||||||
|
|||||||||||
|
nice find budddy
__________________
Posting from a BB Playbook - please excuse my typing |
|
#3
|
||||||||||
|
||||||||||
|
Looks good, but please repost the contents of the zip as a text file (for security reasons)
__________________
Tom Jones MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+ PhD, MSc, FIAP, MIITT IT Trainer / Consultant Ossian Ltd Scotland ** Remember to give credit where credit is due and leave reputation points where appropriate ** |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to exclude HyperV Virtual Network Adapters from Server 2008 Network Awareness | Mack_Peters | Windows Server 2008 / 2008 R2 | 0 | 28th August 2009 09:10 |
| Vmware workstation issue with vmware virtual adapters Vista x64. and connectivity | markm75 | VMware Virtualization | 4 | 23rd September 2008 19:48 |
| How to Convert physical Windows 98 to VMware virtual machine? | graffiti | VMware Virtualization | 5 | 30th May 2008 19:11 |
| Making Network in windows using vmware | imrankhan.in | VMware Virtualization | 1 | 11th September 2007 15:46 |
| Windows network based on VMWare Server | arberibrahimi | VMware Virtualization | 6 | 24th October 2006 10:47 |