Tikejhya: Ashish Nepal

Knowledgebase

Category: Windows

pstool psexec remote command

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

PSTOOL PsExec:

#open command prompt of remote machine
PsExec.exe \\local-PCCCC cmd

# Uninstall antivirus program
wmic product where name=”ESET Remote Administrator Agent” call uninstall

Or
#Run uninstallation remotely
PsExec.exe \\local-PCCCC cmd ‘wmic product where name=”ESET Remote Administrator Agent” call uninstall’

Find who is logged in:
query user /server:server-a

or

query user /server:localhost

testing odbc connection

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

isql -v mydsn myusername mypassword

bat script to turn off thunderbird chat

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

@ECHO OFF
C:WINDOWSsystem32findstr “Profiles” “%APPDATA%Thunderbirdprofiles.ini” > “%APPDATA%Thunderbirdtemp.ini”
set /p DUSER=<“%APPDATA%Thunderbirdtemp.ini”
FOR /F “tokens=2 delims=/” %G IN (“%DUSER%”) DO ECHO %G>”%APPDATA%Thunderbirdtemp.ini”
set /p DUSER=<“%APPDATA%Thunderbirdtemp.ini”
echo user_pref(“mail.chat.enabled”, false); >> “%APPDATA%ThunderbirdProfiles%DUSER%prefs.js”

RICHTX32.OCX COMPONENT MISSING

HTTPRecon or HTTP Fingerprinting is a tool developed by computec.ch and modified by w3dt to help return highly accurate identification of given httpd implementations. This is very important within professional vulnerability analysis.

While installation of httprecon i came across this problem.

Problem:
The module “richtx32.ocx” failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The specified module could not be found.

SOLUTION
Copy RichTx32.ocx to the following directory: C:WindowsSysWoW64
Open “Command Prompt” As “Run as Administrator”
At the command prompt, enter: %systemroot%SysWoW64regsvr32.exe RichTx32.ocx

How to Force Proxy Settings Via Group Policy on all browsers

How to Force Proxy Settings Via Group Policy on all browsers

How to Force Proxy Settings Via Group Policy on all browsers
i.e. Google Chrome, firefox , IE

This article describes how to force proxy settings via Group Policy.

Click Start – All programs – Administrative Tools – Group Policy Management.
Create or Edit Group Policy Objects.

[I would recommend doing a new group policy object]

Expand User configuration – Policies – Windows Settings – Internet Explorer Maintenance – Connection.
In right Pane Proxy Settings.

For some security reasons maybe administrator need to prevent end users from change their proxy settings.
You can do it with group policy follow this steps:

Click Start – All programs – Administrative Tools – Group Policy Management.
Create or Edit Group Policy Objects.
Expand Computer Configuration – Administrative Templates – Windows Components - Internet Explorer – Internet Control Panel
In right Pane Disable the Connections page (Enabled)

Now this above given would help you doing for IE, but how to force proxy settings via Group policy on Google Chrome

Google has provided policy tamplate,

http://www.chromium.org/administrators/policy-templates

And so is provided by Firefox aswell.

http://sourceforge.net/projects/firefoxadm

How to add firefox/ google adm templates

Expand the “Computer Configuration” level in the tree. for the Group policy object that you want to edit.
Right-click on “Administrative Templates” and select “Add/Remove Templates”.
Click the “Add”

Windows “Kill Process”

Windows “Kill Process”

taskkill /F /IM thunderbird.exe

Powered by WordPress & Theme by Anders Norén