Showing posts with label windowerrors. Show all posts
Showing posts with label windowerrors. Show all posts

Wednesday, July 28, 2021

HTTPS Connections Slow in IE

HTTPS Connection Slowness in IE


If your website loads quick on IE using HTTP and same is slow while using HTTPS, try below setting and issue will be fixed. 

It happens only when the HTTPS site is being accessed on a machine without internet access and only using IE.

A workaround that i've applied on LAN would be to update IE settings as described below:

Go to IE Options, advanced tab then locate security category and uncheck both “Check for publisher’s certificate revocation” and “Check for server certificate revocation”. 

IE Settings

In order to fix HTTP Slowness try running ipconfig /flushdns, arp -d & ipconfig /registerdns - Wait for some time and give it a try, HTTP Site Load speed would have increased. 



Monday, June 7, 2021

cannot start event log service access denied

Cannot start event log service access denied

Event viewer cannot open the event log access is denied (5)


Issue: 

You are Getting error while opening Event viewer as follows: Event viewer can not open the event log or custom view. Verify that event log service is running or query is too long. Access is denied (5). this error is coming while I open all event logs which are under 'Applications & Service logs' as well as 'Setup' logs under 'Windows logs'. Also half of the log category which are under 'Microsoft>Windows'.

In Windows server 2008 we are not able to start the "Windows Event Log service"

Below is the Error displaying while restarting the service.

Windows could not start the Windows event log service on local computer. Error 5: Access is Denied


Resolution:

GUI Method

Change NTFS permission of  %WINDIR%\System32\WinEvt\Logs directory add Local Service and Network Service, give them FULL access.














Start event viewer service by running following command through elevated CMD (Run as Administrator)

net start eventlog






CLI Method


Run following commands sequentially from elevated cmd (Run As Administrator)

ICACLS C:\Windows\System32\winevt\logs /grant "LOCAL SERVICE:(OI)(CI)(F)" "NETWORK SERVICE:(OI)(CI)(F)"

net start eventlog

If Above doesn't work - One last solution is to backup all log files with extension .evtx to some other location or delete them, backing up them on some other location is smart move. 

Moving all .EVTX Files/all files from c:\windows\system32\winevt\logs Folder to another location in case they are required in future for audit. 

I could start the service once i cleared my LOGS Folder.

Hope this helps.


Thanks.

Monday, April 19, 2021

Restore Active Directory Object Using LDP.EXE

 Restore AD Active Directory User Account using LDAP

 

 

LDAP –

In this example I am going to delete the user account ‘Bill Bob’ and show you how I restored it:


















Open LDP.exe as an administrator








Once open click Connection, click Connect, type your servers name and port. LDAP uses port 636 or 389.










Click Connection, click Bind, and type the Administrator account and password.



















Click Options menu, click Controls.
On 
Load Predefined, select Return deleted objects.

This option will show the Deleted Objects container that is hidden by default.

Press OK


Click View, click Tree, and then select the distinguished name of the domain name.


On the left double click, select DC=plebs,DC=local.
Then expand the 
Deleted Objects container, and find the deleted object (Bill Bob).




Right click on the object, then click Modify.

In the Attribute box, type isDeleted. Under Operation, click Delete, and then click Enter.




















Then type distinguishedName in the Attribute field, then type the original distuiguished name of the user in the Values field, CN=Bill Bob,OU=PlebUsers,DC=plebs,DC=local. You can restore to a different DN location.

Under operation, click Replace, and then click Enter.





















Select the Extended check box, and then click Run.

Now you restored the object it will be in Active Directory.

If you are getting LDP errors such as –

LOperation failed. Error code: 0x57
DAP: error code 12 – Unavailable Critical Extension

Go back into Options and Controls, double click on one of the Active Controls and check it in. Whilst also making sure Load Predefined is set to ‘Returned deleted objects’ then try again. I have experienced random errors at times when there are more than one active control, that took a little playing around in the Controls area to resolve.


















Otherwise if no errors appear – check AD and see if the user is now back in it’s original OU.

However the results aren’t perfect, the account will be stripped of all attributes. The account will need a password and to be re-enabled.










However, NTFS and share permissions will still be intact.











Hope this is helpful!

 

Windows Administrator Level 1 Interview Question & Answers

 Windows Administrator Level 1 Interview Question & Answers What is an active directory?  An Active Directory (AD) is a directory ...