New answers tagged

0 votes

SRV records not created on new domain controller

I had this issue register in dns setting
0 votes

Unable to login via RDP into a VM from a domain joined Windows client to a VM that is joined to another domain

"The trust relationship between this workstation and the primary domain failed" That's the culprit. Fix your target computer (for example by re-joining) and enjoy working logons again. It ...
  • 4,478
0 votes

I'm trying to get Windows explorer to show non Windows based computers in the Network folder

I'd like to know what's changed (in Windows) and how to get it all working again please. Hint: It's not the Windows client's fault. With Window Vista, the "good old unreliable" method of ...
  • 4,478
1 vote

How to tell which versions of TLS MYSQL (windows) is using?

There is so much to unravel in this question ... I cannot turn off TLS 1.0/1.1. Even though IISCrypto showing them off Are you talking about Windows Server, IIS Webservices or a MySQL service? All ...
  • 4,478
1 vote

How to migrate Azure server including IIS sites with the same name, different DNS

IIS supports multiple host headers, so you can just add your new name to the sites on your old server alongside the existing one. The host headers in IIS have no impact on DNS and the DNS entry for ...
  • 38.3k
0 votes
Accepted

Excel not opening files intermittently

Try to do an online repair for the applications in Control panel : https://support.microsoft.com/en-us/office/repair-an-office-application-7821d4b6-7c1d-4205-aa0e-a6b40c5bb88b Try to clear the cache ...
  • 31
0 votes

% Processor Time / _Total performance counter on Windows 12 wildly incorrect

So lets dive in. And please change the title to "Windows Server 2022" instead of "12". The Processor Object in the perfomance counter gives us a complete details on how our ...
  • 4,478
1 vote

How to create a non-modifiable structure of shared folders on NTFS?

I have a Windows Server 2013 I doubt this version number is correct, but NTFS permissions are the same on any windows, this doesn't matter that much. What is a correct way of assigning permissions ...
  • 4,478
0 votes

How can I update IIS 10 v1607 to IIS 10 v1809 on Windows Server 2016?

SUGGESTION: Review all the Windows updates for your client's Windows Server 2016 install. See if there are any IIS updates in the list. Explain to your client that the only "IIS download" ...
  • 318
0 votes

What happens if the only DC fails?

This is more than one question and a bit out of scope of sf. But here is quick answer anyway. what happens when the only DC fails/becomes unavailable. Which services would still function, if any. ...
  • 4,478
0 votes

How to nest & share multiple ZFS pools over Samba to multiple users

I cannot share two folders to both user's workstations, because Windows doesn't allow you to mount multiple network drives from the same IP address... This is not true. You can mount as many network ...
  • 4,478
0 votes

How can I update IIS 10 v1607 to IIS 10 v1809 on Windows Server 2016?

You can not upgrade 'just' IIS as it is a builtin role of the windows server release you are using.
  • 4,478
0 votes

How should I design my 'public' network of an project?

If you want to put domain controllers into remote datacenter, then you should also create site-to-site VPN between your office(s) and remote network in a data center. By no means you should expose ...
  • 1,527
1 vote

Is there a global, persistent CMD history?

I propose using Cygwin with Windows Terminal. It may not be exactly what you want but it works quite well for me. It also probably has some issues that I haven't discovered just yet. You can integrate ...
  • 131
0 votes
Accepted

Windows Update Cleanup - Disk Cleanup via script/command prompt

The official Microsoft way: REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Update Cleanup" /V "StateFlags0000" /T REG_DWORD /D "2" /F ...
  • 34.6k
1 vote

Windows Server 2022 join Azure AD Domain Services over VPN - How to do this?

Yes, it is possible. Yes, you can use Azure ADDS to manage your on-premise workstations provided you have a Site-to-Site VPN connection between on-prem and Azure. Users and groups created in Azure AD ...
0 votes

How to create .zip archive containing preserved symlinks (shortcuts) in Windows (CLI)

