Preheat oven to 375 degrees Fahrenheit. Lightly spray a 9x13-inch pan with cooking spray.
Chop the cooked bacon and save 1/4 cup for the top of the potatoes.
In a large bowl, combine cream cheese, sour cream, 2 cups shredded cheese, cooked chopped bacon, ranch powder, onion powder, and salt and pepper. Mix together until combined.
Stir in the frozen shredded hash brown potatoes and mix well. Spoon into the prepared pan.
Sprinkle the shredded cheese on top of the potatoes. Cover with foil and bake for 40 minutes. Remove the foil then bake for an additional 5 minutes or until the cheese is melted and bubbly.
Garnish with the 1/4 cup reserved chopped bacon, chopped green onions, or chopped parsley if you desire.