This is a follow on to a previous post about being unable to impersonate a currently logged in Windows user. There were many good suggestions, but the previous thread was getting messy, so I am resetting with this post. Hopefully with the current…
I have two databases. Both are in the same folder. Both have, as far as I can tell, the exact same ownership and permissions. I can attach one but not the other - I get an error 5123.
For both files...
Owner is MSSQLSERVER
Permission…
I am using Alfresco-5.1, MS-Office 2013 and Windows-7. I have done the Alfresco setup in my system and uploaded few documents. To edit the documents, I want to use the 'Edit in Microsoft Office' feature, but when I click on it, I am getting the…
I'm trying to create a Medium or Low integrity process from a elevated process. I know there are other questions like this but they mostly focus on the workarounds like using Explorer or the Task Scheduler and I want to stick with…
I have some old code that we have to maintain in VB6. We need to add the ability for it to look up the current user's SID. Can anyone point me to some code that shows how to do that? Thanks in advance for your help!
I am using Windows 10 APIs "Passport" & "Window Hello" in my WPF application.
bool keyCredentialAvailable = await KeyCredentialManager.IsSupportedAsync();
if (keyCredentialAvailable)
{
KeyCredentialRetrievalResult keyCreationResult = await…
We have a product which relies on a thin client installed on users machine. We make an ajax get request to a domain pointing to local host which has a real ssl. This fails in edge, works in every other browser including IE11. Note that same works if…
I am trying to add permissions to a group for Microsoft Message Queuing (MSMQ). On Windows Server in the Server Manager under Features I right-click directly on MessageQueuing which is the top level > Properties > Security. I want to make sure my…
I have a problem where I cannot connect to a SQL Server using domain credentials. Using the SA credentials it works and the query runs as expected. But when I use domain credentials, I get an error.
Here is the script:
$SQLServer =…
I can launch a low integrity process with SysInternals' PsExec:
psexec -l cmd
And a restricted process with
runas /t:0x10000 cmd
What is the difference between Low Integrity Level and Restricted?
Why use one or the other?
Aren't they…
I am trying to determine the user who created a particular file like so:
string path = "C:\\TheFile.dat";
string user = System.IO.File.GetAccessControl(path).GetOwner(typeof(System.Security.Principal.NTAccount)).ToString();
When the file was…
We are writing a run-only remote desktop application, that uses SendInput for keyboard (& mouse) interaction. However it cannot interact with UAC prompts.
What permissions/rights does our application require for this?
Background info: The…
We are dumping data into an excel file using SSIS. Need to add a Custom Header to the Excel file.
The code below worked for many years. (on Different Windows (Win7,Win10) and different office versions (Office2007 and Office2013).
string…
I couldn't find much information about Untrusted integrity level in Windows, and have some questions about it:
Is there a place where an untrusted integrity level process can create named objects? (mutexes, events, etc..)
Should untrusted integrity…