autorun.inf doesn't work? - usb

So I have an autorun.inf file that looks like this:
[AutoRun]
open=Server.exe
icon=Logo.ico
label=XXXXXX
action=Install Server
It gets the Icon and Label correctly, but it does not add "Server.exe" and it's text to the autoplay USB dialog...
Server.exe is top-level.
Any clues why that would be? Thanks!

What do you mean by "it's text"? Maybe you can try starting from a working configuration that does what you want. For example, I burned an Ubuntu 10 ISO to a thumbdrive:
[autorun]
open=wubi.exe --cdmenu
icon=wubi.exe,0
label=Install Ubuntu
[Content]
MusicFiles=false
PictureFiles=false
VideoFiles=false
This shows an icon and displays the text "Run wubi.exe" with "Publisher not specified" underneath it in W7. In XP, it immediately launches wubi.exe without an autoplay prompt. If you can't repro the above, maybe your system settings have drifted from the default. Wikipedia has a pretty great article on the subject which even includes the differences between OS versions and which directives are valid for which mediums (CDs, USB drives, etc).

Autoplay from USB device is switched off by default in Windows 7. You need to configure the policy. here are the steps:
Click Start and in the Search box, type gpedit.msc and press Enter.
Now browse to Computer Configuration\ Administrative Templates\
Windows Components\ Autoplay Policies\ Turn off Autoplay.
Change the value of Turn off Autoplay to disabled.
Autoplay from USB should work fine. For more information, read :
http://windows.microsoft.com/en-US/windows7/Change-AutoPlay-settings
http://windows.microsoft.com/en-US/windows7/Troubleshoot-AutoPlay-problems

Related

Shortcut key to mimic the INTERNET button which some keyboards have

I often use a citrix website to then initiate a Remote Desktop application, in order to then use Remote Desktop Client by citrix to remote in to a work computer.
I always use it full screen, (so that things like Windows key, Start key etc are passed to the remote pc, not my local pc).
however it often happens to where I need to, as I say, "bust out" of my citrix remote pc without closing it. (there is no way to minimize or restore it).
in the past I've used the Internet button on my keyboard. It works great - it basically force-activates my local pc and opens the internet, thus busting out of my remote screen.
I've since changed to a simpler keyboard which doesn't have that magic "open internet" button.
I tried making a Google shortcut on my local pc's desktop, and attaching F3 to it, pressing f3 unfortunately did not have any effect...
Can you think of a way to do anything on my local pc which might mimic this effect? Thanks in advance
If this is Windows, Ctrl+Alt+Delete should do it. It's supposed to only be recognized by Windows, so the guest session shouldn't get it.

Chrome dev tools site gets stuck in mobile view when exiting emulation mode

When using chrome dev tools to emulate mobile devices, sometimes when toggling emulation from mobile back to desktop the user agent spoofing gets stuck in mobile. I've tried hard cache reset, closing browser completely, restore to default.... but anything I do the site still renders in mobile (even when emulation is turned off).
This happens in Canary, beta, and regular Chrome.
Also a note i've only seen this happen in Sharepoint.
Anyone know how to resolve? Nothing seems to get the dev tools to change user agent back to default when exiting emulation.
Have you tried deleting your chrome settings?
Windows: C:/Users/%username%/AppData/Local/Google/Chrome/User Data
Mac OSX: ~/Library/Application Support/Google/Chrome/
Ubuntu: ~/.config/chromium/
Also make sure you aren't ZOOMED! Gets ya everytime
I ran into this same problem previously when using dev tools in Chrome to look at mobile resolutions that got me permanently stuck in mobile for SharePoint only. I solved it originally with the recommendation above of deleting my Chrome settings folder, however, that meant I had to sign in again, sync my extensions, etc.
After forgetting that this would happen again, I ran into the same issue, but this time I discovered that if you append the following to your SharePoint URL it will reset this back to non-mobile. I verified that it is not temporary as I have closed my browser, reopened, visited SharePoint, and it still loads in desktop mode.
/?mobile=0
So, you would use your site url, e.g. https://siteurl/?mobile=0
Weird, this just started happening to me. It persists in new tabs and new windows. Only fix is to open DevTools and switch to Responsive mode and then pull it way out. As soon as I turn off Responsive / Mobile view, Chrome snaps right back to a mobile view by default (appears to be iPad size).
The solution for me (so far) was to quit Chrome and open it back up.

IE11 Developer Tools Blank Network and Profile Tab

