OneDrive – “The Specified View is Invalid” Error

So I had a user whose OneDrive for Business had stopped working in the browser (but worked OK via the sync client). They were receiving this error:

After a long call to Microsoft it seemed the problem was that the default view on the SharePoint list had become corrupt and needed to be removed – problem being that as it was corrupt it wouldn’t let me delete it, and it wouldn’t let me set a different view as default. It was beginning to look like we’d have to open the site in Explorer (so via the old WebDAV) and duplicate all the contents – a very slow process for a large document library.

One of the things suggested was Sharepoint Designer, however when I tried to open the site in the version Microsoft Support directed me to, I was presented with “403 FORBIDDEN403 FORBIDDEN403 FORBIDDEN403 FORBIDDEN403 FORBIDDEN” as the error message. After spending a long time messing with permissions to no avail, it was getting towards hometime so arranged with Microsoft Support to pick it up after the weekend.

A few nights sleep later and I decide to have a try while waiting for them to call me back, and this time stick the Sharepoint Designer error into a search engine to discover – there’s an update to the designer which fixes this issue!
So to solve this you will need Sharepoint Designer 2013 with this update (https://www.microsoft.com/en-gb/download/details.aspx?id=42009), and Site Collection Admin permissions to the site.

From Sharepoint Designer, click on Open Site, then enter the address in the format https://<tenancy>-my.sharepoint.com/personal/<user_login_id>/ e.g. https://contoso-my.sharepoint.com/personal/katy_contoso_com/ then hit Open. With any luck it’ll open the designer:

Click on Lists and Libraries, then Documents. At the right hand side, click on “New…”. Enter a name and tick “Make this the default view”. Once you’ve created this view, switch back to OneDrive in the browser and refresh – hopefully it’s working now. You can then switch back to the designer, select the old views and hit the Delete key.

Powershell Remoting

I recently discovered one of my deployment scripts does not work on Win 10 1809 any more (it ran dism to install the dot Net Framework 3.5 – just errors out) however that the powershell version (Add-WindowsCapability) works fine. Had to get this rolled out to a handful of PCs ASAP in order for a legacy application to successfully run.

As time was of the essence, I ended up running round the 24 PCs like an idiot, logging on and running the command, but I thought “Why don’t I just enable PS Remoting, then I could at least do this from my desk scripted”. Obviously the ideal solution would be to deploy the Netfx3 install via SCCM but PS Remoting will still be handy.

Continue reading “Powershell Remoting”

The Missing PXE Advertisement

Today I had “The Case of the Missing PXE Advertisement” with a PC.

Bit of background – I’ve an OSDeploy device collection which has a zero touch MDT Task Sequence deployed to it, advertised to PXE and Media only, and set to always rerun program. So anything in this collection will automatically get the deployment. Infinite loops are prevented by the “PXE Deployments” flag that is automatically set on computer objects once they have started a PXE deployment. To re-image a PC I just drop it back in the collection and clear the flag.
I’ve also got one which prompts for the computer name, advertised as optional to all Unknown Computers. New kit I boot to this and put the name in and off it goes.

Continue reading “The Missing PXE Advertisement”

Classroom Queue in Papercut MF

We’ve recently switched from Ringdale FollowMe to PaperCut MF and I wanted to bring over our classroom queues. Unfortunately the supplier said this couldn’t be done, so I did some experimenting and worked out how myself.

The idea behind the classroom queue is that a second printer is listed on each PC in the room, so for room 10 the PCs would all show the “PaperCut” printer and also “Room 10”. Print to PaperCut and you use your personal code to release, print to Room 10 and you use the room code. This way a class of 24 pupils can all print their work to the Room 10 queue, then the teacher (or a single pupil) can go and release all 24 documents in one go. Loads quicker than a queue forming at the device.

Continue reading “Classroom Queue in Papercut MF”

Office 365 mailto: Link Handler

I’ve been looking for a way to get mailto: links in websites open in Office 365 (Outlook Web) rather than the full Outlook client – as we have Outlook installed on our network, but unconfigured as everybody uses the web version.

I wrote something about 10 years ago which did this when we had a local Exchange box, although it’s since been lost as it no longer worked when we updated from Exchange 2003 to Exchange 2007. I’ve since written a new one which works with Office 365! Continue reading “Office 365 mailto: Link Handler”

ICON – New Rollercoaster at Blackpool Pleasure Beach

After spending the last 2 and a bit years watching the construction (starting with the demolition of the Tom Sawyer bridge, then then groundworks, footers and the ride buildings and finally the track arriving and going up), Icon opened for VIP rides on 19th May, and opened fully on 25th. It’s the UK’s first double launch coaster, and the total investment is said to be £16.25m. We’re well overdue a new coaster in Blackpool, the last one being the Big One in 1994 (followed by Infusion in 2007 however this was an existing coaster relocated from another park). Continue reading “ICON – New Rollercoaster at Blackpool Pleasure Beach”

Office 365 Automated Signature Generator

I’ve been looking for a while at a way to automate email signatures for everybody using OWA on Office 365. The new layout we want for our signatures includes images and everywhere I’ve read says it’s impossible to embed images in a signature set using Powershell. (Note I want them embedded rather than hotlinked).

The solution I came up with takes details from the Active Directory user account – I’m using the description field to insert the person’s name (to allow things like “Mrs Blah” rather than just outputting firstname surname), fields like title (job title), telephone, mobile and also using a few of the extensionAttributes for the Twitter/Facebook links. All of these are standard fields so no need to mess with the AD schema. Continue reading “Office 365 Automated Signature Generator”

Windows 10, UEFI and PXE booting

I recently set up System Centre Configuration Manager to take over from MDT for imaging PCs. The end result I’m after is that all PCs attempt PXE boot when powered up, and then automatically image if there’s a task deployment waiting for them. (Bonus points is getting wake-on-lan to work with Win 10 so they’ll power themselves up too).

Thought this would be easy – surely just set network as the first boot device – only to discover that part of Windows setup adds “Windows Boot Manager” and sets it as the first device in the boot list, no way to stop it. Continue reading “Windows 10, UEFI and PXE booting”