Questions tagged [windows-users]

Agents, either human or software, which use a Windows computer or network service.

Windows users are agents, either human or software, which use a Windows computer or network service.

Related tags:

59 questions
0
votes
3 answers

Checking if the current user is in the administrator group with WinAPI

I'm trying to check if the current user is in the administrator group on Windows in my C application. I already tried the WinAPI function "IsUserAnAdmin", but it seems that this function only returns True if the current process also has admin…
Louis Bernard
  • 229
  • 4
  • 20
0
votes
2 answers

NodeJs - How to get Windows ProgramData directory in NodeJs

I need to write some files into folder, that can be access any local user and can be modified by any user. So I decided to use Windows ProgramData folder. I found following details from a article. There’s also the ProgramData folder. This folder…
0
votes
0 answers

How do I get the local groups users info from Windows Server 2012 R2?

I am able to get the local users in Windows 7 using the below code. But when I try the same code on Windows 2012 server it doesn't work. Please help with a solution. private static String[] GetUserLocalGroups(string ServerName, string Username, int…
Sam
  • 55
  • 3
0
votes
0 answers

Start a program as NETWORK SERVICE user

I have a.exe and I'm a non-admin user in the windows 10 system. I want to run a.exe as NETWORK SERVICE user. I tried using PsExec but C:\Users\Guest\Downloads\PSTools>psexec -i -u "nt authority\network service" a.exe Couldn't install PSEXESVC…
3lokh
  • 891
  • 4
  • 17
  • 39
0
votes
1 answer

Windows XP a Computer Administrator versus a user with Admin privileges

I have a C# program that I am trying to run as a scheduled task. It will run successfully if the user is logged in as the computer administrator. However, if the log in is an admin user, a user with admin privileges, the task errors. The "run only…
user648869
  • 251
  • 7
  • 14
0
votes
0 answers

C# - Create User on Remote Machine in same Workgroup (not domain)

A windows user can be created on the local machine or in active directory using the .NET System.DirectoryServices.DirectoryEntry class, but I need to create a user on a remote computer which is in the same workgroup. Is there any way to achieve the…
Umar Abbas
  • 4,399
  • 1
  • 18
  • 23
0
votes
4 answers

Windows registry keys for applications for all users in machine

If I install an application on windows XP and that application writes some keys to HKCU registry , then will those keys be copied to HKCU for other users? I tried installing one application and verified some keys getting created in HKCU. Now I…
anand
  • 11,071
  • 28
  • 101
  • 159
0
votes
0 answers

Web App to use current users windows creadentials for ExchangeService

I have a MVC5 Razor website that needs to show calendar appointments loaded from excahnge server. I can do this by doing this: var service = new ExchangeService { Credentials = new NetworkCredential("userName", "pass")…
Niksen
  • 79
  • 1
  • 11
0
votes
1 answer

Server synchronisation service is not working correctly

I am getting the below error in WSUS server. Please someone help in this regards. Server synchronization service is not working correctly. This might be because of configuration issues.
Basavaraj
  • 1
  • 2
0
votes
1 answer

Perl code to retrieve currently logged user list of windows server

Clients are connecting to a windows server with different user names. For example: client1 connects to server with user1 client2 connects to server with user2 client3 connects to server with user3 Now there are 3 currently logged users at…
kadir_beyazli
  • 197
  • 2
  • 12
0
votes
1 answer

Cannot find chrome binary when running test in jenkins

When I run my Python-Selenium test with Eclipse it works. If I add the Python test as batch file in Jenkins I always get this error: selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary I set the path for…
0
votes
2 answers

Check if user is service account

I try to decide with use of host command below if a given username is service account or not. Get-ADUser $username -Properties PasswordNeverExpires | where { $_.PasswordNeverExpires -eq "true" } | where { $_.Enabled -eq "true"} It should return…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
1 answer

Are there any disadvantages to having two WSUS servers?

We currently have 1 x workstations WSUS server and we want to bring in the patching of 9 x 2008 R2 servers which host our Citrix estate. Would it be beneficial to have separate WSUS servers for workstation patching & server patching? Should we…
0
votes
0 answers

Create a user on a remote machine using c#

i am trying to create an app, which automatically creates and configures merge replication between the 2 PCs in the same local network. To achieve this, i need to programaticaly create one user on each of the two PCs, this user should have exactly…
user1651105
  • 1,727
  • 4
  • 25
  • 45
0
votes
2 answers

TFS mapping to already existing code by multiple windows users

I have a solution containing a bunch of projects all under source control that is mapped to a local folder on a PC, but only for a specific windows user, say UserA. Now if I log into Windows under a different user UserB I want to be able to use the…
komodosp
  • 3,316
  • 2
  • 30
  • 59