So… you decided to finally configure backup for your servers, and just when you’ve chosen the “backup solution”, troubles start.
What do we need for doing Windows Server backups?
Nothing too fancy – we can use the built-in Windows Server Backup (feature that needs to be installed through Server Manager, PowerShell, …) combined with some location (network share, disk, volume) with enough free space. (yes, we can also use some other backup software, but this is not the topic here)
Let’s say that we have installed Windows Server Backup feature and chosen a network share for our backup location. The one other thing we need on this share are the right permissions for our service account (an account under which the backups will be done – for example, BackupAccount).
So, we go to this share (\\BackupLocation\MyBackups\) and check if our service account has the required permissions:
Everything looks fine (our service account has permissions, folder is shared and accessible from the source server – yes, Windows Firewall is also configured properly ).
We go back to our source server where we configure our backup schedule as a Full Computer backup, once a day, to the backup location previously mentioned, using the service account previously specified for this backup job. Everything goes fine.
Then, just for fun, we try to run our backup schedule (just to see if everything works as it should). We click on the Backup Once option (with Using the previously scheduled… option), and just at the end of this wizard, we receive the following error, saying that our backup destination is not writable (yes, it’s the good old Windows Server 2008 R2, but it really doesn’t matter… the same happens on newer/older versions as well ):
We’ve checked (and double-checked) everything – our share, permissions, Windows Firewall, and “who knows what”, and this wizard still says we cannot write to the backup destination! This must be an issue with the free, out-of-the-box backup solution.
The issue here is that I’m running the Windows Server Backup console as “myself” (i.e. my user, for example, SERVER\tomica) and I don’t really have the required permissions on the backup share (I’m not a member of the local Administrators group on the backup destination and, as you may remember, only our BackupAccount has the required permissions set).
So, is this an issue?
No, not really because our scheduled backup will complete successfully (it will be running under the user account with correct permissions on a backup share).
And, if we really want to make this first backup right now, we can run it from the Task Scheduler console (by checking the “Allow task to be run on demand” checkbox first, for the backup task).
Hope this helps someone with similar problems (it’s kind of a dumb “issue”, but…).
It’s that time of the year again – conference time!
First of the conferences I was at was the KulenDayz 2016 conference. I love KulenDayz! So many nice people, friends, colleagues, MVPs and kids gathering at awesome (and relaxed) sessions, enjoying wonderful nature (and food).
This year I’ve had the honor to speak about Hyper-V best practices – I’ve tried to gather the most of best practices around Hyper-V deployments that I’ve seen/learned/done over the years in an easy 50-minute session. Considering the reactions from the attendees and other speakers, it was a great session! (thank you all!)
As every one of us has hers/his best practices around Hyper-V, I’m expecting your comments, thoughts and corrections… we are all learning from each other!
Session slides have been uploaded to SlideShare:
Big thanks to the organizers for another great KulenDayz experience!!!
Next conference is Mobility Day 2016, which is in about two weeks. I’ll be speaking about something completely different – Citrix XenMobile and NetScaler. Fun times!
This one will be short and sweet.
Imagine you have an Active Directory full of users. You also have a file server in your environment. And, as it happens, each of your users needs to have a folder created just for himself, on this file server. Each folder should have inheritance disabled and each user should get full permissions on his folder.
What do you do?
Well, we can manually create the required folders, or we can use a PowerShell script which will do it for us. Obviously, I’ve chosen PowerShell (maybe not the nicest script in the world, but it does the job), or this post would be… lame.
So, the interesting part of this script goes like this (I've added a few empty lines to make comments more visible):
# get user/folder names from Active Directory (SamAccountName property)
$users = Get-ADUser -Filter * | Select SamAccountName
foreach($user in $users)
$folder = "D:\Share\$user"
# create a (sub)folder for each user
New-Item -Path $folder -Type Directory
# read the current access rules applied to a folder
$acl = Get-Acl -Path $folder
# disable the inheritance, but leave the inherited access rules in place
# add Full access rule for a specific user
$rule = New-Object System.Security.AccessControl.FileSystemAccessRule("$user","FullControl", "ContainerInherit, ObjectInherit", "None", "Allow")
# add this rule to existing ruleset
# and finally, apply the new ruleset to a folder
Set-Acl -Path $folder -AclObject $acl
Are you looking for some great Operations Management Suite (OMS) resources?
Earlier today something great got published – a preview version of a new free e-book on OMS! Book, which is called Inside the Microsoft Operations Management Suite, was authored by four OMS experts – Tao Yang, Stanislav Zhelyazkov, Pete Zerger and Anders Bengtsson.
Haven’t had a chance to read it just yet, but it looks great (total of 430 pages, split in 12 chapters), and can’t wait to start reading it!
- Introduction and Onboarding
- Searching and Presenting OMS Data
- Alert Management
- Configuration Assessment and Change Tracking
- Working with Performance Data
- Process Automation and Desired State Configuration
- Backup and Disaster Recovery
- Security Configuration and Event Analysis
- Analyzing Network Data
- Accessing OMS Data Programmatically
- Custom Management Pack Authoring
- Cross-Platform Management and Automation
You can download this book for free from TechNet Gallery, and if you liked it, don’t forget to leave the 5-star rating (and a comment).
Now I have something to read in this cold winter days (and nights).
Great news coming from Microsoft – we are so close to finally getting the Microsoft Azure Stack preview! But… not this calendar year, unfortunately.
Azure Stack will be a combination of Windows Server 2016, Azure Pack and Azure Service Fabric. Combined together, these components will deliver the new “private cloud” solution (or more precisely hybrid solution because you will be able to expand with “public cloud” resources, if needed), which looks and feels like the “big Azure”. Bottom line is that the experience using Azure Stack or Azure will be identical (i.e. Microsoft brings it’s Azure to our on-premises datacenter). Sounds cool!
Microsoft released a “teaser” with hardware requirements for its Azure Stack, and who better to explain them than Jeffrey Snover himself. Enjoy this short video.
And the best thing of the whole video is that you’ll need only ONE standard server to host the Azure Stack. One to rule them all.
Don’t forget to take a look at the official announcement here (and to purchase additional server if needed, so that you can play with Azure Stack Preview once it gets available).
As the "transition period" from kaniski.info to kaniski.eu slowly comes to its end, I've decided that I will no longer host this blog at *.kaniski.info (and, with that, my @kaniski.info e-mail address will cease to exist).
Note that this blog will remain hosted only at http://blog.kaniski.eu/, and you can still contact me using my @kaniski.eu e-mail address.
There was a barbecue today… on the roof… of the Microsoft office! How cool is that???
I’ve had an honor to join my colleagues and friends, and contribute to this great event with a presentation called “Nano Server – budućnost je tu!”, which was actually inspired by Jeffrey Snover’s Ignite speech about Nano Server – the new installation option in Windows Server 2016.
The whole Nano Server idea is very simple – let’s remove all the “unnecessary” roles and features (especially the famous GUI), and leave only the parts that we really need for whatever purpose (i.e. we’re getting the “purpose built servers”). All the purposes/roles that are supported in this preview version are Hyper-V, File Server and Failover Clustering, and they are working great on this “nano-sized” server operating system (even in this early preview).
I’m really excited about Nano Server, and I’m so glad that I’ve had a chance to talk about it at such great event. Because there were so many questions about it during the day/evening, I’ve noticed that Nano Server is a very cool subject for attendees also. Nice!
The presentation is available on SlideShare – check it, install the Nano Server and start rocking your datacenters!
Hi All – I wanted to let you know about a great free event that Microsoft and the MVPs are putting on, May 14th & 15th. Join Microsoft MVPs from the Americas’ region as they share their knowledge and real-world expertise during a free event, the MVP Virtual Conference.
The MVP Virtual Conference will showcase 95 sessions of content for IT Pros, Developers and Consumer experts designed to help you navigate life in a mobile-first, cloud-first world. Microsoft’s Corporate Vice President of Developer Platform, Steve Guggenheimer, will be on hand to deliver the opening Key Note Address.
Why attend MVP V-Conf? The conference will have 5 tracks, IT Pro English, Dev English, Consumer English, Portuguese mixed sessions & Spanish mixed sessions, there is something for everyone! Learn from the best and brightest MVPs in the tech world today and develop some great skills!
Be sure to register quickly to hold your spot and tell your friends & colleagues.
The conference will be widely covered on social media, you can join the conversation by following @MVPAward and using the hashtag #MVPvConf.
Register now and feel the power of community!
More info can be found here (and if you’re somewhere near, come and say ‘hi’ ). See you in beautiful Umag!
If you have Windows Server vNext Technical Preview installations that are expiring in a day or so, you’ll be pleased to know that Microsoft yesterday addressed this issue and released a patch (as promised). Patch will extend the evaluation period of those installations until the October, 2015.
With the next build just around the corner, maybe you won’t need this patch to last for that long, but… it’s fixed.
Some of us in the MVP community noticed (and finally resolved it, with support from Microsoft people) that the installation of this update on some machines (Hyper-V hosts, in my case) requires that you also (re)activate your Windows installation. If you don’t do it, it may seem that the patch wasn’t applied. Also, remember that this patch needs a reboot or two to be actually “installed”.
Voilà… enjoy your “renewed” Technical Preview (1) machines!