I tried the sysinternals autologon but i didn’t work right away so I did it the oldskool way. Through the registry. This is what i did.
Category Archives: Windows 8 Customer Preview
Network locations for Windows 7 [Followup]
Because a powershell command line is a bit of a hazard to configure. Me and Ivan de Mes found out
.
This is the right configuration
powershell.exe -command "& {$(get-childitem """$env:appdata\Microsoft\Windows\Network Shortcuts"""| Where-Object { $_.PSIsContainer }).Attributes = """ReadOnly"""}"
It will look like this:
[Windows 8 CP] Manage Wireless Networks gone?? [not applicable for RTM]
I was searching for the wireless connection specific settings.
Partly you can manage them through the settings bar at the right in your Metro interface. Right clicking the specific connection will get you to the properties of the connection.
But for example there you can not change the setting if this profile is available to all users or only the current user. This results in a wireless connection before even logging on. This might me ideal but might cause some security issues in specific situations.
This you can manage in de Manage Wireless Networks. But this is nowhere to be found. In Windows 7 it is found in the “Network and Sharing Center” now it’s not.
But due to the post on this blog: http://setspn.blogspot.com/2011/10/win-8-client-dev-preview-manage.html
I was able to create a shortcut with the target:
explorer.exe shell:::{1fa9085f-25a2-489b-85d4-86326eedcd87}
This will take you to the Manage Wireless Networks and there you can manage your Wireless profiles and there you can also change the “Wireless Network Profile Type”. Default Windows only creates “All-user profiles only”.
Network locations for Windows 7
Hi all,
at one of my customers I ran into problem with WebDAV connections and a mandatory profile. Users are allowed to connect to a webdav share.
The users are creating network locations in my computer which is created by right click “My Computer” and select “add network location” and using the url. But then the users complains the connection is not remembered after a logon logoff.
We are using mandatory profile in combination with Immidio Flex profiles 7.5. So I went looking what these network locations realy are.
This site helped me to understand: http://bartdesmet.net/blogs/bart/archive/2005/09/23/3554.aspx
It is a folder with a special desktop.ini and a shortcut called target.lnk inside a readonly directory. This last one is the trick. Making the directory readonly makes it look like a shortcut. Removing the readonly attribute will make it an ordinairy folder with 2 files in it.
Then I found out by troubleshooting the normal zip functionality in Windows or Immidio Flex doesn’t retain the readonly attribute. By using 7zip as the application to zip or 7zip the “file/directory” does hold its readonly attribute.
The workaround to fix the folder back into a special shortcut can be done by Powershell at logon for example:
$(get-childitem “$env:appdata\Microsoft\Windows\Network Shortcuts”| Where-Object { $_.PSIsContainer }).Attributes = ‘ReadOnly’
or (but this changes all folders including the subdirs which is not necessary):
cd “%Appdata%\Microsoft\Windows\Network Shortcuts”
xcopy /E /H %SOURCEDIR% .
attrib +R /D /S .*
but then I like Powershell better and it’s a onliner
I hope you’ll better understand the network locations or sometimes refered to as Network Places.



