Archive for the ‘Software’ Category

Can’t edit Programmatic Trust Center

October 25, 2016

If you have a third party  app that interacts with Outlook (such as Encore) and when it requests access you get prompted by Outlook.

For most of the time you can give access either one off or from 1 to 10 minutes at a time but if you need to just drop the prompts (and bear in mind the reason they put this in was for security reasons!) then follow these registry tweaks to allow access WITHOUT prompts.

You’ve been warned re the security so on with the show;

Open the registry  editor and navigate to;

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\XX.X\Outlook\Security

You’ll most likely need to create these entries and change their values to 2 for AutoApprove;
Dword: PromptOOMSend
Value: 2
Dword: PromptOOMAddressBookAccess
value: 2
Dword : PromptOOMAddressInformationAccess
Value: 2
Dword: PromptOOMMeetingTaskRequestResponse
Value: 2
Dword: PromptOOMSaveAs
Value: 2
Dword: PromptOOMFormulaAccess
Value: 2
Dword: PromptSimpleMAPISend
Value: 2
Dword: PromptSimpleMAPINameResolve
Value: 2
Dword: PromptSimpleMAPIOpenMessage
Value : 2

You will won’t be able to edit the options but it won’t prompt you anymore…

 

 

 

Credit :

HARVEYY [https://social.technet.microsoft.com/profile/harveyy%20-%20msft/?ws=usercard-mini]

https://social.technet.microsoft.com/Forums/office/en-US/e2c89fec-beb3-4224-a6cb-112704406907/cannot-change-programmatic-access-security?forum=outlook

Advertisements

Office files won’t open from a shared drive but DO if copied locally

February 1, 2016

Weird would be a good word here…

Anyway long story short (as always) it was caused by corruption in the OFFICE profile – location found below.

Just rename the office folder – of course making sure you don’t have any office apps open at the time.

  • Rename %APPDATA%\Local\Microsoft\Office to something like Office.old.

Open Word (or Excel, etc.) by it’s self (not loading a file) and then close the application.

Then go open that pesky network file and it should fix it.

 

Symantec Endpoint DB /Log file out of control?

January 29, 2015

So I had a log file that was 98GB.
I found a forum post from Symantec giving a download for a file that would compress the db/log but in order to run that app you had to have lots of space on your drive!
So what happens if I ‘m running out of space and I need more? Tough, you can’t set a different cache folder that the compression tool works with. Wonderful.

Instead, just run through the process of backing up the DB. There is a DB backup app under tools in the Symantec programs location. What does that do? Well for starters is just clears the log file… Oh yeah.

Or you can do this;

  • Stop the Symantec Services.
  • Go to C:\Program Files\Symantec\Symantec Protection Center\db and delete (or if you have space then copy this off somewhere or zip it) the sem5.log.
  • Start the Symantec Services.

Simple fix I thought.

Microsoft LLDP woes

December 22, 2014

One of the stranger problems I have come across.
When I boot up the PC neither Wifi nor Ethernet work. they connect ok but have no IP address.
I ruled out Hardware issues as well as router/DHCP issues so it comes down to Windows and more narrowly to Microsoft LLDP protocol driver.
When I enabled this and disabled it the NIC came back to life. Weird huh? If I reboot the problem comes back…
Anyway as a short term fix I created a script to fix this issue;

Echo off
cd \it\nvspbind
nvspbind “Ethernet” /e ms_lldp
Echo Recalibrating…
ping -n 5 -w 1000 127.0.0.1 > nul
nvspbind “Ethernet” /d ms_lldp

Now you will need to download NVSPBIND from Microsoft to do this but it’s worth it and I can confirm it does work.

Download it here; https://gallery.technet.microsoft.com/Hyper-V-Network-VSP-Bind-cf937850

When you download it, it will give you all the arguments you can add.

My example above is on a network device called Ethernet and I put a little “wait” command in there (which is the ping!) then disabled it again. Also I downloaded NVSPBIND to a folder called c:\IT\NVSPBIND.
This worked like a charm for me.

Windows Error Reporting (aka Space hog)

June 24, 2014

I had a server with critically low space on the OS partition. During my investigation into what was taking it all I can across Windows Error Reporting, or WER for short.
Located here;
C:\ProgramData\Microsoft\WER\ReportQueue
I found I had gigabytes of data there, and this is in essence for Microsoft’s benefit. They sign you up by default.
So not only can you delete anything under that folder but you can also turn it off;
Open Server Manager and scroll right to the bottom under Resources and Support. Right there, is an entry “Report issues to Microsoft and get solutions… blah blah”. Well turn that puppy off and it will no longer build up tons of data on your OS partition.

Install OSX media to a flash disk or other device.

April 4, 2014

Had a friend of an old colleague drop his mac and damage the HD. I managed to recover most of the data using Spinrite but of course needed to get a new drive in there.

I downloaded Mavericks from the app store on my mac and then plugged in a spare drive and started down the road of installing mavericks on that drive. Well it then said, Oh yeah I’m going to reboot your mac and start installing Mavericks to that drive. My initial thought was, woa woa woa, hold on there. Why do you need to do that when it’s an external drive and I’m not going to take the risk it’s going to mess with my current drive on my machine!

So I found a command line that does it for you 🙂 Here’s the link I found – http://osxdaily.com/2013/10/23/create-os-x-mavericks-install-drive/

and here’s the script; (make sure you change /Volumes/untitled to the correct name of the drive you want to install to)

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia –volume /Volumes/untitled –applicationpath /Applications/Install\ OS\ X\ Mavericks.app –nointeraction

Windows Firewall won’t start

November 16, 2013

Specifically with an Access Denied response in the Event Log.
Strange as this sounds, the “service user” doesn’t have access to start the firewall.
To fix do this;

  1. In Registry Editor, browse to the key HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess
  2. Right click SharedAccess, and click Permissions.
  3. Click Add.
  4. In the “Enter the object names to select” field, type “NT SERVICE\mpssvc”. Then click Check Names. The name should change to MpsSvc
  5. Click OK.
  6. Select Full Control in the Allow column.
  7. Click OK.

Full props go to this website where I found the solution – http://www.kentoyer.com/2012/01/15/windows-7-firewall-service-wont-start/

Cryptsvc woes

February 26, 2013

Had a weird bug with a Windows 7 computer. All of a sudden it was sluggish and became unresponsive. I found that it all boiled down to a Windows update problem and in the key was the Crytographic service i.e. CRYPTSVC.
Long story short the Windows update folder (one of?) had gotten corrupted and caused various services to, well, fail.
The fix is below;

  • Try to stop the cryptsvc service, either through the services MMC or….
  • Run CMD as admin
  • then type; net stop cryptsvc

If that doesn’t work (it didn’t for me – just said it was stopping and left it at that) then disabled the service and restart.
Ah ha that didn’t work either did it? Stoopid Windows overriding our commands! So this is how to KILL that process…mwahaha!

  • Again open a command prompt as admin.
  • type : sc queryex cryptsvc
  • Find the PID #
  • then type : taskkill /PID xx /F (where xx is your PID #)
  • This should do the task of killing your process.
  • NOW what you do is rename the offending corrupted folder;
  • ren c:\windows\system32\catroot2 c:\windows\system32\catroot2_corrupt

What I did then was to restart the computer and let Windows update it’s self. Dont’ forget to re-enable the services that you may have disabled though!

Moving Outlook Folders

February 20, 2013

Wow – I had a client with, hmm, maybe 300 folders all on the root of a PST file. When I moved them to Office365 they had an Archive option with UNLIMITED space! Woohoo! So now to move those 300 folders to the Archive…. Boooo!

At first I was moving one folder at a time because as you may know, you can’t group move or copy folders that aren’t already within a folder themselves. This process was going to take about a week I would guess.
So it struck me that if I move each folder on the PST to another root folder on the SAME PST the move should be instant as it’s not copying data, it’s just changing the pointer of where the data should be inside the PST. So then all I need to do once they are all under one folder is move that root folder to the online archive.

But wait Mr Tipster dude, you have already started copying the folders on the new online archive right?

Oh yes dear reader I did, but the same proces works for the online archive. I just call the folders different names and then when the new PST root folder copied to the online archive, I just did the reverse and moved the folders to where I needed instantly – remember because now that the data is there it’s just a pointer change.

Confused? I know I can sound garbled… so here’s a break down;

BEFORE

LOCAL PST

  • folder4
  • folder5
  • folder6
  • etc

ONLINE ARCHIVE

  • brand new archive folder
    • folder1
    • folder2
    • folder3
    • etc

MID-PROCESS

LOCAL PST

  • new root folder
    • folder4
    • folder5
    • folder6
    • etc

ONLINE ARCHIVE

  • brand new archive folder
    • folder1
    • folder2
    • folder3
    • etc

AFTER

LOCAL PST

ONLINE ARCHIVE

  • brand new archive folder

    • folder1
    • folder2
    • folder3
    • etc
  • new root folder
    • folder4
    • folder5
    • folder6
    • etc

So then all I needed to do was to drag the folders within the ONLINE ARCHIVE folder “new root folder” to the other root folder “brand new archive folder” and hey presto!

Still confused? Go have a drink 🙂