Quantcast
Channel: Sysinternals Forums
Viewing all 10386 articles
Browse latest View live

PsTools : Can PSExec ports be modified instead of 139,445??

$
0
0
Author: Tecnico
Subject: Can PSExec ports be modified instead of 139,445??
Posted: 04 May 2017 at 7:27pm

Hi Pinaki,

TCP 139 y 445 y UDP 137 y 138


Smile

PsTools : Install scripts&computers

$
0
0
Author: Tecnico
Subject: Install scripts&computers
Posted: 04 May 2017 at 7:40pm

Can somebody help me? Ermm

PsTools : MSI installation works differently using PSEXEC

$
0
0
Author: sathish2
Subject: MSI installation works differently using PSEXEC
Posted: 04 May 2017 at 8:31pm

I have an msi which when I run using msiexec inside the server, it works fine as expected. But the same when I run using PSEXEC utility from remote machine, it works differently, though it shows it ran success. 

To be specific about the problem, the msi is created using MS Build using Jenkins. The package itself was created using WXS project. This WXS project has some conditional registry settings along with non-conditional registry settings. When I run this msi using msiexec from the server, it runs perfect with all the registry settings being loaded properly. The same msi when I deploy using PSEXEC from the remote machine, it does not reflect those conditional registries (the non-conditional registry settings are being loaded properly though).

The command that I use to execute the PSEXEC are follows:

psexec.exe -h /accepteula -u <username> -p <password> \\<servername> -w "<folder where my msi resides" cmd /c "msiexec /i <filename.msi>"

The user has administrator access on both the source and the target server.

Appreciate, if someone could help me find out the issue.

Miscellaneous Utilities : du.exe only work with English-named directories?

$
0
0
Author: vitalyoff
Subject: du.exe only work with English-named directories?
Posted: 05 May 2017 at 9:52am

Here's the example that produces du.exe when trying to count with Cyrillic directory names. Is it possible to support not only English? Oh please!

C:\Users\eadmin>chcp 1251
Active code page: 1251

C:\Users\eadmin>Q:\Engine\du64.exe -nobanner -l 1 \\pcfs\o\aref
      38 613  \\pcfs\o\aref\acq
   1 177 687  \\pcfs\o\aref\archive
           8  \\pcfs\o\aref\bat
         864  \\pcfs\o\aref\clear
          72  \\pcfs\o\aref\Diners
           8  \\pcfs\o\aref\Firms
         694  \\pcfs\o\aref\rassilka
           0  \\pcfs\o\aref\SUXX
      14 501  \\pcfs\o\aref\XL
         712  \\pcfs\o\aref\?????? ???? ????? ???
       3 570 
\\pcfs\o\aref\???????? ???.???
          99 
\\pcfs\o\aref\???????
         711 
\\pcfs\o\aref\???????
         437 
\\pcfs\o\aref\???????? ?????_????_???????????
         408 
\\pcfs\o\aref\????? ???
      13 449 
\\pcfs\o\aref\????????
       2 273 
\\pcfs\o\aref\????????
         723 
\\pcfs\o\aref\?.????? ????? ???
          23 
\\pcfs\o\aref\??????????? 2004
          57 
\\pcfs\o\aref\???????
          69 
\\pcfs\o\aref\??????
       1 148 
\\pcfs\o\aref\??????? ??? ???????????
         129 
\\pcfs\o\aref\???????????
       1 088 
\\pcfs\o\aref\??????????? ?????
         111 
\\pcfs\o\aref\??????????? 10-??
         280 
\\pcfs\o\aref\??????????? 100-??
         911 
\\pcfs\o\aref\??????????? ?????????????
      20 305 
\\pcfs\o\aref\?????????
Files:        2825
Directories:  1696
Size:         1 309 770 607 bytes
Size on disk: 1 323 155 456 bytes

BgInfo : Not Working Correctly on Windows 10

$
0
0
Author: cantoris
Subject: Not Working Correctly on Windows 10
Posted: 05 May 2017 at 1:54pm

PLEASE fix this problem - it's affecting our Windows 7 laptops...

BgInfo : Not Working Correctly on Windows 10

$
0
0
Author: KhunRoger
Subject: Not Working Correctly on Windows 10
Posted: 05 May 2017 at 2:29pm

