USB - autorun a web address - usb

I currently have 2 files on it:
autorun.inf
start.url
autorun.inf contains 3 lines:
[autorun]
ShellExecute=start.url
open=start.url
start.url contains 5 lines:
[InternetShortcut]
URL=http://cnn.com
IDList=
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
Loads ok on Vista, but does not load on XP or Windows7.
Any clue what to change?

Is the autorun functionality disabled on the XP and Win7 boxes? If so you have to re-enable it.
See this article for how it was, probably, disabled in XP: How to disable the Autorun functionality in Windows
Though I think it could also have been disabled in a group policy.

Related

Windows 8 Kiosk Mode For "Non Windows" Applications

I have an external kiosk application that I'm trying to run it on tablet computer which has Windows 8 OS.
The thing is, that Windows 8 doesn't allow to use any external applications in kiosk mode. Only applications that based on Win 8 are allowed.
The problem with my kiosk application that while running you can drag it with the finger and the task bar and the desktop background are revealed and I don't want that to happen.
I want it to be locked to the screen without any option to move.
The application starts automatically when the win 8 goes up.
1)I tried to search at the registry to cancel part of the touch options. Without any actual result. There are few options to cancel some of the windows widgets at the left and right corners of the screen or cancel the touch option at all.
2)I've got the option to use a 3rd party applications, but I'm trying to prevent it for now.
Forget about windows internal kiosk mode as nightmare - it not works as expected and you can't change this. Create new user 'kiosk' and use next registry key for your app:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"Shell"="C:\\full\\path\\to\\your\\application.exe>"
And configure autologin for this user:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"
"ForceAutoLogon"="1"
"DefaultUserName"="kiosk"
"DefaultDomainName"="<place here pc hostname>"
"DefaultPassword"=""
And you will get the result you want.

Is "Assigned Access" [Windows 8.1 feature] possible in Windows 8 app?

I want to create an app which will be deployed on tablets as a kiosk in a mall. I searched around for creating app with some restriction like it will be always open, only authenticated uses can close with swipe gesture or Alt+F4. I got one solution but it's related to Win 8.1 and I can't wait till that.
So what I want is the app will be always on. Normal users will use the app, they can't close it. App can be close by only authenticated users with password. Anybody have any ideas to do these things ?
PS : For those who don't know what is "Assigned Access", please see Windows 8.1 product guide and search for that term.
This is not possible in Windows 8 by design. You will have to wait until 8.1 for the dedicated "kiosk mode."
It's incomplete, but if you can't wait for 8.1 consider the following 2 setting to fake a kiosk mode.
1. Modify the user GPO for the Kiosk account. Change "User Config->Administrative Templates->System->Custom User interface" Enable the policy and put in the path to your application.
This will prevent the "desktop" from loading and replace explore.exe with your applications .exe
2. REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v 'Scancode Map' /t REG_BINARY /d "Make your binary change here" /f
This disables special keys like Windows key and remaps the Alt and Ctrl. Use Sharpkeys to define the binary http://sharpkeys.codeplex.com/
Good luck.

autorun.inf doesn't work?

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

How to test website in IE10 on windows 7?

i need test website in IE10 on Windows 7. Is it even posible without installing windows 8 release preview?
thanks
You may try a service like browsershots.org if you need to test site's appearance only (there were few more like this but I can't remember now). Other option is to install Win8 on virtual machine and test it there. As far as I know IE10 is not available on Win7 (yet?).

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)