122

The clearest most succinct answer I could find is: How To See PC Startup And Shutdown History In Windows which lists these event ids to monitor (quoted but edited and reformatted from article): Event ID 6005 (alternate): “The event log service was started.” This is synonymous to system startup. Event ID 6006 (alternate): “The event log service was stopped....


65

Whether the network of a domain controller is classified as domain network doesn't depend on the gateway configuration. The behaviour of a false network classification can be caused the NLA (network location awareness) service starts before the domain is available. In this case the public or private network is chosen and not corrected afterwards. How to ...


48

You will need to modify the group policy that is applied to the servers. Open up the Group Policy Management Console and navigate to Computer Configuration >> Administrative Templates >> System and select "Display Shutdown Event Tracker." Disable that option.


30

To get it to work outside of localhost, do php artisan serve --host 0.0.0.0 If you want it to work without specifying the port in the browser, php artisan serve --host 0.0.0.0 --port 80. sudo will likely be required. Note: php artisan serve should never be used for production. It's for dev and demonstration only and won't be able to handle more than a ...


29

I sort it out using "Task Scheduler" Here are steps to do it Make VPN Connection and give it Some Name Let say "My VPN" Open "Task Scheduler" from Start Menu and click "Create Task" (Option can be found on right side of Task Scheduler) POPUP will appear asking for Task Information. Fill in information like below After that go to Trigger Tab and Select "...


26

As the reply of joeqwerty is not clear, I want to put the steps in line. This works for Windows 7, 8, and 10 (I'm on 10), as well as Windows Server 2003, 2008, and 2012. Create the user (if you don't have it created already, and check this if you want it local on W10) from users, or Computer Management, whatever you like more. Open Administrative Tools, ...


24

My fix was simple... I had already manually ran the scheduled task, but I created the scheduled task for the intent of using it daily... I had several TB to copy over to a backup server so I could not schedule the task just yet. My fix was to update the Start date to the current day, and that for some reason resolved it. Detailed info: Previous start date ...


23

Show the "CPU Time" column on the "Details" tab in "Task Manager" and look for a process with a CPU time count that's steadily increasing. That's your wedged process. It should be using around 4.17% CPU constantly.


23

As a general alternative to this: put your script in Task Scheduler and trigger it every minute, two minutes, whatever. This is more reliable, as your process with survive reboots or script errors. Using Scheduled Tasks not only allows your process to survive reboots, as mentioned already, but can also make your task deployable to a large number of servers ...


23

Generally, I'm opposed to the idea that a Windows server should be rebooted on a regular schedule EXCEPT in relation to TS/RDS servers. We reboot ours every day. It clears up old sessions, releases in use resources (CPU, RAM, file handles, etc.), so my opinion and suggestion would be that you do configure a daily scheduled reboot of your RDS servers. Note ...


21

If you do not want to change via Polices you can always issue the shutdown command to avoid the question. shutdown /s /t 0 /s = shutdown /t = time till shutdown 0 = immediely


21

Microsoft released the patch for this problem Sep 15, 2015 See https://support.microsoft.com/en-us/kb/3080079


19

Great Question. the answer is that the VolumeDirty bit is set on the volume, which (I have to assume) is checked during bootup. Probably similar to the way it's checked when a flash drive is inserted and one gets the popup that says Scan or Continue Without Scanning. I once tried to come up with a way to schedule a chkdsk for an automated server that had ...


19

I have been looking into this for a couple of days now as we to have to comply with PCI-DSS 3.1 which requires TLS 1.0 to be disabled. We also do not want to fall back to RDP Security Layer which is a major security concern. I have finally managed to find some documentation that confirms that TLS 1.1 and TLS 1.2 ARE supported by RDP. This documentation is ...


19

When you are configuring your remote desktop connection, there is an option that is labelled 'local resources' from there you can pass through local drives to the target machine. You shouldn't have needed to install remote desktop from the store since the client is included by default. In the search box on the taskbar, type remote desktop and it will appear ...


18

