Is there any way to trigger some task from task scheduler as interactive task. Like if I am logged in and have a task that runs only if user is logged in than my 2nd application from code I send interactive commands like enter but it doesn't work if…
I have developed windows application to monitor the current running process and it will scan the running task list via subprocess in defined interval and application running smoothly on IDE but after compiling and execute exe, then it will popup…
I try to export full info about certain Windows Defender Firewall with following code:
$rule = (Get-NetFirewallRule -DisplayName "Start")[0]
$ApplicationFilter = @($rule | Get-NetFirewallApplicationFilter)
$AddressFilter = @($rule |…
I wrote a Python script that reads a 1GB json file and writes the contents to multiple files. It ran terribly slow on my work laptop, taking almost 30 min to complete. Colleagues suggested it may be due to the anti virus scanning the new files…
Trying to use LogonUser() function under a service running as Local System. Has been successful in trying to authenticate users. However, when a user is in the the Protected Users group, the function fails.
HANDLE hToken = NULL;
BOOL bSuccess =…
Hi guys I have problem with Windows Antivirus I downloaded a zip file from the IPFS My code :
using (UnityWebRequest wwwAssetsDownloader = UnityWebRequest.Get(JsonData[3]))
{
yield return…
Our company uses a java application as one of its core business applications - it works fine on the existing Windows 7 environment.
One of (the many) things I'm doing is moving the organization to windows 10 21H2 - with a greater focus on…
Running Windows 11
I created a JavaFX Jar. The App/Jar works fine when you double click it, or even execute it from the command prompt.
To make it easier to use, I decided to add an option to my Right Click Options. Following the instruction from…
One of my toy projects require IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY in PE header to run. I've been testing it with test signing on, but I'm considering buying a cert if I can afford.
The documents on this are too old, so I'm not sure whether the…
Can someone help me with this code, at the line concerning the condition if I'm and Administrator it returns false despite logged in as Administrator.
The C# Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using…
I have 2 Windows domains - DOMAINA and DOMAINB with a 2 way trust between them. An account created in DOMAINA has admin rights to DOMAINB and can access the member servers in DOMAINB with full admin rights.
I have a linux server which uses kerberos…
Assuming my SSIS package has:
Network file process (copy task)
Network flat file source task (that reads the file)
Oledb sql source task that reads data from table located on remote server (windows authentication)
Suppose I run the package using…
How can I configure Password policy in windows using group policy in c#.
I need to set local GPO in device using C#.
computer configuration >> windows settings >> security settings >> account policies >> Password policy
I need to read this and set…
I have a windows application which calls a shortcut to a folder on a server which requires domain users login (username and password). If I run the shortcut directly then I get the windows security login window which by default set the domain as the…