Questions tagged [windows-administration]

47 questions
1
vote
0 answers

how to avoid .odc file to be edited

I have a .odc file from which i am connecting with oracle data in excel everything is working fine annd i want to give this access to my colleague but the file which i am giving to him is editable in notepad from which he can easily able to see…
sandhiya
  • 133
  • 2
  • 3
  • 17
1
vote
1 answer

IIS worker process is able to start the process but it is invisible

I want to run a VLC with a video file. I had written the following code in VS and run it under IIS Express. Under IIS Express everything is fine and I am able to see the video as well as audio. But when I am publishing it to local IIS, I am able to…
1
vote
1 answer

NT AUTHORITY\SYSTEM not found

I'm trying to add "NT AUTHORITY\SYSTEM" to MSSQL Database, and it fails with error: Windows NT user or group 'NT AUTHORITY\SYSTEM' not found. Check the name again. Query string: CREATE LOGIN [NT AUTHORITY\SYSTEM] FROM WINDOWS WITH…
1
vote
1 answer

Changing Windows local user regional settings via Powershell

I have created over 100 users using the wrong regional settings, therefore wrong date format. I wish to correct this without logging in as every user and going through the necessary steps. I am looking for a way to do this in one go either via UI…
1
vote
1 answer

How to change the binding order of network adapters using commandline(wmi, netsh, vbscript, etc...)

I have several network connections that are connected to different networks. and I want to make sure that a certain network connection is at the top of the list. so I want to programmatically script changes to the binding order of network adapters…
li hl
  • 13
  • 1
  • 1
  • 4
0
votes
0 answers

WMI Permanent Extrinsic Event binding not triggering

I'm pretty unfamiliar with WMI so I made some test MOFs for a permanent extrinsic event. My filter to consumer binding isn't working correctly. Here are the MOFs pulled directly from wbemtest. Filter: instance of __EventFilter { CreatorSID = { […
Pulpo
  • 224
  • 2
  • 12
0
votes
3 answers

DSC Configuration 'AD' completed with error(s). Following are the first few: WinRM cannot process the request

I am getting below error while triggering a dsc configuration in a AD VM. VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'ConfigureActiveDirectory'. Error message: "DSC Configuration 'AD' completed with…
0
votes
1 answer

Is there any way to create a local admin account in windows server machines with password stored in Azure key vault and should update when rotated

I am trying to create local admin account for my lab machines with unique passwords. I have around 25 machines in the lab. I am looking out if there is any way where we can store the password in Azure keyvault and if password is rotated in azure key…
0
votes
0 answers

How to get windows user account type, even if user is disconnected from domain?

I have a WinForms application and want to be able to offer users an update if one is available (download and install .msi) and if possible. Some users are part of our domain, interns can be part of the domain of school, university or have a personal…
0
votes
1 answer

Automatic sorting of new folders Windows

I know about setting sorting for parent folders and stuff. But when creating a new folder in Windows, sorting is by name. Is it possible to change some value in the registry or create some script for the action of creating a folder - so that sorting…
0
votes
1 answer

Working with unusual date formats in Powershell?

I am working on a GUI-based Powershell tool to help users easily find out when their AD password is going to expire. Due to Covid restrictions, most users and not on-site and rely on VPN to connect to AD. A by-product of this is that many do not see…
0
votes
0 answers

Return Escalated Powershell Variable to VBScript

I am trying to return the state of Hyper-V into a VBScript. In order to do this, I need to execute the following command: Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online If I set this as a variable, then I can echo the state…
0
votes
1 answer

DCPROMO fails with error "Access is denied" if the user does the promotion isn't granted the "trusted for delegation" user right

I need to transfer FSMO roles from Windows Server 2012 R2 to Windows Server 2019. It works well with clean Datacenter editions of both systems but not with existing Windows Server 2012 R2 Essentials. There are existing Windows Server 2012 R2…
0
votes
1 answer

Windows service - use domain account and run with admin privileges

I'm trying to set up a Windows service with the following requirements: Runs as a domain account - this account has access to other shares that the process will touch Has full administrative rights on the machine, past UAC - specifically needs to…
0
votes
1 answer

Query for Global Catalog fails to fetch the object details

I have a windows AD server machine (2012 windows), say 'abc.com'. From the client, I try with port '636' and '3269'. With port '636' and base-dn set as 'DC=abc,DC=com' and bind-dn set as 'CN=Administrator,DC=abc,DC=com', I am able to lookup for a…