Questions tagged [windows-security]

Use with Windows Security, previously called Windows Defender Security Center.

References:
Help protect my device with Windows Security

Related tag:
windows-defender
controlled-folder-access

176 questions
0
votes
2 answers

How do function detour packages circumvent security

I am looking at some code that uses a function detour package called DetourXS. My application is targeted for Microsoft Server operating systems. Microsoft Research also has a Detours package and they have an article on how it works. They patch the…
LotusPetal
  • 111
  • 2
  • 5
0
votes
0 answers

Windows security popup while installation of drivers

I'm getting Windows security popup while installing kernel driver using my installer. In previous builds, we were not getting this issue. But with our latest builds, we are getting this issue. We are signing our drivers with a proper certificate.…
Ajit Medhekar
  • 1,018
  • 1
  • 10
  • 39
0
votes
1 answer

IIS 7.5 Web Application returns Unauthorized when using HttpClient

I have a web application which is hosted in IIS 7.5 on Windows Server 2008 R2 and on another test machine in IIS 8.5 on Windows Server 2012 R2. Windows Authentication is enabled and the Application Pool is running under a service account like…
0
votes
0 answers

Secure the user profile data using key generated using user's ID and password using Windows.Security.Cryptography (a Windows Runtime Component)

I would like to store user's profile data locally but would like to encrypt it using user's own ID and password. This way only when the same user logs back in can, she can decrypt her profile. Please find below steps I am using to encrypt on…
0
votes
1 answer

RegOpenCurrentUser(KEY_WRITE) on newly created user

After i successfully create a new user, add user to built-in admins group, i would like to edit the newly created user's registry (this program is an elevated-as-admin program). I called NetUserAdd(), NetLocalGroupAddMembers(), LogonUser(), and…
Andy
  • 12,859
  • 5
  • 41
  • 56
0
votes
0 answers

Is Passing impersonation token to CreateProcessAsUser is wrong?

I have read that CreateProcessAsUser take primary token as its argument . I have created the token using OpenThreadToken() which will create impersonation token. But CreateProcessAsUser with impersonation token is "passing on most" of the machines,…
0
votes
2 answers

CreateProcessAsUser failing with 1349 :The type of the token is inappropriate for its attempted use

Creating a token using OpenThreadToken() and then passing it to CreateProcessAsUser is failing with: 1349:The type of the token is inappropriate for its attempted use. It is successful on one machine but failing on other win2008r2. The…
0
votes
1 answer

UserConsentVerifierAvailability enum definitions for Windows 10

What is the difference between DeviceNotPresent and NotConfiguredForUser properties of UserConsentVerifierAvailability enumeration? MSDN documentation says "There is no biometric verifier device available" and "A biometric verifier device is not…
0
votes
1 answer

get the latest windows Startup Login event data from event viewer using c#?

i am getting all information from windows security log and event viewer related to logon and logg off but i want only latest loggon event info from all information can you please apply some linq on that to get the top most Startup Login event…
0
votes
0 answers

Code::Blocks program doesn't run properly when run button is hit

I have been compiling and running programs in C++ on Code::Blocks longly but today one of my programs compiled successfully but when I ran the program it returned -12 with time -0.00s. Whenever I write a new program in C++ the program compiles but…
Siddharth Joshi
  • 157
  • 1
  • 9
0
votes
1 answer

Windows Security Message when opening file

I have a Windows forms desktop application with a webBrowser control. I navigate to a directory on the server webBrowser1.Navigate(new Uri("\\\\srvername\\share\\directory\\")) to allow users to open files from that directory. When they double…
0
votes
1 answer

Mixing Forms and Windows Security in ASP.NET

I am having trouble using Mixed Forms Authentication and Windows Security. I am not too familiar with IIS and security. I found this article today: https://msdn.microsoft.com/en-us/library/ms972958.aspx#mixedsecurity_topic5 I first started by…
0
votes
1 answer

Windows Security Is bugging me, popping up three times asking for user credentials

So i have an web application, published and deployed on IIS some pages of my web application work flawlessly while others mostly the ones with a report is causing issues. 1) So i click the link for the report, The report gets generated YAY!!! 2)…
HackMaster
  • 99
  • 2
  • 14
0
votes
2 answers

Getting correct Token from session id

What I'm trying to achieve is the actual Token handle from the session ID when the process runs as admin under non admin user(windows logged in user). DWORD dwSessionId = 0; if (false == ProcessIdToSessionId(dwProcessId,…
igal k
  • 1,883
  • 2
  • 28
  • 57
0
votes
1 answer

Can Inno Setup install set up a Windows security group?

How can set up a Windows security group as part of a Inno Setup install? I can't seem to think of the right text to google to figure it out. Perhaps a hint at what to search for would be enough.
amalgamate
  • 2,200
  • 5
  • 22
  • 44