Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

Friday 13 January 2017

How to delete windows users profile from registry?

Or, Deleting users profile from registry settings.
Or, Users Profiles registry path/location.
Or, Deleting temp profiles from registry.

Descriptions: This very common issue with windows user’s profiles that, sometime even if you delete them from C:\ drive, they still exist in registry entries. This also leads to temp profile creation of the affected users at every logon.  In many cases, temp profile becomes show stopper... It may not let you browse things properly, may encounter error while or after document savings etc...

In this kind of situation, most of the tech guys, delete user’s profiles from windows. Deleting temp profiles are required to be done at least at two level to make sure it is completely removed.

1. C:\ Drive’s Users Profiles folder and
2. Registry

Paths References:

C:\ Drive: “C:\Users











Registry:  “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”





Steps: Deleting Users profiles from Windows C:\ Drive

Go to path “C:\Users” > Delete the User Profiles you want (in my case Techies_Sphere).










Steps: Deleting User Profile from Registry

Go to Run > Type Regedit > Press Enter > Navigate to registry path: “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”  > Check the keys entries one by one and looks for your user name > I found the techies_Sphere as shown in below screenshot > Delete complete Key folder(s-1-s-21-xxxxxx-xxxx-xxxxx) associated with your problematic user.













That’s it. You are done.

Cheers, if you have any query or feedback on this, please write me back...

Saturday 27 August 2016

Windows Time Service error 1290 – Windows Server 2008

Or, The Windows Time service failed to start due to the following error: Event ID 7000
Or, System error 1290 has occurred (Windows Time Service – Windows Server 2008)
Error Event in detail:
Log Name:             System
Source:                  Service Control Manager
Date:                     8/27/2016 9:33:13 AM
Event ID:               7000
Task Category:       None
Level:                     Error
Keywords:              Classic
User:                      N/A
Description:
The Windows Time service failed to start due to the following error:
The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.

Error Message when you try to start the Windows Time Service using services.msc.
System error 1290 has occurred.
The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.

Solution (Worked for me):
Just run the below commands on elevated command prompt and that’s it.

w32tm /register
sc config w32time type= own














Please start the Windows Time Service Manually after the command gets completed successfully.

Friday 12 August 2016

How to export active directory users list without any additional tool, powershell or script?

Or, The easiest and the coolest way of exporting All AD users list to csv file.
Or, Getting list of all AD users using active directory GUI interface and exporting them to csv/txt file.
Or, How to export AD users list to a txt or csv file?

Descriptions:
I don’t know why Microsoft does not highlight these kind of features well to the techies across the world. Trust me, it has been too late if you really don’t know “you can export AD users, Computers, Groups, Disabled AD Users etc.. without any additional tool”. Yes, I am right, without any additional tool you can have such reports exported to a CSV or TXT file using Active Directory Query feature.

I am not surprised, if you are thinking where the hell this “Active Directory Query” features is and how to use this? Same thing runs in to my mind when I come to know about this feature for the first time. :)

Guys, have you noticed “Saved Query”, a small folder under “Active Directory Users and Computers”  tree when you open “Active Directory Users and Computers” management console either by opening it directly from Server Manager or by using “dsa.msc” from your local computer?

No??? Okay, No problem at all. Let me explain little bit about this.

What is this “saved query” folder for under “Active Directory Users and Computers” management console?
This folder is the one which contains the saved queries when you use any active directory based query to get Active Directory objects reports using GUI feature of Active Directory Query tool. From here, you can generate many kind of reports, let me say it most of the available reports in AD.

How to use this?
There is no scripting, programming or Powershell expertise required for performing this task. If you have basic idea about AD objects, you can perform these steps easily.

Warning:  If you are not sure about any feature or query you are selecting/executing, better you consult your seniors before going ahead. Proceed with further steps only if you understand the steps to avoid any accidents else ignore this.

Steps:
Open Active Directory Users and Computers Console > Right Click on “Saved Query” Folder













Click on New > Query



















Give any friendly name > Make sure your domain in selected under Query root section > Make sure “Include subcontainers” is checked > Click on “Define Query”.
























From the Find drop down menu, Select “Custom Search















Click on “Field















Choose the field you wish (in my case, Let’s take “User” field) > Choose “Display Name” in the sub-fields window
























Make sure the first blank box is containing the field you selected (in our case, its Display Name) > in the value field, please put a single star (*) > Click on OK















You should be able to see the Query String section like as highlighted in below screenshot > Click OK























Wow...!!! here you have the list of all AD users of your domain.
















To export them to a txt or csv file, right click on your query that you created (in my case its AllUsersMyDomain) > Click on Export List






















Browse the computer location where you wish to save this file > Select the desired file format > Click on Save.


















That’s it Guys… want to explore more on this query tool? Just follow the same steps and select any other custom field.

Cheers, please write me back if you have any query or feedback about this article. 

Monday 4 July 2016