Since Windows 10 (some 17*** build, end of 2017), the 'tar' command has been added natively. So now for preserving symlinks I would suggest something like: tar -cvzf mybackup.tar.gz folder-to-backup ...
0 votes

How to avoid windows restart?

So the question is, is it possible to ensure to have a 24/7 computer with windows 11? Windows 11 is a desktop OS. It's not intended for server tasks. But even with a server OS, you can't expect 24/7 ...
  • 4,044
0 votes

How to enable Automatic Logon for a computer in Windows Domain?

Auto logon function works only when the LOCAL ACCOUNT is created. If you need domain account to have auto logon on you need to create a separate Policy for that server but this is temporary. Please ...
0 votes

Ansible trouble while launching an exe through win_command

Finally i ended up with a different solution: Just created a Windows scheduled task (still using ansible) to launch the uninstaller and option i need, then specify a username, trigger and run it once. ...
  • 109
1 vote
Accepted

How to set limited permissions using command line on windows?

This target Page contains the output you expecting using cacls command
0 votes

How to get own process pid from the command prompt in Windows

I found the easiest solution in a comment by Nicolas Melay: for /F %%a in ('PowerShell -ex bypass "(gwmi Win32_Process -f ProcessID=$((gwmi Win32_Process -f ProcessId=$PID).ParentProcessID))....
0 votes

Adding SFTP to Windows Server 2012

You definitely can install OpenSSH at Windows 2012 [R2] server and it configures like on any other platform (e.g. Linux) and works as expected.
  • 2,101
0 votes

Can't find NT SERVICE\MSSQLSERVER to give it Read privs on a cert

Use correct per-service SID to grant permissions and rights: NT SERVICE\MSSQLSERVER NT SERVICE\SQLSERVERAGENT More information can be found here: https://learn.microsoft.com/en-us/sql/relational-...
  • 1,527
0 votes
Accepted

Adding SFTP to Windows Server 2012

Q: SFTP server can be installed on Windows Server 2012? A: Of COURSE you can! FileZilla is an excellent choice. So is WinSCP. The latter also has a great NuGet package for programming SFTP with C#/...
  • 318
-1 votes

Hyper-v 2012R2 host looses connection to cluster storage

Update: We have not had this problem again since I changed concurrent tasks in Veeam backup to three. The backups themselves runs much faster too. The faulty folders was probably created because I ran ...
0 votes

How do you find what process is holding a file open in Windows?

There have new PowerToys available from Microsoft. File Locksmith utility for Windows | Microsoft Learn https://learn.microsoft.com/en-us/windows/powertoys/file-locksmith After installing PowerToys, ...
  • 231
0 votes

Uninstall application via Windows GPO

You can use PowerShell to uninstall the software, or use the tool to speed up the process. PowerShell $computerNames = @("ComputerName1", "rName2", "rName3") $appName = &...
  • 1
0 votes

Accessing more properties of Local Security Policy with powershell

Typically how this is done is to run secedit.exe and import the value(s) you want to implement or change from an .inf file. A more sophisticated solution would use PowerShell Desired State ...
  • 34.6k
0 votes
Accepted

Windows Boot disk doesnt boot in Gcloud Vm Instances

The problem is gcloud cant boot uefi systems. I did the same process in AWS and the EC2 Image Builder have a debug which specify that there some EC2 machine that could not boot EUFI systems and there ...
  • 1
0 votes

Splunk Universal Forwarder on Windows : how many logs to forward?

This is a good question, but it's unanswerable in any practical way without knowing your use cases As @Greg Askew commented, there is no "best practice" - it's whatever you: want to collect,...
  • 18k
0 votes

Hourly fatal windows alert

You can get more information about untrusted certificates by enabling the CAPI log. The log is disabled by default and you can right-click on it to enable the log. Applications and Services/Microsoft/...
  • 34.6k
1 vote

How to test Windows Service Account can login to SQL Server database?

Shift-Right-Click on the icon for your favorite tool of choice (or command prompt, PowerShell, etc.) and select "Run as a different user". Enter the service account credentials, login as ...
  • 937
0 votes

Smart card reader not able to detect in remote host

If you haven't solved the problem yet, maybe I can help you! I recently read an article, in this situation you need to look at the Windows logs on Host Y after the RDP connection has been established. ...
  • 1
3 votes
Accepted

Windows scheduler : will same process instances concurrently run across different Tasks?

That setting does not have any affect on other tasks. So Task 1 and Task 2 will run concurrently regardless of the setting. The setting prevents running the same task concurrently. For example, if a ...
  • 34.6k
0 votes

Setting up PXE using Windows Server & Tiny PXE Server

keep-san = 1 has really no effect with modern iPXE. The connection should go away and then reconnect, since iPXE needs to disconnect and windows should takeover, but this requires change of network ...
  • 1,199
0 votes
Accepted

Windows Custom Certificate (certlm.msc) - Default Values

use certreq.exe tool along with INF templates to automate the process. It is not possible to automate in GUI. Specifically, look at certreq -new command.
  • 6,514
2 votes

How to identify which DNS server is in use in Windows OS?

Run nslookup in interactive mode. That will show you what DNS server nslookup is using.
  • 109k
0 votes

Windows firewall logging. Log file is always blank

I addition to what has been said by others, after you ensure log location in firewall UI is pointing to correct location then in the following order: Make sure log files are generated in specified ...
0 votes

How do you find what process is holding a file open in Windows?

You can also do it programmatically by leveraging on the NTDLL/KERNEL32 Windows API. E.g. have a look at the following code in Python: import ctypes from ctypes import wintypes path = r"C:\temp\...
  • 121
0 votes

Webserver exposes client real IP address in OpenVPN network

Just add this line to OpenVPN server config: push "route xxx.xxx.xxx.xxx 255.255.255.255 vpn_gateway 1" Where xxx.xxx.xxx.xxx is your server public IP. Don't forget to restart the server ...
1 vote

Cannot transfer large file(s) using remote desktop connection (Windows 2012 server)

Just in case someone stumbles upon this - killing the rdpclip process on the remote machine usually helps. Credits go to Rony-L and his reply over here
  • 111
-2 votes

Virtual machine not meeting Windows 11 system requirements, even though it should

Thanks to @joeqwerty I started using the Generation 2 setup option instead of Generation 1. I was getting an error booting, but that was because the Generation 2 setup assumes the ISO is on a DVD and ...
  • 101
1 vote
Accepted

Is PHP's error_log dependent on the OS, config file or something else?

It can be set to a value at compile time, and it can be set by configuration, so both is possible. Additionally, it can be modified at runtime, or by the webserver configuration. Create a simple php ...
6 votes

Virtual machine not meeting Windows 11 system requirements, even though it should

Windows 11 isn't supported as a Generation 1 guest. You need to create it as a Generation 2 guest. https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/plan/should-i-create-a-...
  • 109k
3 votes

Virtual machine not meeting Windows 11 system requirements, even though it should

You mention RAM and disk space. However, the requirements list some more items: TPM UEFI boot DirectX 12 Graphics card Secure boot You don't mention any of these items, which leads me to believe you ...
  • 4,044
0 votes

"MMC cannot create the snap in "

There are several reasons for this error: Your path does not include %SystemRoot%\System32\WBEM Make sure you check the right path. If logged in to a standard account Registry key gets corrupted or ...
  • 101
0 votes

Publish Root CA CRL to network drive

You can bypass this problem using WINRM for copying the file. It is more secure then SMB, you ca also manage the credential you use, and you can trigger the copy process using a schedule task that ...
0 votes

How to make UAC ask for username and password every time?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI] "EnumerateAdministrators"=dword:00000000
1 vote
Accepted

How to properly secure user's folders?

1. do I use the "canonical" method? You use the most straightforward and less error-prone method: the allow item is usual, and the deny item is only one check-mark. 2. how to prevent the ...

Top 50 recent answers are included