Anyone knows what does advapi stand for? - winapi

Usually I saw advapi32.dll loaded into the memory, anyone knows what does advapi stands for?

It stands for Advanced Windows 32 Base API as it can be read on clicking with secondary (right) pointing device (mouse) button on file %SystemRoot%\System32\advapi32.dll, clicking with primary (left) pointing device (mouse) button on context menu item Properties and selecting next the tab Details with the File description showing this information.
Found on Microsoft documentation page How RPC Works:
Advapi32.dll is an advanced Windows 32 base API DLL file; it is an API services library that supports security and registry calls.

Advapi32.dll is Advanced Windows 32 Base API.
This file is part of Microsoft Windows Operating System, usually located in the %SYSTEM% sub-folder, like C:\Windows\System32 folder.
Advapi32.dll is a part of the advanced API services library. It provides access to advanced functionality that comes in addition to the kernel.
It is responsible for things like the Windows registry, restarting and shutting down the system, starting/stopping and creating Windows services, and managing user accounts.

Related

Why access using IE browser and access using Windows explorer of INetCache folder shows different folder structure on WIN8.1-IE11?

When I access C:\Users\shan\AppData\Local\Microsoft\Windows\INetCache using Windows explorer, it shows following folder structure:
But when I access the same using IE11 browser, Tools->Internet Options->General->Browsing history-> Settings(click)->View files(click), I get different folder structure as follows:
Why folder structure differing in above 2 cases, even though both are referring to the same physical location on Windows 8.1, IE11 Browser ?
I need to write a script which clears this INetCache folder contents(Cache). But not able to get the exact content of this folder. Because it always refers to Folder which contains Low(folder), Virtualized(folder) and counters.dat(file). In my script I want to refer the folder which contains favicon.ico files.
The same behavior is observed on IE10-win7 and IE11-win7 as well, while referencing Temporary Internet Files.
There is an internal api in the IE libraries that controls clearing of the 'Internet Cache'....
there are two... one for 'normal' integrity processes (64 bit tab processes and ActiveX (flash)), another for low integrity processes (32 bit tab processes and ActiveX (flash))
Use GPO (Start>Run>gpedit.msc) to configure user profiles on a domain network to empty the TIF(s) on exit from the browser.
For computers on a public access network (library workstations), you can default to inPrivate Mode from a desktop or Taskbar link
iexplore.exe -private
which does not retain any personally identifiable data of the user in history, or cookies or flash cookies.....
questions about GPO management of IE should be posted to the TechNet support forum for IE.
https://social.technet.microsoft.com/Forums/ie/en-US/home?forum=ieitprocurrentver

Customizable Windows right-click file uploader?

