Friday, December 13, 2013

Error 0x80070002 occurred while verifying known folder


Server is getting a general Warning message speradically a lot. Its a Warning so not a big deal but it does raise concern.
Here is the error:

- System
  - Provider
   [ Name]  Microsoft-Windows-KnownFolders
   [ Guid]  {8939299F-2315-4C5C-9B91-ABB86AA0627D}
   EventID 1002
   Version 0
   Level 3
   Task 0
   Opcode 0
   Keywords 0x8000000000000000
  - TimeCreated
   [ SystemTime]  2013-12-13T05:30:22.504632600Z
   EventRecordID 6590
  - Execution
   [ ProcessID]  10080
   [ ThreadID]  5392
   Channel Microsoft-Windows-Known Folders API Service
   Computer **********************
  - Security
   [ UserID]  S-1-5-18
- EventData
  hrError 0x80070003
  FolderId {B97D20BB-F46A-4C97-BA10-5E3608430854}
  Path C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup 

So yeah a lot of these are happening with various folders.


I was doing some reading and found out that this specific error had to do with some folders missing in a default profile area. One of the readings fixes was, make the missing folders. What a great idea.

There are several easy ways to make the folders:

Use can use the MD, make directory option.

MD "C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"

Windows Explorer
Just go to the folder area and make the missing folder. Make sure you make the full path if more than one folder is missing.

Copy the Default profile on the system.
Every system has a profile that it uses as a template for making a new user profile. So I copied it and pasted it in the missing directory. Note: I did not verify that ALL the missing folders where there. I figured since its a warning, I will wait out the log file and see any othere missing folders show up.

Update: welp that didn't work.. Still getting Error

0x80070002 occurred while verifying known folder {b4bfcc3a-db2c-424c-b029-7fe99a87c641} with path 'C:\Windows\system32\config\systemprofile\Desktop'.

and it does exist.

So i did some more digging and ran across this post,,  about how there are 2 system folders in windows 64 bit.. I totally forgot this. So I copied the folders to the SysWOW64. I am thinking this will fix the issue. We shall see.

Tuesday, December 10, 2013

I want to make a single photo public on facebook.


You are a good Facebook user and you have your photo albums not shared out to the public. Good job. Now you share some of them but not EVERYONE can see them. Maybe just friends or friends of friends.

The Solution:

1. Click your "Photos" on Facebook, OR, click the photo you want to share if it's in front of you already, then go to Step 4 if you just opened the picture.
2. Go to "Your Photos"
3. Find the picture to share to the public
4. Now click the "Edit" link.
5. Now click the link beside "Done Editing" .
Then choose what viewing access you want to give.
6. Click done Editing.

Now the share access has been changed.

Wednesday, December 4, 2013

Windows Command-Line Reference A-Z List (not 2012)


Here is nice little list of commands that can be run on windows from the command line. This applies to: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, and Windows Vista.


Some of the commands only work for specific OS's. Example "Freedisk" is a Vista and Windows server 2008 command. So check before you try and use. 

Give me the info for the people of a group.

I started to get where I wanted to go with a previous post of getting user information so I decided to break down some information.

So I ended up with this nice little chunk of code that gave the members of a group.

The Code
dsquery group -samid "AdminsGroup" | dsget group -members

This gives a decent amount of info, but it's basically unusable for normal readable information.

It gives back information something like this "CN=c-hean,OU=USERS,OU=ESF,OU=EN,OU=BIGOU,DC=STUPIDOMAIN,DC=COM".

So I dug into things a little more and came up with this. Let's use the information from the previous script and add  " | dsget user -display" to get the users information.
Read more about  dsget user by going here.

The Code
dsquery group -samid "AdminsGroup" | dsget group -members | dsget user -display

Now it cleans it up and displays the names of the users instead of the full Distinguished Name, like "Smith, Smith".

There is a lot of other information you can get from your script by just changing a couple of the parameters. So for example if you want First Name, Middle Intial and Last Name just change it to this " -fn -mi -ln" instead of "-display". Now it shows "Bob    R    Smith".

The Code

