Discusses a
Source: You receive a “The User Profile Service failed the logon” error message
My notes on working with .NET, Powershell, Windows, Sharepoint, SQL and other software which you may find usefull
Discusses a
Source: You receive a “The User Profile Service failed the logon” error message
This article explains why this happens and why:
Some Programs Cannot Access Network Locations When UAC Is Enabled.
The above linked article also shows how to work around the issue by a registry modification using regedit. Here is a Powershell command that does the same registry modification. Don’t forget to run Powershell as Administrator.
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLinkedConnections -Type dword -Value 1
Taken from discussion at:
http://superuser.com/questions/99286/selectively-disabling-uac-for-specific-programs-on-windows-7
To disable UAC prompts for one application only you have to use the Microsoft Application Compatibility Toolkit:
http://www.microsoft.com/en-us/download/details.aspx?id=7352
You have to run, as administrator, the correct “Compatibility Administrator” program. There are two of them, one for 32bit applications and one for 64bit applications.
•On the left hand tree menu, on the bottom is “Custom Databases”, and under it “New Database(1) [Untitled_1]”
•Right click on the “New Database(1) [Untitled_1]”; select Create New, and Application Fix.
•Enter the name and other details for the application you want to alter behavior on and then browse to it and select it.
•Click Next until you are in the Compatibility Fixes screen.
•On the Compatibility Fixes screen, find the item RunAsInvoker, and check it.
•Click Next and then Finish.
•Select File and Save As.
•Save the file as [filename].SDB in a directory you can type easily on the command line.
•Open a Command Prompt as administrator.
•Run the command: sdbinst [drive]:\[path]\[filename].sdb & pause (For example I was fixing the UAC for Clover and the command I typed was:
sdbinst “C:\Program Files (x86)\Clover\Clover.SDB” & pause
•You should get a new window that says:
Installation of [name] complete.
Press any key to continue . . .
And that worked for me… Good Luck!
Anything about Technology and Business
SharePoint....
Shownotes and links for the PowerScripting Podcast, a podcast to help people learn Windows Powershell
What is this Powershell of which you speak?