I'm looking for a "right-click upload" application like RightLoad - an application that can upload media files to a remote FTP server from the Windows Explorer's context menu. I want to customize the application to serve as a customized image uploading tool to a PHP-based CMS.
The user would upload images and other media files to a defined FTP account (I'm also very open for other methods of transport, as long as they are supported by run-off-the-mill web hosting stacks) that they could then use in the CMS they log in to.
For me to be able to do these customizations, the application would have to be Open Source - RightLoad is "only" Freeware. Alternatively, I'm open for closed-source and commercial suggestions as long as they allow "pre-packaged" server settings that can easily be deployed to the user.
Does anybody know such a tool compatible with at least the most current versions of Windows (XP, Vista, 7)?
Bounty
Thanks all for the great input. In the case at hand, I decided it's easiest for me to stick with RightLoad and create a workflow in which the URL presented by RightLoad after the upload is copy+pasted into the CMS. I am putting a bounty on this because I think it's a worthy question for future generations, and I want to be the first one to put up a 500 bounty under the new bounty system :)
You could just use the send to menu using window's My network Places like this http://techie-buzz.com/how-to/right-click-and-send-to-ftp.html
I think WinSCP might have everything you want:
Open Source under GNU GPL
Windows Explorer's 'Send To' Context Menu
Drag 'n Drop Shell Extension
lots of additional features
and it can be scripted and is more secure than FTP due to using SSH
If you insist on open source, why not create a custom context menu handler and send it using some open source FTP client?
I would have to check the details, if it's really viable, but I would start with it.
I just had an idea, tested and working:
use regedit to edit HKEY_CLASSES_ROOT/*/Shell
add a key in shell called FTP to Mysite, in the default value set it to FTP to Mysite.
then add a key to the FTP key you just created called command, in the command default value use:
C:\Program Files (x86)\Internet Explorer\iexplore.exe http://www.mysite.com?file=%1
what this will do is open IE and the address www.mysite.com?file=C:\path\to\file.jpg
now using $_GET you can get the file address, upload it via php to where ever, even add an interface...
now when the user right clicks on any file, they can upload it via your web site by clicking FTP
1) another software is RightLoad , i use it that this moment!
2) The nice software I used over years, was FLING. It adds Right Click menu in windows explorer... However, I have left the software, because till today (version 2.35) fling DOESNT support SFTP (And nowadays on all sites I use SFTP!!)
3) I DONT like SEND-TO menu! (because I think passwords saved in WINDOWS can be easily stolen by virus..)

How to get the last current or visited Web URL in Windows?

I'm writing a Windows app. where you can create "links", it is easy to link files or folder (just use the standard dialogs for open files or browse folders), but for linking a Web URL I don't know how to get (from a Windows function or registry key) the current or last visited page.
Maybe something like the recently used files, but referencing web pages (independent of the browser), could be useful.
There is no common browser independent place to look for the last visited pages from what i know(i'm saying this from my experience at computer forensic)
I know there is a place in the registry where explorer saves this info, and probably other browsers as well, you can find this info by using a tool like procmon by sysinternals.
Just enter a site and see what the registry writes down..
This might give you a start:
wrapper class for URL history interface in C#
I found it! (at least for IE)...
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs
Then, I should find the equivalent key (or maybe a config file) of the other most common web browsers.

Windows Explorer add-ons

How do tools like SVN and Git attach themselves to Windows Explorer, such that they add options to the right-click menu as well as adding the tick/exclamation mark based on whether a file has been edited?
(I'm not after Git or SVN-specific information - I just used them as examples)
What you want is called Shell Extensions, are in-process COM objects which extends the abilities of Windows operating system.
(source: csscript.net)
you can see these links
The Complete Idiot's Guide to Writing Shell Extensions - Index
Registering Shell Extensions
Bye.
Explorer allows DLLs to register as shell extensions. A shell extension can provide context menu items, icon overlays and numerous other features. It does this by exposing certain COM interfaces which Explorer calls e.g. prior to displaying a menu or icon. Here's the MSDN home page for shell extensibility -- though oddly enough the stuff about context menus and icon overlays no longer seems to be there -- you may have to try the offline SDK under Win32 and COM Development | User Interface | Windows User Experience | Windows Shell | Shell Developer's Guide | Integration of Applications into the Shell.
Depending on the shell extension you want, they can be QUITE complex to implement. I don't know what you're looking for, to quickly write a nice extension, or to get in to the nitty-gritty and learn all the hands-on of it all.
If you aren't as concerned with the how, and just have some ideas you want to implement, check out this library for writing shell extensions...
EZShellExtensions MFC
EZShellExtensions.NET
There are a lot of different types:
- Context Menus
- Property Pages
- Icon Handlers
and many more...
They also have another library for writing namespace extensions (things that show up in the tree pane of Windows Explorer).

How to locate a file in windows explorer

I have a application to list all music files in user machine, a "Explorer" button is using to quickly open Windows Explorer and highlight the file in Windows Explorer. I tried ShellExecute, but it doesn't work, the API will launch associate application. Any Windows API can do that? Thanks in advance.
You can simply start explorer.exe with the /select argument, as detailed in this Knowledge Base article:
Explorer /select,C:\TestDir\TestApp.exe
You can create an IE instance and navigate to your folder, then query the IShellBrowser service from the top level browser service and get the active view's IShellView interface. Use IShellView::SelectItem to select items.
Remember to call IWebBrowser::Quit when you don't need the explorer window.
This method can not get around Windows Vista's User Interface Privilege Isolation. If the folder is opened in a process with a different integrity level, a broker IE extension is needed to continue the automation.

Resources