dsquery group -samid "AdminsGroup" | dsget group -members | dsget user  -fn -mi -ln


Please note somethings that this might give you is an error if one of the "users" is  actually a "group" in the group you searched. You will get something like this "dsget failed:CN=Service Desk,OU=GROUPS,OU=ESF,OU=EN,OU=BIGOU,DC=STUPIDOMAIN,DC=COM".
:The object class of the target does not match the one specified on the command
This tells us that the groups "Service Desk" failed to give us the information you are looking for because it is a "group" not a "user".

I am sure there is a way around this but thats for another time.

Outlook Sort Your Emails by Conversation in Outlook 2010


Image from:
I had come across something recently and had to share it.

If you have Outlook 2010 you can set your folders to be in conversation views. With this view you can see emails that are associated to an email. This not only shows emails from the current folder but ANY folder in your email account.

For example if you have a message come in from someone about something and you had filed the previous email about that topic in a separate folder, for organizational purposes, you will see that other email show as a conversation under that incoming message.

It sounds more difficult than it really it is. It is actually VERY easy to do and VERY easy to undo if you don't like it.

 Check it out.

I would do a whole write up on it but why when others have already. Here is a link to a good write up of it.

Monday, December 2, 2013

Gimme all the Groups and their users


I need a list of  all of the user groups from a system and what users are inside of them.

Now I notice that there are not just users, there are users both local and domain, and also possible other groups. The domain part is interesting. Also the groups in a group poses a problem. It doesn't give me the user.


Well of course there were problems.
a. The servers i needed to talk to are locked down tighter than Uncle Scrooges coin purse. So no getting the information remotely. 

The resolution 1:

Make a script to export this information. I ultimately ended up using VBScript as i usually end up doing for these types of scripts. After some googling and stitching together of some code I ended up with this. It is a script that dumps a tab delimited text file to your desktop of all the groups with their users/groups listed. 

The Code 1:

'Set the var objShell to run shell commands against
Set objShell    = CreateObject("WScript.Shell")

'Set the var userProfilePath using previous shell variable to get the users profile path
userProfilePath = objShell.ExpandEnvironmentStrings("%UserProfile%")

'Set the var wshNetwork to equal the network object
Set wshNetwork  = WScript.CreateObject"WScript.Network" )

'Set the var strComputerName as the computers name using the previous network object var
strComputerName = wshNetwork.ComputerName

'Set where to dump th txt file too.
outFile  = userProfilePath & "\desktop\output1.txt"

'Create the file the "true" flag is there to overwrite the file if it exists.
Set objFile = objFSO.CreateTextFile(outFile,True)

'Create variables to be used later
Dim host
Dim group
Dim member

'Set the host, computer name, to be used to look up the. Since i do not have network access I just use localhost.
host = "localhost"

'Loop through the results of GetObject to get all the "groups"

For Each group In GetObject("WinNT://" & host)

If group.Class = "Group" Then

'Loop through the members of that group to get a list of the members
  For Each member In group.members

'write the computer name, group and its members to the txt file. 
   objFile.Write strComputerName & vbTab & & vbTab & & vbCrLf

'Go to the next member till no more members in that group

'End the if statement if  the group class is not a group class type.
End If

'End the loop of  all the class objects.

Problems #2?

I need the FULL list of users. Lets see if we can get a list of users from the groups of the groups we just pulled from.. umm.. could this turn into an infinite loop?

Info finding:

So after the "For Each member In group.members" i did some digging after finding some other properties i could dig into.

I am using WScript.Echo member.? to get the information.. so like WScript.Echo member.class

class =  the class of the object, such as; user and group

AdsPath = gives the path of the object..
Formatted like: WinNT://pathName/objectName
Example: WinNT://MyComputer21/Bob

Name = the name of the object.. like the name: Bob

Parent = This one gives where the object comes from.. this i want..
Formated like WinNT://location
Example: Domain = WinNT://MICROSOFT
               Machine = WinNT://MyComputer21

Wednesday, October 23, 2013

Speak to Me Adobe Reader

I wonder:

I have a bunch of PDFs to read through and want wondered if there was a adobe reader speaking tool. A tool that will read tome the PDF.


