I am trying to block .js files from being run on a workstation. Following some web instructions I found, I have created a dummy .js file. The instructions say to right-click on the file, select "open with" and select notepad.
I've done this on a couple of workstations so far, but on this one, I can create/save the .js, I can run the .js (no warning about dangerous file like on the other workstations), but when I try "open with" I get the message, "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." The location in this case is the desktop. I've also tried moving it to C:\. The user is a local Administrator.
How can I fix this?
did you compare permissions for the file on this station versus the other stations?
right-click file, properties, security tab, advanced brings up window...
"Advanced Security Settings for filename"
Check everything there for differences. See if owner makes sense.
You might also check owner in this same window for the Desktop folder you're in.
Any use of virtual machines there?