Thursday, October 18, 2012

LOGOFF Remote users and administrators XP, Win 7, and Server


XP, Win 7: 
Somebody will ask to logoff users in worksations, well we are here with psexec, but as a preview for the psshutdown tool, this script forces the remote opened applications to close and proceeds with the logoff of the console user:

>psshutdown \\remotepc -f -o


Server: 



C:\Administrator>psexec \\192.168.0.2 -u testing\administrator cmd

PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com

Password: ********

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\WINDOWS\system32>query session

SESSIONNAME USERNAME ID STATE TYPE DEVICE
>console Administrator 0 Active wdcon
rdp-tcp 65536 Listen rdpwd
rdp-tcp#4 Spiderman 1 Active rdpwd
rdp-tcp#5 Superman 2 Active rdpwd

C:\WINDOWS\system32>logoff 1

C:\WINDOWS\system32>logoff 2

And here you have the LAB, clic the image to enlarge:

Windows 2008 Server - Missing Performance Counters


Today, I noticed that most of the usual performance counters were not available in perfmon. When I started perfmon and selected "Performance Monitor" in the TreeView on the left hand side I got blank chart
After some more investigation I found the following knowledge base article:

How to manually rebuild Performance Counter Library values. Article ID: (KB)300956


This article is originally related to Windows Server 2003 and Windows 2000, but I tried the part which is listed under Rebuilding all Performance Counters worked for me. Just open a Command Prompt running under administrator rights and do the following:
C:> cd windows\system32
C:\Windows\System32> lodctr /R
After that all Performance Counters were available again!
Hope this helps anybody else too

works fine in my server now with all counters. 

Wednesday, October 17, 2012

Serious problem after uninstalling IE8 "The ordinal 681 could not be located...




I have searched for this about 3 hrs, and i do all what you do

theres 1 thing you should do again but you need another iertutil.dll


download this 
http://www.mediafire.com/?czcg8stvycskxdo

and paste it to

c:\windows\system32 folder

if theres a error or something pop out do this

navigate to your sytem32 folder by using the taskmanager
rename the IERTUTIL.DLL to IERTUTIL.DLL.OFF and again
paste the file. then restart the COMPUTER :D

works on me :D


original post: http://www.xp-vista.com/other/how-to-unregister-dll-files