32
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 ...
15
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.
9
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 ...
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 ...
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 ...
7
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
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 ...
6
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:
...
6
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&...
6
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 (...
5
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 ...
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 ...
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 ...
5
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.
5
votes
Task Scheduler repeat task not triggering
I fought with this non-sense for an entire day, scouring event logs and triple-checking permissions, and the only logical conclusion is that Task Scheduler shows the Next Run Time incorrectly when you ...
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 ...
4
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"
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 ...
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 ...
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){
...
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" --> ...
3
votes
Task Scheduler repeat task not triggering
I just ran into this problem while trying to migrate scheduled tasks from my home PC (Windows 10 Pro) to a server (also running Windows 10 Pro, freshly installed via Microsoft's media creation tool). ...
3
votes
Accepted
Disk Usage Bar not showing in Windows Server 2008
Open registry editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive. On the right you should see a key named TileInfo. This is the key that defines what information will be shown next to ...
3
votes
Accepted
Creating Junction from mapped NAS
Can't we create junction for mapped network drives?
No, that is not supported. Junctions can only be created to drives on the same computer.
You can create a Directory symbolic link instead:
mklink ...
3
votes
How to enable two users simultaneous access to a Windows instance in AWS?
Short answer, yes you can using Terminal Server, but not for free.
Longer answer:
Microsoft describes here how to set up a Terminal Server role. However, to use this, you would need Client Access ...
3
votes
How to enable two users simultaneous access to a Windows instance in AWS?
Windows Server permits two simultaneous remote connections out of the box as described in this MSKB document:
At any point in time, there can be two active remote administration sessions [to the ...
3
votes
Accepted
What prevents copied/renamed/moved notepad.exe from running in some Windows editions?
Answered by Sander Berkouwer in social.technet.microsoft.com:
Mark Russinovich ran into the same problem when he copied notepad.exe
from the Windows directory to his profile directory. After some
...
3
votes
Accepted
How to detect if a specific scheduled task is running?
Using plain MSDOS, you can do:
schtasks /query /TN my-task-name /FO LIST
And extract the output. As an example I do:
for /F "usebackq tokens=2,*" %%f in (`schtasks /query /TN my-task-name /FO LIST ^...
3
votes
cURL command runs in Linux but not Windows 2008
I would put the JSON into a file, e.g. json.txt, and use curl -d @json.txt
to avoid the quote handling issue by the shell.
This would give something like
curl -H "Content-Type: application/json" -X ...
3
votes
Accepted
Is it possible to upgrade PowerShell 3 on Windows Server 2008 SP2 to higher versions?
Is there no way to upgrade PowerShell to v5 or even v4?
No
On a fully patched Windows Server 2008 SP2, I've upgraded Powershell 2 to 3.
In order to install PowerShell 4+, you must install Windows ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
windows-server-2008 × 952windows × 210
windows-7 × 119
networking × 69
remote-desktop × 69
windows-server-2008-r2 × 51
active-directory × 34
windows-server-2003 × 30
dns × 26
command-line × 25
virtual-machine × 23
powershell × 22
permissions × 22
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