Extensively used IE9 Developer Tools and I just updated to IE11 "11.0.2" and the Developer Tools are garbage.
My Network and Profile Tabs are blank.
Is there a "special" setting that I'm missing in order to enable them, or could there be a specific windows hot fix between the IE11 RTM and 11.0.2 that I may be missing?
I had the same problem (version 11.0.9600.17633) on WIN7
Only on one of 4 accounts. Reinstalling IE11, etc did not help.
With regedit, I renamed HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer Old
I logged off, then logged on again and started Internet Explorer. This recreated the key. The network tab and profiler tab are no longer blank. Internet Explorer settings have been lost however. I assume the settings and state of Internet Explorer are the same as just after creating a new account.
The network tab was not working for me on Windows 10 Creators Update (Version 1703 OS Build 150063.540) in IE OR Edge.
After trying the various registry changes mentioned by others without success, I removed Internet Explorer as a Window Feature (Control Panel > Programs and Features > Turn Windows Features on or off).
I rebooted and opened Edge and the network tab was working again.
Then I went back into Programs and Feature and added IE back as in installed feature. I rebooted and now the network tab is working in both IE and Edge.
To make blank Network Panel/Profiler Panel appear again(also pin F12 developer tool not working either), delete the following registry DWORD key:
HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Main\TabProcGrowth
This key could be recreated automatically.
I still have this problem using IE 11.0.9600.18097 on Win 7 [Version 6.1.7601]. I post my solution here in case someone faces the same situation like me, that your company doesn't allow updating IE on your own. My
Possible related issue tracker:
https://connect.microsoft.com/IE/feedback/details/808417/ie-11-win-7-developer-tools-does-not-pin
Here is the solution: install the following patch from Microsoft and restart your computer:
https://www.microsoft.com/en-us/download/details.aspx?id=46507
This helped me for IE 11, Windows 10:
sc config diagnosticshub.standardcollector.service start=demand
(see https://www.systemcamp.com/network-collection-agent-failed-to-start-in-ie-11-or-edge/)
It's definitely worth getting the latest updates.
There shouldn't be any special settings. The only special/different thing about the network and profiler tools are the two tools that weren't rebuilt in IE11 and were just themed. However they should most definitely work just fine. Though there are some timing bugs that can cause the tools to hang and crash :(. But, that doesn't seem to be happening for you.
I'm a bit of a loss as to make recommendations on how to fix the issue as we've not seen the issue before (I work on the F12 tools at Microsoft).
If you try a different user account does the same issue happen? Is it happening on all your machines or just one? Does it happen on all pages or just some? (try both an intranet and internet site.)
I created a new local account, logged into that account and that solved this problem for me. All of the tabs in the developer tools work and I can now dock the developer tools as well which I could never do before.
more info:
Not sure if this is the full answer but this appears to be related to settings on your computer more then IE itself. For whatever reason I could not change visual settings or apply themes or change the desktop wallpaper. I followed all the online setting changes for fixing those things. Basically it can be setting changes in group policies/registry settings that disable this. However I'm pretty sure at one point I had a virus on my computer and that destroyed my settings so there was no real undoing of all the damage that it had done. So creating a new account was my only answer.
I doubt this would fix the issue but just to make sure it is not being caused by an extension have you tried running IE without extensions?
from run: iexplore.exe -extoff
This happened to me and the answer was that my machine (win8.1) wasn't being patched per the group policy since the rest of the company's on win7 and the patches are controlled.
When I forced the update-- there's a link on the windows update dialog box that says "Check online for updates from Microsoft Update". I got a gig a of stuff to dl and installed it and we were fine after that.
NOTHING until then- wiping bits of the registry, uninstall ie11, reinstall, etc, worked.
Change the value data in DWORD "TabProcGrowth" that located in "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" to 1. close and open IE11 .
For me, Network tab stopped working one day and following worked:
Restart Microsoft (R) Diagnostics Hub Standard Collector Service
Just close IE11 and all its tabs and reopen

Air for iOS config panel closes when I click another tab on Flash CS6 on Windows

Whenever I try to edit configuration in Air (desktop, android or iOS) and I click in another tab, Flash loses focus and the config windows closes. I have googled for anything similiar but I haven't found anything.
Does anybody knows if this is a known issue, or if there is another way to add icons, certificates and permissions in Flash CS6.
Thanks everybody!

Automatically launch app on USB (through autorun?)

Is it possible to automatically launch an application from a USB flash drive (bypassing windows prompt asking user what he wants to do)? on windows XP or vista.
I looked into "autorun.inf" and "open" entry seems to work only for CD drives for Windows XP SP2+ and Vista. Is it possible to launch program automatically on all windows versions?
I don't care if autorun is disabled by user in Windows settings.
First of all, some people choose to disable autorun for security reasons; but Windows computers up to Vista have it enabled. Edit: Apparently the functionality was removed from Windows 7 onwards.
Put a file named autorun.inf in the root of your USB flash drive. This is what's in mine:
[Autorun]
Open=PStart.exe
Action=Start portable apps
Icon=diskicon.ico
What it does: when you insert this disk, starts PStart.exe
On older computers, the program specified in Open= will launch automatically.
On most modern computers (Windows XP SP2+, Vista), dialog "what do you want to do" will be displayed (for security reasons), but what you have in autorun.inf will display as the selected default, with Icon= as icon and Action= as description. If you want to launch it, just click the "OK" button in the dialog.
So, although I'm not aware of any way to start the application (e.g. PStart) immediately, it is possible to insert flash disk with this configuration and start application by clicking OK.
Tested on different computers, running Windows XP without a SP, also on Windows XP sp 1, sp2, sp3, and on various Vistas (not sure which types, but should work all the way from Vista Home Basic to Vista Enterprise Super-Mega-Premium-Extended Edition) and "Windows 7". Also works on Windows 2000 (although autorun on Win2000 for removable drives is not enabled in default configuration).
Note that some applications, in addition, may trigger the "unknown/unsigned exacutable" security dialog, as if you opened them manually.
Edit: For more details, see also:
Autoplay in Windows XP: Automatically Detect and React to New Devices on a System
I've had something set up on my USB keys for a while now. Using the autorun.inf file will work, depending on your system's settings for autorun. Some disable it altogether after that little debacle with Sony a couple years back installing rootkit software on peoples' machines. Here're a couple articles to check out.
Label a Flash Drive with Your Name and Number
Have Your Lost USB Drive Ask For Help (1) or 2
you need UseAutoplay to let this work on usb.
and if you take ShellExecute instead of open you can also open scripts/documents/...
[Autorun]
ShellExecute=System\something.exe
UseAutoplay=1
there are also U3 usb sticks arround, they will be reconised as cdrom drives in windows.
if you put an a autorun.inf on one of those, it will get executed without the user being questioned.
regards morla
I found the solution in this blog
How To Auto-Launch Apps With A USB Stick [Windows]
It worked fine for me
(the article explains how to do it with AutoIT, a 3rd party app that must be installed on the host computer)