110

There are several fairly easy options available for remotely managing a remote Windows Server using a command line, including a few native options. Native Options: WinRS/WinRM Windows Remote Shell/Management tool is the easiest way to remotely manage a remote Windows server in a command line utility, and as with most Windows command line utilities, ss64 ...


110

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....


59

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 ...


45

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 ...


28

Short answer: NO, unless you really need it and you really know what you are doing. WMF 3.0 is known to be not compatible at all with Exchange Server (both 2007 and 2010), at least until further updates are released for these products; also, although this is not yet officially documented, it has been found to wreak havoc on SharePoint 2010, and to break ...


26

Building on Christian's answer... Use PowerShell: (Get-EventLog -LogName "System" -Source "Service Control Manager" -EntryType "Information" -Message "*Computer Browser service*running*" -Newest 1).TimeGenerated;


23

This apparently possible, according to this StackOverflow post. Before posting the content of the answer, however, can I suggest that you're over-complicating this? In situations like this where some crappy piece of code needs a user logged on to run (like Domino server, grumble) I've created a service account that's to always be logged in on a given server, ...


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 ...


23

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 "...


21

Yes there is an impact. Yes it is recommended that you log off. If you don't log off, all of the resources (such as RAM) that it took to sustain your interactive user session stay in use. You keep one of two administrative connections in use so that others can't connect. What's actually recommended is to not RDP to your servers at all. This is what the ...


19

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


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

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


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

Helge Klein has a great blog post showing how to do add the earliar version of the MMC snapin back - How to Get Back Windows XP’s Fast Event Viewer in Windows 7. Basically you have to run the command regsvr32 els.dll from an elevated privilege command prompt and it will then show up as an MMC snapin called Classic Event Viewer. I'm very happy to have ...


17

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 ...


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

The best method for dealing with this issue is to use the SetSystemFileCacheSize API as MS KB976618 instructs used to instruct. Don't periodically clear the cache Using the SetSystemFileCacheSize function rather than clearing the cache periodically improves performance and stability. Clearing the cache periodically will result in too much metafile and other ...


16

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 ...


16

I imagine the answer for this is in your DNS records. Make sure your domain controllers have no record of the old machine name in your forward lookup zones. Make sure there is not entry in the DHCP table. Make sure the DNS entry is not locally cached, you can check if it is on a windows machine by opening command prompt and typing ipconfig /displaydns and ...


16

In the System event log, look for EventID 41 Kernel-Power. It's description is: The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly. That sounds like what you're looking for, correct?


16

Assuming the IP address you want to whitelist is 192.0.2.55: netsh advfirewall firewall add rule name="Allow from 192.0.2.55" dir=in action=allow protocol=ANY remoteip=192.0.2.55


16

Note that mstsc.exe has no (documented) options to supply a session ID. But once you have logged in to the Remote Desktop Session server, you can change the session you are connected to by issuing tscon <session id> /v See MS KB 321703 for details on tscon. Alternatively, you might use tsadmin.msc and the "Connect" function from the context menu of ...


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

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:...


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, ...


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