Hi,
Can you copy the following script then paste it into a notepad and save it as ChangeCategory.ps1 to the C drive
// // Name: ChangeCategory.ps1 // Copyright: Microsoft 2009 // Revision: 1.0 // // This script can be used to change the network category of // an 'Unidentified' network to Private to allow common network // activity. This script should only be run when connected to // a network that is trusted since it will also affect the // firewall profile used. // This script is provided as-is and Microsoft does not assume any // liability. This script may be redistributed as long as the file // contains these terms of use unmodified. // // Usage: // Start an elevated Powershell command window and execute // ChangeCategory.ps1 // $NLMType = [Type]::GetTypeFromCLSID(‘DCB00C01-570F-4A9B-8D69-199FDBA5723B')$INetworkListManager = [Activator]::CreateInstance($NLMType)
$NLM_ENUM_NETWORK_CONNECTED = 1$NLM_NETWORK_CATEGORY_PUBLIC = 0x00$NLM_NETWORK_CATEGORY_PRIVATE = 0x01$UNIDENTIFIED = "Unidentified network"
$INetworks = $INetworkListManager.GetNetworks($NLM_ENUM_NETWORK_CONNECTED)
foreach ($INetwork in $INetworks){ $Name = $INetwork.GetName() $Category = $INetwork.GetCategory()
if ($INetwork.IsConnected -and ($Category -eq $NLM_NETWORK_CATEGORY_PUBLIC) -and ($Name -eq $UNIDENTIFIED)) { $INetwork.SetCategory($NLM_NETWORK_CATEGORY_PRIVATE) }}
Onnce you have the file saved can you then open a Command window by opening My Computer then clicking on the C drive to select it then hold the Shift key down and right click the drive and choose Open Command Window here.
once the commad prompt opens can you type the following command without the quotes and hit enter "c:\ChangeCategory.ps1"
Once that is doen let me know if the network changes to Work
ThanksEric
Ok,
We might have to change your view options as the file may have not been saved in the correct format.
Can you open the Control Panel then click Folder Options and Select the view tab, From there can you remove the check from Hide extensions for known file types then hit OK.
Once that is doene can you go back to the ChangeCategory file and make sure it is named ChangeCategory.ps1 as I suspect it is called something like ChangeCategory.ps1.txt
Let me know
Thanks
Eric
Can we try removing the connection then re setting it up by opening the control panel then selecting Network and Internet and opening the Network and Sharing Center.
from there can you click Manage Network Connections and find your network then single click it and hit delete to remove it from the list.
Once it is removed can you then reboot your machine then try setting the connection up again and let me know if you can choose Work.
Sorry, I had a blonde moment as I have been working with Vista all night.
Can you right click on the Network Status icon in the system tray and choose Network and sharing center then when it opens can you double click on the Public network and hopefully a window will open up, when it opens you should then be able to change the profile to work.
If that does not work can you try going to start then in the search box can you type secpol.msc and hit enter.
When the window opens can you look under the Network List Manager Policies and double click Unidentified Networks then change Location Type to Work and see if it will reset the connection for you after you reboot.
Let me know if that does not work
Can you tell me what make and model your router is?
Then can you go back in and change the Location Type to Home for Unidentified Networks.
What type of device is controling your network and handing out IP addresses?
Is it a cable modem or a dsl modem?
Would it be possible for you to change the IP range that is being used to share the connection, So instead of the default 192.168.0.1 etc change it on the laptops Network card to 192.168.2.1 for the gateway etc then connect the desktop so it will see it as a new network and then allow you to select your location.
Let me know.
did it change the ip address the network is showing on the Laptop?
And it would not let you choose Home?
If so what did it set it to?
Can we try the Powershell script I gave you again?
This tie can you open the command prompt and type
"set-executionpolicy remotesigned" without the quotes then hit enter and then type
"c:\ChangeCategory.ps1" without the quotes and hit enter
Let me know if that helps or not
IEEE Network Engineer, Microsoft
approx 20 years of experience from software to hardware design
In that case I am going to have to opt out as we have tried everything I can possibly think of.
I will pass this over to another expert and see if they can step inhere and help
I am sorry I was not able to get this sorted for you, However I am very sure this will be fixed in an update within the next 14 days as Microsoft are VERY aware of this issue.
I spoke to one of my Microsoft support specialist at the MS Small Business group and he has told me this is a big bug they are working on
No problem,
I just got this from a technet blog and I dont know if it will work, However I thought it may be worth a try.
Let me know if you have any luck
Thanks for letting me know