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
1
vote
0 answers

CreateProcessAsUser fails with error 1314 even when correct privileges are set

I keep getting error 1314 from CreateProcessAsUserW regardless to what privileges i set, according to MSDN i should add SE_INCREASE_QUOTA_NAME & SE_ASSIGNPRIMARYTOKEN_NAME. Just to make sure, i verified in the group policy console that the…
igal k
  • 1,883
  • 2
  • 28
  • 57
1
vote
1 answer

Excel VBA macro workbook startup - security warning - automatic update of links disabled

I've created an add-in and installed it, but now when I open Excel I get an error pop-up telling me that the add-in file is a security risk and that automatic updating of links is disabled. I've looked it up and it refers to the Windows DDE…
notnot
  • 4,472
  • 12
  • 46
  • 57
1
vote
1 answer

How to programmatically disable user access control (or equivalent) on Windows Mobile 6

My company maintains software on a number of windows mobile devices. The users of these devices are scattered throughout the country. Every time we needed to update the software we had to physically drive out and meet each user and put the new…
1
vote
1 answer

What are user rights to modify Windows firewall rules?

I'm trying to use COM objects from FirewallAPI.dll to set Windows Firewall rules programmatically from a C# application. The application is supposed to run under a user account that is not from the Administrators group. I'm struggling with setting…
1
vote
1 answer

Which type specific access rights (ACCESS_MASK) are valid for SE_LMSHARE?

When calling Get/Set[Named]SecurityInfo with SE_LMSHARE, how are the type specific access rights in a ACE interpreted? I'm guessing I should use the directory version of the File Access Rights Constants but is this documented anywhere?
Anders
  • 97,548
  • 12
  • 110
  • 164
1
vote
2 answers

Verifying User Credentials

I have a unique quandary. I'm developing a class that will test the Users Account Permission, I've covered most basis. But the one I'm mostly concerned with is testing against Null or a SID. The reason I'm concerned is: if(user != null) { …
Greg
  • 11,302
  • 2
  • 48
  • 79
1
vote
1 answer

How to add a service SID to a service?

I have a windows service with a TCP/IP server built in. Clients and connect and some information is distributed etc. Typically the service is installed to log on as Network Service. There is some data that is stored in a folder under ProgramData…
SpaghettiCook
  • 673
  • 4
  • 14
1
vote
2 answers

WMI.NET to MicrosoftBizTalkServer - Login failed for user ANONYMOUS LOGIN

When connecting to Biztalk Server 2010 via WMI.NET, I am able to successfully peruse any number of class types, but none of the Biztalk classes. Each of those throw the following exception verbiage: BizTalk Server cannot access SQL server. This…
Robert Kerr
  • 1,291
  • 2
  • 17
  • 34
1
vote
0 answers

Determining local security policy with xp_regread

Possible Duplicate: Reading Local Group Policy / Active Directory Settings I'm trying to write an audit script for sql server 2005+. One of the items I'd like to see in the script output is a list of the actual settings being verified by the…
nullrevolution
  • 3,937
  • 1
  • 18
  • 20
1
vote
1 answer

Hacking attempt - Windows server 2003

I'm seeing some hacking attempts on my office PC. Last Friday my PC restarted twice suddenly and when I logged in, some of my important documents were not there. Just deleted. So I checked the Event Viewer to find the reason about this restart. I…
sura2k
  • 7,365
  • 13
  • 61
  • 80
1
vote
1 answer

ACE ordering within a DACL using AddAccessAllowedAceEx

I needed to grant access to a file on Windows in a c++ program. I browsed around and copy/pasted code from MSDN and came up with the following. It has been working as far as I can tell. But then today I stumbled across a warning in MSDN for the…
John Fitzpatrick
  • 4,207
  • 7
  • 48
  • 71
0
votes
1 answer

Does this require windows delegation to be enabled for server service account?

I have a client console application which has got some user credentials - domain\user and plain-text password. The client app obtains windowsidentity object for that user by invoking LogonUser (dwLogonType:LOGON32_LOGON_NETWORK) win32 API. I use…
Anand Patel
  • 6,031
  • 11
  • 48
  • 67
0
votes
1 answer

Attach to service process SecurityHealthService from Visual Studio 2022

I my trying to attach to the SecurityHealthService.exe process from VS 2022 However it doesn't show up in the "Attach to Process" dialog I'm having an issue enabling Memory Integrity in Core Isolation, and pressing Scan shows CPU activity for…
0
votes
0 answers

Using Azure Point-to-Site VPN floods the domain controller with EventId 4768: A Kerberos authentication ticket (TGT) was requested

Premises: in Azure Virtual network gateway using the point-to-site configuration I setup a VPN connection using Azure certificate as authentication type; Certificates are generated locally, installed on Windows box; their names are P2SRootCert and…
Dan M
  • 770
  • 1
  • 9
  • 18
0
votes
0 answers

How to bypass Symantec Endpoint Protection warning for python executable

I have created a python executable file and It's working fine on my machine. However, when I share it with other users in the organization, they are getting a warning message every time they execute the program file. There is an option to add this…
Devang
  • 365
  • 2
  • 6
  • 26