How to recover BitLocker encrypted drive using MBAM Server?

Or, MS BitLocker recover process using MBAM (Microsoft BitLocker Administration and Monitoring) server console.
Or, MBAM BitLocker recover process.

Steps (On Client Side):
1. When you are on the BitLocker recover screen, Note down the 8 digit code  mentioned as Key ID.













Steps (Server Side):
1. Go to drive recover option.













2. Enter all the required details e.g. User ID, Domain Name, 8 digit key that you noted in step-1, and the reason of recovery > Click on Submit button













3. Now you have the Drive Recovery Key > Enter this drive recovery key information on the Client screen key box appears in step-1 (client side) and you are done with recovery.
















Cheers. Please write me back if you have any query or feedback on this.

Saturday 2 July 2016

How to increase Disk/Drive space of a running Virtual Machine, in VMware?

Or, How to increase Drive space of a Virtual Machine in VMware without Reboot/Restart?
Or, How to extend/increase Disk size in windows computers?

Scenario: This is common situation for every system administrator. Here in my case, Drive E:\ of one of the server is running with low disk space and I want to increase the Disk space of affected drive but don’t want to reboot my server anyways.


Below is the screenshot of the situation (E:\ drive running with low disk space).










Steps (Resolution):
1. Login to vSphere Client > Right Click on the VM you want > Go to Edit Settings














2. Select the Virtual Disk which is running with Low Disk Space > Increase the Provisioned Size value to maximum capacity you want to add in the exiting Disk space



















Now Login to the machine and extend the drive space by using Disk Management Console:
3. Go to RUN > type diskmgmt.msc > Hit Enter













4. If not able to see the unallocated space in front of the drive you have increased capacity for, Click in Refresh button as shown in below screenshot.













5. After Clicking on Refresh button, you will be able to see the unallocated space like shown in below screenshot.








6. Right Click on the used capacity area of the disk > Click on Extend Volume











7. Click Next





















8. Select the total Disk Space > Click Next




















9. Click Finish




















Result Verification:
10. Explore Computer > You will be able to see the increased disk space has been added in the drive.










Cheers, please write me back if you have any query of feedback on this.

Friday 1 July 2016

Upgrading Symantec Endpoint protection Manager 12.1 RU6 MP4 to 12.1 RU6 MP5

Or, How to upgrade Symantec Endpoint Protection Manager Server?
Or, Step by step Upgrade guide for Symantec Endpoint Protection Manager (SEPM).

Descriptions: This article will guide you through “How to upgrade the Symantec Endpoint Protection Manager” and what all the prerequisites you should be having before proceeding to upgrade your SEPM server.  Upgrading SEPM is not just about upgrading the Server; you will have to upgrade the SEP clients as well. This is well explained in my other article “How to auto upgrade Symantec clients after upgrading SEPM Server?”…


Prerequisites:
1. Download RU6 version from below Symantec URL (better to download full version):











2. If you are running this SEPM server on Virtual Machine, please take a snapshot (http://www.techiessphere.com/2016/06/how-to-take-vms-snapshot-and-restore-vm.html ).
If using on physical machine, please take backup of following files before you start with SEPM upgrade:

C:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\apache\conf











3. You can pick any of the latest file from below path:
C:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\Server Private Key Backup








4. You can pick any of the latest Backup File from below path:
C:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\backup








5. Overview of prerequisites (you must have with you), have a look:








Upgrade Steps:
1. Open Services.msc (go to RUN > type Services.msc > Hit Enter).
















2. First Stop, Symantec Endpoint protection Manager Service, then stop all other SEPM related Services.








3. Now Run the Setup.exe (do Run as Administrator) of latest downloaded SEPM Installation Package.













4. Click Yes, If UAC prompted.















5. Click on “Install Symantec Endpoint Protection



















6. Click Next

















7. Click Next

















8. Check on “I accept the terms in the license agreement” > Click Next

















9. Click Next (if you want to take Database Backup again, you can do it from here as well).

















10. Click Next

















11. Wait for the Installation to be completed, this may take several minutes.
















12. Click Next

















13. Click Next


















14. Check on “Run LiveUpdate during upgrade” > Click Next


















15. Wait for the Server Upgrade Process to be completed.


















16. Click Next


















17. Once the Upgrade Completed, you will be able to see the below “Upgrade Succeeded” windows        > Click on Finish


















18. Launch Your SEPM Server Console > Login with your ID and Password to see if everything is working fine.






















19. If you login to the SEPM server console just after completing the Upgrade, the AV client update status will be appearing like below.










IMP Note: The Second stage is to schedule automatic upgrade of all SEP agents across the organization. You can check this below article to know how to schedule automatic update all SEP agent across the organization (This is must to do activity after upgrading SEPM server).

Article: How to Deploy Auto Upgrade of Symantec Endpoint Clients?)

Cheers! Let me know if you have any query of feedback on this.