For me, the easiest method is using Send-MailMessage in Powershell. From the Powershell console simply run: PS C:\Users\admin> Send-MailMessage -SMTPServer smtp.domain.com -To xxxxx@gmail.com -From youremail@domain.com -Subject "This is a test email" -Body "Hi, this is a test email sent via PowerShell to test the STMP relay server" Loads more options ...


18

As mentionned is comments, you also have to use the /inheritance:r switch to remove inherited permissions. /grant:r only removes explicit permissions. icacls c:\temp\test /inheritance:r /grant:r <DOMAIN>\<USER>:(OI)(CI)F /T To also grant SYSTEM : icacls c:\temp\test /inheritance:r /grant:r <DOMAIN>\<USER>:(OI)(CI)F /grant:r SYSTEM:...


18

nslookup does NOT use hosts file but DNS. Try using ping instead and it will return the IP provided in your hosts file. Setup the ip for this domain in a real DNS Server.


17

Users refuse to log off instead of disconnect Setup the appropriate group policies to auto-logoff them. You can separately control an idle timeout and logoff. That should certainly minimize some of the issue during the day. I restart my 3 server TS farm daily at 3:00am. Because, yes crap can build up over time when you have lots of people using a single ...


16

This has been solved. I began to examine the registry because increasing CPU and RAM resources on the virtual machine did not resolve the issue. I was pointed to Microsoft's dureg tool to estimate the registry's size. Browsing via regedit, I encountered issues opening the keys under HKEY_USERS\.Default\PRINTERS. Using dureg, I started probing under that ...


16

I have no authoritative reference but I have just tested the behavior of multiple different Stop conditions in Task Scheduler on both Windows 8.1, Server 2008 R2 and 2012 R2. They both apply! Whichever stop condition is met first, stops the task. Per trigger stop condition: The Stop task if it runs longer than-condition specified in the Trigger will only ...


16

By stopping the "windows module installer" you can safely delete the file, and yes the cab files should be being created, this can happen on Windows 2008R2 when the CBS.log file grows too fast for the compressor to notice (yes, not the greatest way of doing things) or if there is a error during compression. Check the event logs for why this might not be ...


16

You can use the 'File Resource Server Manager' role. Installation of this role is done from the "Server Manager". After the installation, enter the 'File Resource Server Manager' mmc console, and follow these steps: Create a new file screen rule. Choose the second option, and click on "Custom Options". Choose the path you want this rule to apply to, ...


15

I know this is a very old question. But this might help someone who is looking for the same solution. you can use a single line in powershell (which is available in all OS later than win 2003) to find out the reboot history. Just open powershell.exe from run prompt and enter the below command. Get-EventLog System | Where-Object {$_.EventID -eq "1074" -or $_....


15

You can also create a shortcut that performs the CTRL-ALT-DEL action for you (very useful in environments where OSK is not accessible.) Create a shortcut to the following: C:\Windows\explorer.exe shell:::{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} Double-click that shortcut to access the CTRL-ALT-DEL screen.


15

I had the same problem - turned out we'd just run out of disk space.


15

To Set it though Group Policy, follow these steps : Click on Start > Run Type GPEDIT> MSC > hit OK The Local Group Policy Editor snap-in will open The policy that we are interested in can be found by expanding the following: Computer Configuration\Administrative Templates\System\Server Manager Right click on the policy : Do not display Server Manager ...


15

Your system I assume is still up, so the best thing to do is make an immediate backup, dump the disks/array, rebuild, and restore from the backup. Bad blocks don't always mean your backups are also bad. If you haven't experienced any performance problems or damaged files, then your backups should still be complete enough to finish a restore. To test, take ...


15

Turning @user10082 comment into an answer. The proposed solution is a one-liner, as Powershell script: Get-EventLog -LogName System |? {$_.EventID -in (6005,6006,6008,6009,1074,1076)} | ft TimeGenerated,EventId,Message -AutoSize –wrap Here is the output: TimeGenerated EventID Message ------------- ------- ------- 5/30/2021 11:23:16 AM ...


14

Running the following as an elevated admin: reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v ShutDownReasonOn /t REG_DWORD /d 0 /f and then logging off and on again should to the trick. This is quicker than using group policies which you should use when you are in a domain and want to apply this change to many servers.


Only top voted, non community-wiki answers of a minimum length are eligible