programs running on startup without being in startup folder [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
some program (sort of malware) is running on my windows 7 at startup, but my startup folder is empty (even after removing the hidden and system attrib of all the programs in the folder). But msconfig shows the script that was running.
This means that programs can run on startup without actually being in the startup folder.
Please help me by explaining, how these softwares do this, or any concept of startup that i am missing?
Thanks in advance.

From here:
Add a new startup application
Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run].
For each program you want to start automatically create a new string value using a descriptive name, and set the value of the string to the program executable.
For example, to automatically start Notepad, add a new entry of "Notepad"="c:\windows\notepad.exe".

Goto MSCONFIG and Remove the check mark for that particular App. then you are good go

Related

I can't run an exe file completely hidden [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I tried to run a program called MSIAfterburner with no windows
But nothing works
I tried
Quiet.exe
Nircmd.exe
I tried some python scripts and JavaScript & Powershell and VBS. And every time it was showing the window of the program
Can somebody help me?
Neither quiet.exe nor nircmd.exe come with windows by default. I believe this MSIAfterburner program you are referring to is a graphics overclocking utility, which is a windows application, as opposed to a console application.
Therefore, if you for whatever reason want to run it without a window, the easiest way I can think of would be to launch the program in a different session using psexec -i 0 (run it as admin) from here.
If you want to run it without a window without admin privileges, the best I can think of would be to use the winapi ShowWindow(handle_to_the_app_main_window, SW_HIDE).

How to make a Logon script secure in windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a logon batch script that runs a .reg file for all user when they log in. here's my script
#echo running
REGEDIT.EXE /S "C:\user_files\user.reg"
Now my concern is that the batch file itself is located in
C:\Windows\System32\GroupPolicy\User\Scripts
Every user has access to this directory. So anyone can change the batch and may cause security threat. Is there a way to make it more secure. or is can I do something similar with PowerShell scripting so there's no batch. If someone could point me to the right direction would be very helpful.
your script needs to be readable by your users, but you can take away their rights to modify it -- that's a typical file system feature that every Windows since NT has (aside from windows 9x, of course).
Hence, simply remove the write privileges from the user group in which your users are, and you're fine.

How can I start a batch file after logon? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'd like to start a batch file when I log on with a specific account. The problem is, that specific account doesn't have the right to copy to the Startup folder, or install anything on the machine (Windows 7). How can I achieve this?
If you don't have those rights then you can use Task Scheduler. Open start and start to type "task" and you'll see that program. Open it and click "Create Basic Task". Type the name and a desciption. Click next and choose "When I log on". Click next and choose "Start a program". After that, browse your batch file location and add the arguments if necessary.

Change Default Program for a specific folder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I do not know if this is possible (I suspect that it isn't), but can you change the default program for a file type for only a specific folder and the folder's sub-folders in Windows 7?
What I am trying to do is set the html files in a specific folder to open in Notepad++ by default, and everywhere else, open in Chrome (which is the current default).
I do know how to change the global default program for a file extension, but that is not what I am trying to do in this case.
Thank you in advance.
In a word: Impossible
The registry cant be customised for an individual folder it is all or nothing.

an issue for "echo %temp%" in cmd.exe [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm facing a strange issue, when I executed the following command in a CMD.exe, will get different result in diff WKS. All WKS are windows-xp sp3.
c:\> echo %temp%
one is: C:\DOCUME~1\HWU\LOCALS~1\Temp
the other is: C:\Documents and Settings\HWU\LOCALS~1\Temp
I know, both results are the same position, but the second one will block our some batch file and I cannot modify batch file.
So how can I modify some settings let result looks like the first one?
Would anyone please advise?
Thanks a lot!!!
You need to manually adjust the %TEMP% variable for all user profiles on the host in question.
After you did that, check the value of NtfsDisable8dot3NameCreation in the registry key [HKLM\SYSTEM\CurrentControlSet\Control\FileSystem] on that host. Change it to 0 in case it's set to 1 (requires a reboot). That doesn't fix the exisiting %TEMP% variables (those are static after being created during profile creation), but it will prevent future profiles from being created with non-8.3 paths in the %TEMP% variable.
Still, I'd strongly recommend to get your scripts fixed. It's the solution to the root-cause of the problem.

Resources