What is "powershell.exe -noexit -command Set-Location '%V'"?

Anonymous
2017-07-24T21:05:02+00:00

Greetings!

I am trying to find information about Powershell and this Startup Script that shows up on CCleaner.

I have searched my system for malware, virus and problems. All Clean.

What I can read about this context script in my startup powershell.exe -noexit -command Set-Location '%V',

is that it's a malware and shouldn't be there.

In the regedit, the shell had the value of @shell32.dll,-8508

Is this value from Windows or any confirmed malware?

Can anyone please assist me in what this is before I start to mess around with my regedit?

Is this just fine, or something that should get removed?

My system is Win 10, 64Bit

Thanks!

--Jonas the Swedish Goth

***Post moved by the moderator to the appropriate forum category.***

Windows for business | Windows Server | User experience | PowerShell

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2017-07-25T02:47:16+00:00

    Well, I've got very similar registry keys in a fairly clean install of Win 10, v1703 (Creators Update). This leads me to believe you are fairly normal in that regard. However, Autoruns does not show it is a startup item...

    (1) Are you sure CCleaner is saying that it runs at startup? I would take Autoruns to see whether that is verified. Let me know, if you are confused installing it...

    https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx?f=255&MSPPError=-2147217396

    Autoruns for Windows v13.71

    (2) I'm not absolutely positive, but I think "***powershell.exe -noexit -command Set-Location '%V'"***is just opening a PowerShell prompt at a directory that is passed to it. The prompt will stay open, due to "-noexit". Do you see that at startup?

    EDIT: This is what that does: Hold SHIFT, & R-Clk any folder in File Explorer...

    7 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2017-07-25T03:53:55+00:00

    You are welcome. Keep it! Did you see the edit in my post? It's a built-in feature of Windows.

    6 people found this answer helpful.
    0 comments No comments

8 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-07-25T07:55:26+00:00

    Fair enough. I'll accept that.

    Thank you! ^^

    0 comments No comments
  2. Anonymous
    2017-07-25T07:57:38+00:00

    You are welcome.

    1 person found this answer helpful.
    0 comments No comments