Why yes there is an option. Its built right into the Adobe Reader application.

Steps to activate this feature in Adobe Reader:
  1. Open any pdf file in Adobe Reader
  2. Go to “View” Menu
  3. Click on “Read Out Loud” option
  4. Click on “Activate Read out Loud” option or use Shortcut as Shift+Ctrl+Y
 Once this feature is activated, use following shortcuts for different related tasks;
  1. Read Current Page Only – Shift+Ctrl+V
  2. Read Entire Document – Shift+Ctrl+B
  3. Pause Reading – Shift+Ctrl+C
  4. Stop Reading – Shift+Ctrl+E

Here is where I found the information at:

Tuesday, October 22, 2013

How to find just a folder in Windows 7 Search


I am at a new job and wanted to search there VAST directories and locations for a mentioned folder. Lets say the folder is "SourceSafe".

The resolution:

It was simpler than I thought, unfortunately I couldn't find it anywhere real easily. 

When in the search area input:
type:folder sourcesafe

This type search function allows you to search a type of object and I did some guessing and ran upon it.

Here is a link to help with some other search tips:

Tuesday, September 10, 2013

Jira and javascript Bookmarks


Sounds petty but I hate to pull down the menu in our Jira helpdesk app to log work.


So I thought why not make a bookmark to open the log work option. I love doing this with so that I see all images expanded.. I might put that some day.

The Code:

Well the code ended up like this:

javascript: JobKeyVAL=""; function LoadPlayer() { return"/secure/CreateWorklog!default.jspa?id="+ JobKeyVAL,"_self");};  JobKeyVAL = document.getElementById("key-val").rel; LoadPlayer();

I am only using this on Chrome so if it doesn't work other places, sounds like you have something to figure out.
Drag this link to your bookmark bar to save it:


After you have this on the Bookmark toolbar, open an issue and click the bookmark.

How can I know what is being printed on my Windows 2008 R2


I need to be able to see if people are printing to a certain printer.

The resolution:

After some quick looking I found this webpage.
A wonderful person posted this:

Go to: Server Manager -> Diagnostics -> Event Views -> Applications and Service Logs -> Microsoft -> Windows -> PrintServer -> Operational -> right click on the right side under Actions "Enable Log"

Information found at:

Thursday, June 20, 2013

One Man Projects


I recently took another project management course and brought from it the same thing I have learned about in all the other project management courses I have taken. I can only take the concepts from a project management course and try to apply it to my work style of being one person of a project team that has one person for many roles. That person is the Project Manager, the worker, the resource, and the process manager of the project. All though that is not the only part of a project. There is also stakeholders, and the budget holder, this being mostly my time.


I have asked this question to myself and have been looking into it. I found a small blog that was titled "Project Management in One-Man Project".  It gives some good insight into this question.This blog then lead me to Stack Overflow and that also has some really good information.

This question I feel is going to lead me down a rabbit hole if I am not careful. I need to get some projects done.

Basically I need to spread this out into 4 major areas.

  1. Scope Management
  2. Task Management
  3. Project Management
  4. Communication Management.

The Result:

I guess I need to start implementing some of these ideas and get myself on track.

Friday, May 10, 2013

iPad "not charging" on windows 7 USB port


I pluged my iPad into a laptop usb port on a windows 7 PC and it shows "not charging" where it should show me the charing battery".


A quick search lead me to the this forum post.

  • "An insufficiently-powered USB port will charge an iPad, just slower than a high-powered one. When you plug the USB cable into your laptop the iPad will say "Not Charging." However, when the screen is off it is in fact charging. As soon as you turn the screen on again the battery area will say "Not Charging," too, but again, with the screen off it will charge."

Stuck Pinned Icons


I came in to my computer this morning and noticed that I my pinned Outlook icon on my windows 7 taskbar was in the wrong area. I know a little OCD, but we continue. After trying to move the icon to a better location it would bounce back to where it was. Ok this has to be fixed.


