Skip to main content

Removing corporate wireless restrictions completely : "The policies of your network prevent the creation of ad hoc (computer-to-computer) networks. For more information, contact your system administrator."

    So i was recently tasked with removing wireless restrictions from a VP's windows 7 laptop that some infrastructure company had placed while contracted with our network, since he needed to enable setting up of adhoc connections on his laptop and he always got

 "The policies of your network prevent the creation of ad hoc (computer-to-computer) networks. For more information, contact your system administrator."


A little bit of probing revealed that adhoc and peer to peer connections were blocked as evidenced by the the command 

netsh wlan show filter on an  elevated command prompt revealed that adhoc network type was blocked by group policy:

I removed the restrictions by:

1: open services.msc as administrator, scroll down to WLAN AutoConfig:



and stop the service for now.


2: Open regedit.exe as administrator and browse to
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Wireless\GPTWirelessPolicy]
back up the key and delete it, change the permissions on the Wireless folder above the GTPWirelessPolicy and take ownership of it and give full permissions only to yourself and administrators.

3: GO to the key:
 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{OACDD4OC-75AC-47ab-BAAO- BF6DE7E7FE63}

and delete it, change the permissions on the GPExtensions key as well, giving ownership to yourself and administrators only.

4: Go to the folder
C:\Windows\wlansvc
and remove a .tmp file that contains wireless policy.
Change the permissions of the wlansvc folder to only give ownership and editing rights to yourself.

5: open services.msc and start WLAN AutoConfig
 You should be able to establish an adhoc network now and all your wireless related group policies will also be gone.






Comments

  1. Not able to delete OACDD4OC-75AC-47ab-BAAO- BF6DE7E7FE63....mentioned in step 3, plz help

    ReplyDelete
  2. I have the same error, cannot delete the key OACDD4OC-75AC-47ab-BAAO- BF6DE7E7FE63

    ReplyDelete


  3. Your blog is very useful . I really like your post.
    thank you for your sharing.
    Please click this post,if you wanna join casino online. Thank you.



    goldenslot
    สูตรบาคาร่า

    ReplyDelete
  4. Great! I used it to reverse at "prevent connection to adhoc network" in a domain GPO, worked fine. A little puxxle to keep settings for machine-authenticated wireless, though.

    On deleting reg-key OACDD4OC-75AC-47ab-B... I took ownership first and deleted after.
    mads.lomholt -hos- live.no

    ReplyDelete

Post a Comment

Popular posts from this blog

Migrating Outlook Profile to Office 365

We had a migration from Hosted Exchange to Office 365 and i was tasked with automating the local Outloook profile migration for Users:

I Created a GUI utility using powershell which would allow users to create an Office365 Profile and set it as default, I prepared PRF files for each version of office and an autodiscover.xml to be used for local autodiscover and uploaded them to a hosted site:

The PRF file to set settings for Office 365 are hard to find: i used the below entries:


;AutomaticallygeneratedPRFfilefromtheMicrosoftOfficeCustomizationandInstallationWizard;**************************************************************;Section1-ProfileDefaults;**************************************************************[General]Custom=1ProfileName=%UserName%-O365DefaultProfile=YesOverwriteProfile=YesModifyDefaultProfileIfPresent=false;**************************************************************;Section2-ServicesinProfile;**************************************************************[Service…

To Unlock Windows Update locked due to group policy.

To Unlock Windows Update locked due to group policy.




Open gpedit.msc and browse to the location /Computer Configuration/Administrative Templates/System/Internet Communication Management/Internet Communication Settings and double click "turn off access to all windows update features" and set it to disabled.