Symptom:
You may find you cannot connect to any website or online service with a metro app, it fails due to proxy settings. If opening up the desktop version of IE it reads the proxy settings and connects properly. However, the metro IE or other metro apps fail to connect to the internet unless unchecking the "use a proxy server for your LAN" checkbox via Desktop version IE.
Resolutions:
A few things you can try:
1:
Step1. Open "Local Group Policy Editor"
Step2. Navigate to "Computer Configuration - Administrative Templates - Network Isolation"
Step3. Open "Internet Proxy Servers for Metro Style Apps" and set the value to your proxy server address like 172.16.0.1:8080.
2:
Step1. If you are logging in with a windows live ID, then go to the Desktop IE, authenticate with the proxy.
Step2. Check “remember my settings”. Then all metro apps will work fine.
3:
Step1. Open regedit.msc
Step2. Locate to the following registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing
Step3. Set the value to zero.
Reference:
http://technet.microsoft.com/en-us/library/hh846772
4:
Run the following command every time you boot the system:
netsh winhttp set proxy x.x.x.x:y bypasslist
After you install Windows 8, you may find the CD/DVD drive is not recognized.
Resolution:
1. Run Command Prompt as an Administrator. Type cmd in Windows 8 Metro UI and press cltr+shift+enter
2. Type following and say enter
reg.exe add "HKLM\System\CurrentControlSet\Services\atapi\Controller0" /f /v EnumDevice1 /t REG_DWORD /d 0x00000001
3. Reboot the system
4. Verify if the problem has been resolved.
You installed Windows 8 CP. The Win 8 is running very well. Then you install Hyper-V role. After the install is complete, it reboots and gets hung at the start of the Windows boot process where the beta fish shows up. The splash screen typically has a circle of dots.
Try the following workaround:
- Disable USB 3.0 in BIOS.
You upgraded from Windows 7 Pro to Windows 8 Consumer Preview, but found the Metro apps won't start when clicked. Sometimes, the app appears to start, the screen fills up with a green background with the app logo centered, but nothing happens afterwards.
You might find the following events when starting Metro Apps:
EventId 10010
Description "The server Microsoft.WindowsLive.Calendar.wwa did not register with DCOM within the required timeout."
A few things worth trying:
1. Update video card driver and firmware (verify it by switching to the Microsoft Basic Video Driver.)
2. Fix the OLE registry key. Please make sure to backup the registry before changes are made. (http://support.microsoft.com/kb/322756)
Save the below to a .reg file and merge.
====================================
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole]"MachineLaunchRestriction"=hex:01,00,04,80,90,00,00,00,a0,00,00,00,00,00,00,00,\ 14,00,00,00,02,00,7c,00,05,00,00,00,00,00,18,00,1f,00,00,00,01,02,00,00,00,\ 00,00,05,20,00,00,00,20,02,00,00,00,00,14,00,0b,00,00,00,01,01,00,00,00,00,\ 00,01,00,00,00,00,00,00,18,00,1f,00,00,00,01,02,00,00,00,00,00,05,20,00,00,\ 00,32,02,00,00,00,00,18,00,1f,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 2f,02,00,00,00,00,18,00,0b,00,00,00,01,02,00,00,00,00,00,0f,02,00,00,00,01,\ 00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,01,02,00,00,00,00,\ 00,05,20,00,00,00,20,02,00,00"MachineAccessRestriction"=hex:01,00,04,80,8c,00,00,00,9c,00,00,00,00,00,00,00,\ 14,00,00,00,02,00,78,00,05,00,00,00,00,00,14,00,07,00,00,00,01,01,00,00,00,\ 00,00,01,00,00,00,00,00,00,14,00,03,00,00,00,01,01,00,00,00,00,00,05,07,00,\ 00,00,00,00,18,00,07,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,32,02,00,\ 00,00,00,18,00,07,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,2f,02,00,00,\ 00,00,18,00,03,00,00,00,01,02,00,00,00,00,00,0f,02,00,00,00,01,00,00,00,01,\ 02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,\ 00,00,20,02,00,00
Alternately you can also delete the OLE key and reboot.
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole
3. You need at least 1024X768 resolution for Metro apps to work.
4. Metro appsaren’t supported if you are running with a built-in administrator account (happens mostly when upgrading).
5. Check if UAC(User Account Control) is enabled.
You installed the Win8 Server Beta without issue, but you are unable to install any roles or features like Hyper-V role. It just fails, no events in the Event Log.
You can install Hyper-V role through powershell (e.g. Dism /online /enable-feature /featurename:Microsoft-Hyper-V), but you can not start any VM you created.
This is a known issue with the beta. Specifically - the user locale and the system locale need to match (they should not need to be English - just the same).
You can also change it in the Control Panel and Region. (Some customers reported the Format must be English (United States)).
Customers installed Win8 and got the following error:
“We are not sure what happened, but couldn't finish installing windows 8 Consumer Preview. We've set your PC back to the way it was right before you started.”
Running setup from the root of the media within an existing Windows installation assumes that you want to perform a clean installation with data migration.
Running setup from the sources folder gives more of a Windows 7-like experience where it asks you what you want to do.
You try to install Windows 8 (CP), and encountered the following error:
"We couldn't create a new partition or locate an existing one. For more information, see the Setup log files."
Try to following methods:
1)Check if you have an SD Card in the system. If you do, you remove it and run setup again.
2) Once the setup fails to find the partition, just close the setup window (the top-right-hand side red X does the job).
From that point, you should be brought back at the initial setup screen.Choose "Repair" then go to the advanced tools and start the command line.
Start DISKPART.
Type LIST DISK and identify your SSD disk number (from 0 to n disks).
Type SELECT DISK <n> where <n> is your SSD disk number.
Type CLEAN
Type CREATE PARTITION PRIMARY
Type ACTIVE
Type FORMAT FS=NTFS QUICK
Type ASSIGN
Type EXIT twice (one to get out of DiskPart, the other to exit the command line tool)
When you backup a VHD to a network share which is a local drive, it may fails with the following error:
The backup operation to \\server\b$\daily\a\ is starting.Creating a shadow copy of the volumes specified for backup...Creating a shadow copy of the volumes specified for backup...The backup of volume System(C:) could not be completed. Error: The requested operation could not be completed due to a file system limitationThe backup operation stopped before completing.In the event log, I get the following:VDS Basic Provider: Unexpected failure. Error code: 490@01010004and Backup: The backup operation that started at '?2010?-?05?-?17T20:54:42.085886000Z' has failed with following error code '2155348041' (None of the source volumes were backed up.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.
Root cause:
It's not possible to specify as a Destination Folder a share that is located on the machine (Like \\LocalHost\ShareName) where you are running the backup (in this case, it's the WSB Backup). When you try this, the backup will fail just after finishing the enumeration of the files (after the snapshot creation and the Writer Initialization) and just before starting the I/O backup operation (i.e: Copying from source to destination). The reason is because we DO NOT SUPPORT opening VHDs from a LOOPBACK SMB CONNECTION.
During a normal Backup Operation, we create on the Target a VHD and we mount it. This VHD will be filled by the content of the source. When we target the backup to a VHD on the network, if the share is on a local drive, we try to make a loopback SMB. By design, this is not supported, and will not work.
Solution:
You need to use either LOCAL Drive or Remote SHARED FOLDER on OTHER Server on your Network.
For by pass this kind of limitation, you can use a complete backup software for Enterprise like System Center Data Protection 2010.
This is an interesting issue of Windows 7.
Some customers reported that in the Power Options they have chosen 'Never' for 'Turn off the display'. However it keeps resetting itself to 20 minutes.
After further investigation, it was proved to be a compatibilty issue of HD Tunes Pro. That software is for hard drives testing and each time any test starts it resets power options.
Recently, many customers reported the Windows Firewall issue. This seemed to be caused by a wide spread malicious application.
The error message "Windows Firewall can't change some of your settings. Error code 0x80070424" will pop up when you try to change the Windows Firewall settings. In the meantime, when you restart the system, it might pop up an error saying that "Base Filtering Engine Service" could not be found in the system.
Please note that the same error code could pop up when you try doing anything in Windows Defender.
Download the registry files (You can also export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BFE from another working Win7 PC)1055.BFE.reg
0677.mpssvc.reg
Launch and import them to registryRestart your PCNow,open RUN and typeregedit and click okgo to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BFERight click on it-permissionsClick on ADD and typeEveryone and click okNow Click on EveryoneBelow you have permission for usersSelect full control and click okNow,open RUN and type services.msc and click okstart base filtering engine service and then windows firewall service Good luck
Note:Modifying REGISTRY settings incorrectly can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the configuring of REGISTRY settings can be solved. Modifications of these settings are at your own risk...
Threads that you can reference:
"Base Filtering Engine Service" Not available in services database list
Error Code 0x80070424 with Windows Firewall, Defender in Windows 7
Windows 7 - Unable to start Windows Firewall
Error Code 0x80070424 with windows firewall and windows defender Error Code 0x80070424, please help
Windows 7 - Windows Firewall missing from Services Menu and Error 0x80070424
1. Shut down the virtual machine in Windows Virtual PC, so to exit the Windows XP Mode.
2. Open a command prompt window with elevated privilege.
3. Run the following command
cd /d "%localappdata%\Microsoft\Windows Virtual PC\Virtual Machines"
REM make a copy of the configuration files
copy "Windows XP Mode.vmc" "Windows XP Mode.vmc.backup"notepad "Windows XP Mode.vmc"
4. Modify the number in the following sections. For example, you have a computer that has a resolution rate of 1280x800, you can adjust the following numbers to 1024x640 in the ratio of 16:10. This makes Windows XP Mode display more properly in Windows mode. "<resolution_height type="integer">768</resolution_height>"
"<resolution_width type="integer">1024</resolution_width>".
5. Save the configuration file.
6. Restart Windows XP Mode
_Contributed by Sharp Xu
When you are migrating mail boxes from your Exchange server to Plan E3.
You might get the following error:
A Windows Live error occurred while provisioning for "mail@domain.com". An internal error occurred while talking to Windows Live. Additional details: "0x800482101033This action is currently blocked for the API.CH1IDOPRTI02 2011.07.22.15.10.19
Modify the CSV file, change the value for ForceChangePassword to FALSE, and then rerun the migration. For example:
EmailAddress,Password,ForceChangePasswordpilarp@tailspintoys.com,Pa$$w0rd,Falsetobyn@tailspintoys.com,Pa$$w0rd,Falseiant@tailspintoys.com,Pa$$w0rd,False
Alternatively, you can remove the Password and ForceChangePassword columns. The documentation for staged Exchange migration will be updated accordingly.
You can use the below script:
==================================
Get-SPDatabase $syncdb=Get-SPDatabase -Id$syncdb.Unprovision()$syncdb.Status='Offline'Get-SPServiceApplication$upa=Get-SPServiceApplication - Id$upa.ResetSynchronizationMachine()$upa.ResetSynchronizationDatabase()$syncdb.Provision()
Below script shows how to restart the User Profile Synchronization Service if disabled.
============================================
# Loads the SharePoint 2010 PowerShell extensions Add-PSSnapIn Microsoft.SharePoint.PowerShell # Sets variable for User Profile Service Application: enter the name of your UPA in quotes, replacing the "UPA" example$upa = Get-SPServiceApplication |?{$_.displayname -eq "UPA"}# Sets variable for service instance: enter your User Profile Synchonization Service instance ID/GUID in quotes# which can be found by running "Get-SPServiceInstance" in PowerShell manually and copying the ID$profsync = Get-SPServiceInstance |?{$_.id -eq "382e333c-61f0-4107-ac5f-31aaf0a3aec3"}# Sets variables for farm account and password: enter your password in quotes$farmacctpwd = ConvertTo-SecureString -AsPlainText -String "Password1" -Force$farmacct = (get-spfarm).defaultserviceaccount# Sets variable for synchronization server: enter your server name in quotes$syncServer = "SharePoint1" if($profsync.Status -eq "disabled") { Write-Host "Provisioning User Profile Synchronization Service" $upa.SetSynchronizationMachine($syncServer, $profsync.ID, $farmacct.LookupName(), $farmacctpwd) } else { write-host "Profile Synchronization Service is"$profsync.Status }
This is the sample code in CPP to show how to wait on a job object. In the documentation:
The state of a job object is set to signaled when all of its processes are terminated because the specified end-of-job time limit has been exceeded. Use WaitForSingleObject or WaitForSingleObjectEx to monitor the job object for this event.
If the processes terminate normally, then the job object is not signaled. To detect when all processes in a job have terminated, you need to associate the job with a completion port, and then listen on the I/O completion port for the JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO notification.
=================================
#define UNICODE
#define _UNICODE
#define STRICT
#include<windows.h>
#include<stdio.h>
#include<atlbase.h>
#include <atlalloc.h>
#include<shlwapi.h>
int __cdecl wmain(int argc, PWSTR argv[])
{
CHandle Job(CreateJobObject(nullptr, nullptr));
if(!Job) {
wprintf(L"Could not create job object, error %d\n", GetLastError());
return 0;
}
CHandle IOPort(CreateIoCompletionPort(INVALID_HANDLE_VALUE, nullptr, 0, 1));
if(!IOPort) {
wprintf(L"Could not create IO completion port, error %d\n",GetLastError());
JOBOBJECT_ASSOCIATE_COMPLETION_PORT Port;
Port.CompletionKey = Job;
Port.CompletionPort = IOPort;
if(!SetInformationJobObject(Job, JobObjectAssociateCompletionPortInformation,&Port, sizeof(Port))) {
wprintf(L"Could not associate job with IO completion port, error %d\n", GetLastError());
PROCESS_INFORMATION ProcessInformation;
STARTUPINFO StartupInfo = { sizeof(StartupInfo) };
PWSTR CommandLine = PathGetArgs(GetCommandLine());
if(!CreateProcess(nullptr, CommandLine, nullptr, nullptr, FALSE,CREATE_SUSPENDED, nullptr, nullptr, &StartupInfo, &ProcessInformation)){
wprintf(L"Could not run process, error %d\n", GetLastError());
if(!AssignProcessToJobObject(Job, ProcessInformation.hProcess)) {
wprintf(L"Could not assign process to job, error %d\n",GetLastError());
ResumeThread(ProcessInformation.hThread);
CloseHandle(ProcessInformation.hThread);
CloseHandle(ProcessInformation.hProcess);
DWORD CompletionCode;
ULONG_PTR CompletionKey;
LPOVERLAPPED Overlapped;
while (GetQueuedCompletionStatus(IOPort, &CompletionCode,&CompletionKey, &Overlapped, INFINITE) && CompletionCode !=JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO) {
wprintf(L"Still waiting...\n");
wprintf(L"All done\n");
You have Windows Server 2003 with installed Certification Authority and Web Enrollment components.
When you try to access web enrollment pages from a Windows Vista-based (or newer) computer you receive error:
The certificate enrollment page you are attempting to access cannot be used with this version of Windows. To enable Web certificate enrollment for clients running Windows Vista, your administrator must update all Windows CA Web enrollment pages. To learn more about this issue and the steps needed to update Web enrollment pages to support all versions of Windows, see:
http://support.microsoft.com/kb/922706
You installed MS11-051 by following KB922706 but you are still getting the same erro.
1. Uninstall Security Update MS11-051.2. Install hot fix KB9227063. Install Security Update MS11-051.4. Type: IISReset
More information:
Install KB922706 update. Use the links below to download appropriate update:Download link for Windows Server 2003 x86Download link for Windows Server 2003 x64
Install MS11-051 security patch. Use the links below to download appropriate update:Download link for Windows Server 2003 x86Download link for Windows Server 2003 x64
There is a more conprehensive article authored by Vadims Podans also talking about this issue, please see:
http://en-us.sysadmins.lv/Lists/Posts/Post.aspx?ID=53
Assuming you need it in script, PowerShell:
# computername
$MachineName = 'localhost'
# open HKLM reg on $MachineName
$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $MachineName)
# open subKey SYSTEM\CurrentControlSet\services\TCPIP6\Linkage
$regKey = $reg.OpenSubKey("SYSTEM\\CurrentControlSet\\services\\TCPIP6\\Linkage")
# get the values from the name 'Bind'
# e.g. \Device\{A2B312D5-A133-4779-B21B-5B3ED82B6DCF}
$bind = $regKey.GetValue("bind")
# get adapters that are IP enabled : e.g. IPv4 or IPv6 is active
$adapters = gwmi -computer $MachineName Win32_NetworkAdapterConfiguration|?{$_.IPEnabled}
# for each adapter check if his GUID is in the Bind values and display info regarding IPv6 binding
foreach ( $adap in $adapters)
# get GUID of the adapter
$guid = $adap.SettingID
# get the name of the adapter to be used to display info
$name = (gwmi -computer $MachineName Win32_NetworkAdapter|?{$_.guid -eq $guid}).NetConnectionID
# buid the \device\GUID string from the GUID of the adapter
$device_guid = '\Device\'+$guid
# check if the bind key contains the adapter guid
if($bind -contains $device_guid)
{write-host "Computer $MachineName -> IPv6 OK in adapter: $name" }
else {write-host "Computer $MachineName -> IPv6 not bind on adapter: $name" }
Write `nDone
Sometimes you may have a need to load a DLL in a separate domain to call its method at run-time. You can create a proxy class by referencing the following code snippet:
public class Loader : MarshalByRefObject { object CallInternal(string dll, string typename, string method, object[] parameters) { Assembly a = Assembly.LoadFile(dll); object o = a.CreateInstance(typename); Type t = o.GetType(); MethodInfo m = t.GetMethod(method); return m.Invoke(o, parameters); } public static object Call(string dll, string typename, string method, params object[] parameters) { AppDomain dom = AppDomain.CreateDomain("MyNewDomain"); Loader ld = (Loader)dom.CreateInstanceAndUnwrap(Assembly.GetExecutingAssembly().FullName, typeof(Loader).FullName); object result = ld.CallInternal(dll, typename, method, parameters); AppDomain.Unload(dom); return result; } }
Some Word2010 users reported an interesting issue:
You are viewing a document (with reviewing turned on) in Print Layout view, and after a few minutes, the view switches to Draft view and opens the comments window on the bottom. It usually happens when the computer is left idle for a couple of minutes or sometime seconds.
Please verify EndNote X5 add-on is installed with Word2010. Try following methods:
1. Start in Word in safe mode (hold the CTRL key while starting word).
2. Disabled cite while you write - in endnote x5 tab, click the arrow on the bottom right of 'bibliography' -> instant formatting tab -> turn off.
You've implemented federation (AD FS) in your on-premises organization. You are doing a staged Exchange Migration (using a CSV file). You have migrated a couple of mail boxes from on-premises Exchange server to Plan E3.
But you start getting error:
A Windows Live error occurred while provisioning for "mail@domain.com". An internal error occurred while talking to Windows Live. Additional details: "0x800482101033This action is currently blocked for the API.CH1IDOPRTI02 2011.07.22.15.10.19".
Please check in the CSV file, are youusing TRUE for the value of the ForceChangePassword attribute?
If so, then in the CSV file, change the value for ForceChangePassword to FALSE, and then rerun the migration. For example:
Sometimes you may encounter the script error when you attempte to load album/track information in WMP12. For example:
An error has occurred in the script on this page
Line: 240
Character: 25
Error: Object expected
Code: 0
URL: http://fai.music.metaservices.microsoft.com/FAI/AlbumMatch.aspx?locale=409&geoid=f4&version=12.0.7601.17514&userlocale=409&requestid=830A4FFD-F3A3-4AD9-A1FA-390A48236E10
Do you want to continue running scripts on this page? Yes or No.
Causes:
In most of cases, it is due to Internet Explorer can not load the pages. You can fix it by cleaning the IE temp. files.
1. Close the WMP.
2. Please follow http://support.microsoft.com/kb/260897 to delete internet temp. files. Fix-it is recommended.
(gwmiWin32_LogonSession).GetRelated("Win32_UserAccount")
If you expect more than one logon session, then
(gwmi Win32_Process -filter "Handle = $Pid").GetRelated("Win32_LogonSession") |% {$_.GetRelated("Win32_UserAccount")}
will give you Win32_UserAccount for the account used to run current powershell instance.
There are many possible causes that can crash MSQuery in office 2010. A typical crash is as below:
AppName: msqry32.exe AppVer: 14.0.4750.1000 ModName: msvcr90.dll
There are several possible resolution you can try to resolve the above crash:
1. When you launch MS Query, just disable the option "Validate queries before saving or returning data", this is the fifth box in the options menu.
The only problem is that if you have made any mistake in your query, you'll only be noticed when receiving the data in excel.
2. Repair all the keys into registry at the following place:
[HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC]
For example:
Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC]"TraceFile"="C:\\DOCUME~1\\...USERNAME...\\IMPOST~1\\Temp\\SQL.LOG""TraceDll"="C:\\WINDOWS\\system32\\odbctrac.dll"
In some cases ODBC trace/analyze log is off and can't create a big SQL.LOG file size that cause msvcr90.dll crash
After SharePoint 2010 SP1 and June CUupgrade, when customer goes into Central Admin->manage user profile serviceapp->manage user profiles, select a user, he cannot uploaded their profilepicture any more, when he click choose picture and upload, it threw this error"There was an error saving the picture. Please try again later.", hedoes not see anything in the ULS log. The user is able to upload their ownpictures however not the admin.
This seems to be a known issue of June CU. The fix is under development and will be released soon.
Current workaround:
Use powershell script to do the update.
You can reference the sampe script in the link http://get-spscripts.com/2010/12/upload-multiple-user-profile.html as a temp. workaround.
Customer has installed a Hyper-V Cluster. The host os is Windows Server 2008 R2 with SP1. When he runs cluster validation wizard, the wizard shows lots of missing updates, however those updates are already in SP1 package. When he checks for updates from Windows Update, no new updates are detected.
He is unable to install the "missing update" saying they are already on the system. This is usually seen after Add Node.
This problem does not happen when hosts are installed with stock Windows Server 2008 R2 and applied SP1 later.
Root Cause:
Validate compares the hotfix numbers, not the binary versions. Because hotfixes and SP's are cumulative, there can be cases where you install a cumulative hotfix and Validate gives a false positive.
Repro steps:
1. Node1 = Hotfix 1, then SP1
2. Node2 = Hotfix 1, then SP1
3. Add Node3 = SP1, now Node1 = Node2 = Node3
4. Validate reports Hotfix1 is missing on Node3
On Node3, uninstall SP, install hotfixes then apply SP again. Actually you can ignore this Validate warning!