Originally posted by KhunRoger KhunRoger wrote:

[QUOTE=WindowsStar] <snip>

So it looks like whatever BGinfo outputs as a desktop background gets modified by the oh-so-helpful Windows 10 to take into account the 150% customized text size and reduces it by a third. I'll still keep playing with it to see if I can make it work.

I've come across a similar problem with an old DOS program that I still use called "cmdow.exe". It allows windows to be resized, moved, hidden, maximized, minimized, made on top, not on top, etc. Some anti-virus software report it as malware. But I found that in Windows 10, when I specify the size of a window in pixels, I have to reduce the numbers by 1/3 to allow for the 150% customized text size. Windows then increases the sizes by 50% and the window goes where I want it to go.

If only it was so simple a fix in BGinfo. Cry 



I've found a work-around. Thumbs Up

The clue was in the "Display Settings": whenever the "Change the size of text, apps, and other items" was anything other than 100%, the other program I use a lot - "cmdow.exe", mentioned in my other post quoted above - also didn't work correctly.

So the fix is to reset your text size to 100%, run BGinfo, and then set the text size back again to what you want.

This works manually, but I want it to work every time I start the PC so that I get new BGinfo data on the screen.

So I need a way to change the text size from within a command file. It's either that or run an AutoHotKey macro to do what I just did manually, i.e. by simulating mouse movements and button clicks.

PsTools : Unable to download pstools

$
0
0
Author: Tecnico
Subject: Unable to download pstools
Posted: 05 May 2017 at 6:53pm

Read private Smile

Troubleshooting : Please help analyzing minidump


Miscellaneous Utilities : Autologon doesn't work on new Windows 10

$
0
0
Author: Syncopator
Subject: Autologon doesn't work on new Windows 10
Posted: 06 May 2017 at 4:22pm

I had Autologon installed on my previous version of Windows 10.  I simply downloaded it and clicked on its icon and it worked.
Now, on this newly installed Windows 10, when I click on the Autologon exe file, it asks for a Username, a Domain, and a Password.  I don´t understand.

What, exactly, am I supposed to put in "Domain", and why do I need a password?

Miscellaneous Utilities : Exit code from procdump

$
0
0
Author: chfid
Subject: Exit code from procdump
Posted: 08 May 2017 at 12:30pm

How can I get the exit code from my console program when running it with procdump, e.g. in a Jenkins environment?
All that I get is a -998, regardless whether my program succeeded or not.

Internals : SystemHandleInformation restricted

$
0
0
Author: dfatsi
Subject: SystemHandleInformation restricted
Posted: 08 May 2017 at 5:08pm

Hello,

Is there any answer to this?  I had the same question, searching google this came up, but not helpful without an answer.

You can pass the ushort handle given (typecast to HANDLE) to duplicate handle and it works, yet only a ushort value?

TIA!!



Miscellaneous Utilities : Desktops + Windows 7 hotkeys

$
0
0
Author: Furia
Subject: Desktops + Windows 7 hotkeys
Posted: 08 May 2017 at 7:41pm

I've used Desktops for nearly a decade on WinXP, but alas, having to keep up with the times I finally decided to upgrade to Windows 7 this weekend. Unfortunately there's an issue with Win+X hotkeys, which I've always been using - apparently Win+(1-4) is now assigned to run one of the first four pinned applications from the taskbar.

I've managed to find a solution with the DisabledHotKeys registry entry, so now when I run desktops - it allows me to assign Win+(1-4) as the desktop switcher hotkey, BUT there's a bug in Desktops:

Additional desktop sessions opened by Desktops do not respect the DisabledHotKeys registry entry!
So on Desktop 1 everything works fine, but on 2-4 the hotkeys run apps from the taskbar as in default settings.

Please help!

Miscellaneous Utilities : CoreInfo

$
0
0
Author: beachnj2010
Subject: CoreInfo
Posted: 09 May 2017 at 12:44pm

Hi,
 
I'm trying to validate if our ProLiant DL360 G7's have their "Hyperthreading" Disabled in the bios. We are running BGinfo and it says  (Hyper-Threaded) next to CPU. I have asked the Data center folks to go into the bios and set this to "Disabled". The data center folks said the task is completed, however the BGinfo still says (Hyper-Threaded). I downloaded the coreinfo util and ran it and attached the txt results to the zip file attached here. uploads/52145/CoreInfo.zip
 
