Hi Shane,
I managed to solve it myself. I made a powershell command, where i unblocked all files used.
Its working now and thats great.
For refference, you can see the full script here:
----------------------------------------------------------
New-Item -ItemType directory -Path C:\Winrepair
$source = "
http://support.fragt.dk/Programmer/winrepair/Winrepairfull.zip"
$Filename = [System.IO.Path]::GetFileName($source)
$dest = "C:\Winrepair\$Filename"
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($source, $dest)
$path = "C:\Winrepair\Winrepairfull.zip"
$destination = “C:\Winrepair\”
$shell_app= New-Object -com shell.application
$files = Get-ChildItem -Path $path -filter *.zip -recurse
foreach($file in $files) {
$zip_file = $shell_app.namespace($file.FullName)
$copyHere = $shell_app.namespace($destination)
$copyHere.Copyhere($zip_file.items())
}
Get-Item C:\Winrepair\Winrepair\* | Unblock-File
Start-Sleep -s 1
echo y| C:\Winrepair\Winrepair\Repair_Windows.exe /silent
Start-Sleep -s 1
\\support01\wwwroot\Programmer\winrepair\Log\Log.bat
--------------------------------------------------------------------------
Let me know if you need any comments.
Thx