After some searching and investigating I came across several things that might have fixed the issue. Maybe one of them, maybe all of them. Anyways here are some of the interesting things I found.

  • Out of all them this is my favorite.
    • Somehow in Windows 7 icons in your taskbar may stay highlighted for unknown reasons, or maybe known but i just dont know of

      Anyway heres the quick little fix that will most certainly work.

      When you are having this issue then simple hold down SHIFT and RIGHT-CLICK on a icon in your taskbar and they wont stick on highlighting anymore.
I have to run off to a meeting.. i will try and put more here.. sorry if I don't.

Thursday, May 9, 2013

DHCP server settings from a 2003 to a 2008 server


Need to move DHCP server settings from a 2003 server to a 2008 server.


I know there is a way to do this using netsh Will list info on that.

How is it going to work:

Dump the database from old server to a file.
Transfer that file to the new server.
Import the old DB in to the DHCP DB.

The work: 

  •  I used the Microsoft Article ID: 962355
      • Here are the steps I followed them.
        • Export the DHCP database from Windows 2003:

          1.                   On the Windows 2003 DHCP server, navigate to a command prompt

          2.                   Type the following Command: netsh

          3.                   Type the following Command: DHCP

          4.                   Type the following Command: server <\\Name or IP Address>

          5.                   Type the following Command: export c:\w2k3DHCPdb all

          Note You must have local administrator permissions to export the data.

          Import the DHCP database

          1.       Copy the exported DHCP database file to the local hard disk of the Windows Server 2008-based computer.

          2.       Install the DHCP Role on the server.

          3.       Stop the DHCP server service on the server.  To do this, follow these steps:

          a.       Log on to the target DHCP server by using an account that is a member of the local Administrators group.

          b.      Click Start, click Run, type cmd in the Open box, and then click OK.

          c.       At the command prompt, type net stop DHCPserver , and then press ENTER. You receive a "The Microsoft DHCP Server service is stopping. The Microsoft DHCP Server service was stopped successfully" message.

          d.      Type exit, and then press ENTER.

          4.       Delete the DHCP.mdb file under c:\windows\system32\DHCP folder.

          5.       Start the DHCP server service.

          6.       Right-click on the Command Prompt (cmd) and select run as administrator, to open the cmd prompt using elevated privileges.

          Note You must have local administrator permissions to import the data.

          7.       Type the following Command: netsh

          8.       Type the following Command: DHCP

          9.       Type the following Command: server <\\Name or IP Address>

          10.   Type the following Command: import c:\w2k3DHCPdb

          11.   Restart DHCP and verify the database has moved over properly.  
    • To verify the new server worked, after the old server was off, I released my DHCP lease.
      • cmd (with admin privileges)
        • ipconfig /release
    • Then I renewed the IP Address
      • cmd (with admin privileges)
        • ipconfig /renew
    • Now I made sure the new DHCP server was there.
      • cmd (with admin privileges)
        • ipconfig /all
          • Look for the DHCP server that gave the new lease.

The Result

The longest part of this job was building up the new server. This was a cake job after getting all the steps in front of me.

Tuesday, May 7, 2013

Update UCS Software with Kbox


I need to update the UCS Outlook Connector with the latest version.


Use the Kbox 1000 to do it.

How is it going to work:

My thought is
  • Use the "Managed Installations" in the "Distribution" area
  • Use a smart label to get the systems that need the newest installation
    • based off the specific UCS software installed on the system.
  • The install of the new software must be installed when Outlook is closed.

The work:

  • Failure can't use a software smart label for a distribution.Made a smart label:
    • Name:
      • SoftwareUCS-
    • Item Type:
      • Software
    • sql:
  • Make a smart machine label
    • Name
      • MachinesWithUcs7.2.1.520
    • Item Type
      • Machine
    • SQL
    • The smart label is not acting correctly
      • I test the smart label works in testing
        • it shows the machines that are suppose to be listed.
    • It was working correctly. I guess a Smart label doesn't update till the computer checks in and attaches that smart label to itself. Weird way of doing it, seeing I don't think I have seen smart labels act like this before. 
    • I forced an checkin for the machines and it did populate the smart label.

The Result

This is a simple msi install script that uses smart labels to choose what system to run the script on. It is up and working.