Can someone validate/confirm its still set to  (Hyper-Threaded)? or is there a bug and the datacenter folks are correct?
 
If you can help me with some solid data, that be helpful.
 
Thanks
 
Paul

PsTools : start remote windows service

$
0
0
Author: MarioMiranda
Subject: start remote windows service
Posted: 09 May 2017 at 3:17pm

Hello, i'm new on pstool and I need help to create a monitoring tool.
I just need to start windows services (on differents pc's) complying with 2 requirements:
-Start up type different to "manual"
-Status different to "stopped"
(Because when me or someone else it's doing a scheduled works, we set these configs and the idea it's the script recognize this and don't screw up the current work)

Additional information:
These services have similar name with the PC, for example:
Servers:
ServerNº101
ServerNº103
ServerNº108

Services: 
ServiceNº101a, ServiceNº101b, ServiceNº101c
ServiceNº103a, ServiceNº103b, ServiceNº103c
ServiceNº108a, ServiceNº108b, ServiceNº108c

At the moment I only achieved to create a locally batch file and run every 20mins with "taskschd.msc" (but not even detecting the startup type):
FOR %%a IN (%Svcs%) DO (SC query %%a | FIND /i "RUNNING" IF ERRORLEVEL 1 SC start %%a)

I want to use a dedicated machine (that use an network admin account) to show the status of all of this machines, for example: 
-Running OK = if the status of the 3 services its running normal
-Stopped = if some of the services have problems and the script be able to start automatically
-Scheduled work = if detects "stopped" and "manual"

Miscellaneous Utilities : i18n support

$
0
0
Author: davehull
Subject: i18n support
Posted: 09 May 2017 at 3:30pm

For those who claim this is an issue with the console, not the Sysinternals applications, a little testing will show otherwise. Create a process with a ツ in its name and open a PowerShell prompt. Run Get-Process, you'll see the process name displayed in the console with the non-UTF8 character represented by a [] (square non-printable ASCII character), but if you copy and paste that data from the console to a UTF8 capable application, notepad++ works, you'll see the ツ, in the process name.

Now try using handle.exe. The 
ツ will be replaced by a ?. Copying and pasting that process name into a UTF8 application shows the process name with a question mark where the ツ should be. The issue is not in the console, it's in handle.exe itself. Other Sysinternals console applications probably have this same problem.

For the love of IT and IR people the non-English speaking world over, please add i18n support to Sysinternals console applications.

Miscellaneous Utilities : CoreInfo

$
0
0
Author: LMiller7
Subject: CoreInfo
Posted: 09 May 2017 at 4:22pm

Coreinfo is telling you that the CPU supports HyperThreading. It does not tell you whether or not it is enabled in the BIOS.

Miscellaneous Utilities : Desktops + Windows 7 hotkeys

$
0
0
Author: Jaxstas
Subject: Desktops + Windows 7 hotkeys
Posted: 09 May 2017 at 7:15pm

Program Desktops to use ALT, Control, or Shift instead if the Windows key.

PsTools : start remote windows service

$
0
0
Author: Tecnico
Subject: start remote windows service
Posted: 09 May 2017 at 7:39pm

psexec \\server -u username -p password net start SERVICE

and

psexec \\server -u username -p password net stop SERVICE


Edited by Tecnico - 22 minutes ago at 7:43pm

PsTools : start remote windows service

$
0
0
Author: MarioMiranda
Subject: start remote windows service
Posted: 09 May 2017 at 8:14pm

Originally posted by Tecnico Tecnico wrote:

psexec \\server -u username -p password net start SERVICE

and

psexec \\server -u username -p password net stop SERVICE

Hello Tecnico,
The idea is only to keep running these services, not stop intentionally.
(Theres is no problem using another language, like the previous answer in VB).
I am grateful with your help, but it doesn't help me.

Internals : SystemHandleInformation restricted

$
0
0
Author: dfatsi
Subject: SystemHandleInformation restricted
Posted: 09 May 2017 at 11:00pm

Answer is there is a SystemExtendedHandleInformation with a different structure.
Viewing all 10386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>