25
votes
How can I display host name on windows desktop
This questions is now 8 years old. BGInfo doesn't seem to work with Windows 10 desktop backgrounds. That is, background images behind the text that BGInfo should be writing on top of. It does work ...
- 351
19
votes
Task Scheduler repeat task not triggering
Just in case you trigger the task manually...
I have just come across this same problem on Window 7. I haven't tested it with any other version of Windows.
It seems that repeated tasks are not ...
- 401
14
votes
How to display a list of network shares shared by a Windows computer
From the Command Prompt you can type:
net view \\servername /all
This should show you all shares on that server even if they are hidden shares.
- 141
11
votes
Script to set "Hide file extensions"
Here is a Powershell version
function ShowFileExtensions()
{
Push-Location
Set-Location HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Set-ItemProperty . HideFileExt &...
- 211
8
votes
Accepted
Task scheduler doesn't work unless I run it manually
I had a similar case, and it seems that task scheduler treats the "start in" option differently whether you run it manually or on system startup.
My "start in" was not defined. It wasn't until I ...
- 228
8
votes
How do I turn off Taskbar Tooltips in a VirtualBox environment?
It is quite unlikely that the problem is in any way related to the fact that you're running under a virtual machine. It's probably just that the other answers you found online are wrong. Lots of ...
- 1,957
8
votes
Accepted
Cannot create checkpoint on Hyper-V (0x800423F4)
This is a known issue for pre-2016 DCs running in VMs on 2016/Win10 Hypervisors.
The problem is the new Production Checkpoint architecture. If you change the Checkpoint type to Standard in the VM's ...
- 508
7
votes
How can mouse clicks stop working in Windows but I can move the mouse?
This is probably due to WPF bug https://social.msdn.microsoft.com/Forums/vstudio/en-US/ac81b552-44ac-4410-a5cd-4dbf6132a634/wpf-apps-stop-responding-to-touches-while-mouse-continues-to-work?forum=wpf
...
- 171
7
votes
Accepted
Task launch failed, instance already running
It can happen that a task that runs as scheduled task simply does not terminate. Whether this is a fault of task manager or the script is unknown, but both can be at fault here. For example, if the ...
- 57.6k
6
votes
Detect Windows Server version 32/64-bit in CLI
Other way to check with a WMI query:
PowerShell:
(gwmi win32_computersystem).SystemType
CMD:
wmic OS get OSArchitecture
Extracted from here: http://www.sysadmit.com/2015/10/windows-como-saber-si-...
- 61
5
votes
Why do I get "General Failure" when pinging host name on a Win 7 node on the network?
the 'cybersec' feature of the nordvpn client also causes this for other (local) subnet ranges to not be reachable, even when vpn is OFF - $deity knows why - turn off the 'cybersec' option and all of a ...
- 171
5
votes
How to purposefully exclusively lock a file?
I cannot write comments, so I add my info this way:
https://stackoverflow.com/questions/5860542/how-can-i-simulate-a-locked-file-one-which-has-a-write-lock
EDIT: summary of the other question:
...
- 161
5
votes
Script to set "Hide file extensions"
PowerShell one-liner to show file extensions (don't hide known extensions):
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "HideFileExt&...
- 488
5
votes
Accepted
How to place XAMPP in Windows-Startup (not the User-Startup folder)
-Just Run "xampp-control.exe" as administrator
-and stop apache service action port.
-and tick this(in snapshot) check box it will ask for install as service just install it
-then go to service.msc ...
- 206
4
votes
Run application or script on Windows RDC connection
Use trigger "On connection to user session"
Note: I only noticed that the question is tagged "XP"/"Server2008". What's here may only work on Vista/2008R2 onwards.
Windows ...
- 1,477
4
votes
How to display a list of network shares shared by a Windows computer
A bit simpler than the accepted answer is direct call to the Shared Folders console: Start > Run > fsmgmt.msc
Screenshot of the Shared Folders console
4
votes
How to fix windows update errors 80244018?
I won't claim to understand the issues that prevent the automated installation of some patches through Windows Update. In the past, I've gotten many unique error codes like your 0x80244018 which ...
- 79
4
votes
Task Scheduler repeat task not triggering
The correct way to set this up is to set the start time any time in the past, then select "Run task as soon as possible after a scheduled start is missed" in the Settings tab.
- 141
4
votes
Accepted
Running a vm inside a vm
You can't. Hyper-V is running on the computer that hosts your VM.
If you're using Azure, then it looks like some classes of instances support nested virtualization. You may have to use Hyper-V ...
- 55.1k
4
votes
cURL command runs in Linux but not Windows 2008
The problem is more likely the windows command prompt interpreting the single and double quotes differently, not anything to do with curl.
Try reversing the double and single quotes in the JSON ...
- 530
4
votes
What is the difference between a Name Server and a DNS Server?
According to IANA's DHCP options registry, option 5 is for specifying an IEN-116 protocol name server – which is an early precursor to DNS, also called the ARPA Host Name Server Protocol.
(IENs (...
- 407k
3
votes
How to purposefully exclusively lock a file?
I second the solution by marsh-wiggle. Here's my version of the script:
# This is lock_file.ps1
[CmdletBinding()]
Param(
[Parameter(Mandatory=$False)]
[string]$my_file_path
)
if (!$my_file_path){
...
- 161
3
votes
How can I display host name on windows desktop
Or, requiring no external tools;
Make a bat file, placed in a startup folder with content such as;
echo %COMPUTERNAME% > "c:\users\Public\desktop\%COMPUTERNAME% - is this machine"
- 282
3
votes
How do I find out what service is using a certain port?
Windows Resource Monitor (not Widows performance monitor, or the monitor from the task manager) will also show the port and PID of all open connections.
Start --> Search --> "Resource Monitor" --> ...
- 251
3
votes
Empty recycle bin on E: drive
Do a standard "Disk Cleanup" on that drive:
Right-click on the drive and click "Properties". Select "Disk Cleanup" on the bottom right of the pie graph.
The Disk Cleanup window that opens will list ...
- 31
3
votes
Delete dupe files from source, move only missing across to target in Robocopy
robocopy %Files% %Bak% /E /ZB /MOVE /IS /COPY:DATSOU
Not only do you need /MOVE, you need /IS (Include Same) files.
Otherwise Robocopy never copies the file over when it sees the same file is in ...
- 31
3
votes
Detect Windows Server version 32/64-bit in CLI
GENERIC SOLUTION
I really had to dig into this and have a real look around in WMI.
The best option in my opinion is to simply use this PowerShell string
(Get-WmiObject win32_ComputerSystem -...
- 31
3
votes
Accepted
Windows Task Scheduler Chart?
This Powershell script will read Task Scheduler's Event Log and export to CSV Task Name, Start Date, Finish Date and Duration for all tasks that were launched. Then, you can feed this data to your ...
- 2,592
3
votes
Task Scheduler repeat task not triggering
I ran into this problem me too, I was able to solve it by setting the start date and time one or two minutes ahead of the time of making the task to trigger the action and start repeating it as ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
windows-server-2008 × 950windows × 209
windows-7 × 119
networking × 69
remote-desktop × 69
windows-server-2008-r2 × 50
active-directory × 33
windows-server-2003 × 30
dns × 26
command-line × 25
virtual-machine × 23
permissions × 22
powershell × 21
vpn × 19
linux × 18
boot × 17
virtualbox × 17
64-bit × 17
hyper-v × 17
group-policy × 17
iis × 17
windows-xp × 16
security × 16
network-shares × 16
domain × 16