PowerShell script to fix the problem:
$myLocations="\\share1\allusers","\\share2\users","\\pshare3\AdminUsers"
foreach ($loc in $myLocations)
{
set-location $loc
$items=Get-ChildItem
foreach ($item in $items)
{
if ($item.getType().name -like "DirectoryInfo")
{
cd $item.name
if (test-path desktop.ini) {del .\desktop.ini -force}
cd ..
}
}
}
Showing posts with label windows 7. Show all posts
Showing posts with label windows 7. Show all posts
Wednesday, October 17, 2012
Tuesday, January 04, 2011
Friday, January 08, 2010
Windows 7 God mode
On Windows 7 computer create a new folder and name it as : GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} .
You will have all configuration and management tools of the OS.
Subscribe to:
Posts (Atom)