I was facing this error in one of my servers while trying to open gpedit, with additional message “The volume for a file has been externally altered so that the opened file is no longer valid”. Here is how I fixed it. 1) Enable view hidden files from explorer. 2) Navigate to C:\Windows\System32\GroupPolicy\Machine 3)Rename the […]
Fix problems in trusting files from a DFS namespace
So we migrated our fileshare to a DFS namespace and we started facing a lot of problems. One of the most annoying one was, no matter how we trust the source, the powershell scripts from the DFS namspaces were not able to run, as they give warning. Interestingly, problem was that the FQDN of the […]
How to export services and their users into csv
I need to export the services and their ‘run as’ users in a number of servers. This is how I did it. #Ebin Issac 6/3/2018 #This will read a list of servers from a text file, and extract the services which are not run by localsystem, and save into a csv file. Need to be […]
How to export group memberships of Active Directory users into CSV format..
So I started a new job recently, and I am working on a as-is migration. I needed to export the list of AD users and their group memberships into human readable format. So this is how I did it. $users = Get-ADUser -Filter * foreach ($user in $users) { $Groups = (Get-ADPrincipalGroupMembership -Identity $user.SamAccountName | […]
How to fix puppet certificate errors
When we recently took over some client’s infrastructure, we started to get the following error. I just had to renew the cert to fix this. To renew, follow the steps below: 1.Delete the old certificate from client. root@agent1:/etc/puppetlabs/puppet# mv ssl ssl.20171115 2.Delete the old certificate from server. root@ip-172-31-7-177:/home/ubuntu# puppet cert clean agent1.ap-southeast-1.compute.internal //make sure to change the […]
How to export the last login details of all users in a Windows server using Powershell
So one of our clients want to get a monthly report on the last login details of all users in the Windows servers in our environment. So we came up with this powershell script which is scheduled to run end of every month. This will extract the data, and upload them to an S3 bucket. […]
How I managed to get all 3 AWS associate certifications..
You read it right. Today I got my third AWS certification – AWS certified SysOps administrator. I think a lot of it comes from common sense, and some general industry knowledge. I only have less than 2 years of IT experience, and even in that 1.5 years was of just desktop support. Its from my […]
How to select full URL upon click in Firefox..
I use Firefox as my personal browser. Although I sync it, there are some settings which are not synced. So every time I reinstall or change PC, I have to redo them again and again. This is one of those things. After a re install, if I click on the address bar, it wont select […]
How to get a Snapshot report from AWS using Python..
I was not sure if I was making a mistake by leaving Micron for a job in a small company. Anyway I don’t regret the move. In fact I actually love this job so far. It has all the good and bad things of working in a small company. Things are messy there. But.. the […]
Experience on taking AWS Certified Solution Architect – Associate exam
I first heard about this whole Amazon web services thing back in 2015, when I was looking to find a job in IT. I felt that it is a great tool, and decided to study it. I created a trial account, borrowed books from library….and in 1 month, I lost interest and started doing other […]