Tag: Windows
-
Windows Server 2012 Hyper-V can Import Non-Exported VMs
About time.
-
A PowerPoint 2010 pptx file from a network share opens read-only
Credit for this one goes to @xrobx99. He did all the work behind this post. I felt that it was such an obscure “bug”, that maybe my posting of the solution might help someone that is expereincing the same issue. The problem we were having was that when a user would open a large PowerPoint (.pptx)…
-
Server ran out of space and not accepting connections after freeing up space
I was away on vacation, and a dev box ran out of space. Once I got back, I cleaned it up, rebooted and still could not connect to it. @xrobx99 noticed an IPSec message in the event logs: The IPSec driver has entered Block mode. IPSec will discard all inbound and outbound TCP/IP network traffic that is…
-
PowerShell script to force download and install WindowsUpdates
I have been using the UpdateHF.vbs vbscript for years to patch all my servers. I wrote a simple HTA to wrap it, and it gets executed by psexec. I wanted to take that script, strip it down, and convert it to PowerShell. My intension was to run it through a PSSession but I get access…
-
PowerShell script to change default prf imported when Outlook starts up for the first time
In this previous post, I talk about how we use Office Customization Tool (OCT) and “.prf” files to deploy Office 2010. Continuing with the idea that I want to know if a person is visiting from another office, I want to be able to switch from our default of “cached mode” to “online mode” for…
-
Command to enable windows backup feature on Server 2008 R2
One liner: DISM /online /Enable-Feature /FeatureName:WindowsServerBackup /Quiet /NoRestart
-
Xcopy vs Robocopy
This is news to me: “Xcopy fails with insufficient memory when the path plus filename is longer than 254 characters” Robocopy it is from now on!
-
Windows Server 2008 persistent routes
I can never remember this, so I thought I would blog it route -p add XXX.XXX.XXX.0 mask 255.255.255.0 YYY.YYY.YYY.1 XXX = Network YYY = Gateway
-
Changing NIC order in 2008 R2 SP1
I can never remember how to change the NIC order in 2008 R2. Navigate to “Networking Connections” and then hit “Alt” to bring up the menu. There you can find “Advanced” menu and the “Advanced Settings” option. There has to be an easier way, but that is the only way I know hot to get…
-
xcopy: permissions,recursive,incremental
I can never remember xcopy’s flags, so I am creating a post for myself. xcopy SourceDrivePath DestDrivePath /X /C /E /H /Y /D /X Perms /C continue on error /E Recursive with empty folders /H (hidden and system) Copy hidden and system files /Y (yes) No Prompts /D (date) SourceDate is newer then DestDate (incremental)
