Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

XP Limited User Privileges


  • Please log in to reply
11 replies to this topic

#1 Falneth

Falneth

  • Members
  • 132 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Missouri, USA
  • Local time:08:32 PM

Posted 20 October 2013 - 06:11 PM

I have an low end XP machine I performed a full reinstall on for my son. There are two accounts: mine as admin and his as a limited user. I have several games for him to play that require admin rights so they can save the data to the hard drive. I am currently using runas batch files on his desktop for each game to run the program under my account privileges without having me come in and input my account password. However, some of these games are made for windows 95/98 and have to be run in compatibility mode for win 95 to work. Is there a way to keep the original shortcuts but allow the games to run under my account and the required compatibility mode? I tried changing the properties of the shortcuts on the desktop but I have enter my password each time he lauches one of the games. If I cannot use the original shortcuts, is there a way to modify the batch files to allow it to run in win 95 compatibility mode?


A.A.S in Computer and Network Support from Crowder College


BC AdBot (Login to Remove)

 


#2 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:01:32 AM

Posted 20 October 2013 - 06:25 PM

Have a read here http://www.nebev.net/blog/?p=54 and post back your finding.

#3 Falneth

Falneth
  • Topic Starter

  • Members
  • 132 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Missouri, USA
  • Local time:08:32 PM

Posted 20 October 2013 - 06:30 PM

How exactly would I implement a batch script like this? Is it a one-time use or an every time he wants to play the game, it has to be used? These games need admin privileges and compatibility mode.


A.A.S in Computer and Network Support from Crowder College


#4 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:01:32 AM

Posted 20 October 2013 - 06:33 PM

You would include those options in the batch script.

#5 Falneth

Falneth
  • Topic Starter

  • Members
  • 132 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Missouri, USA
  • Local time:08:32 PM

Posted 20 October 2013 - 06:35 PM

So is this batch script used every time it is launched?


A.A.S in Computer and Network Support from Crowder College


#6 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:01:32 AM

Posted 20 October 2013 - 06:39 PM

Yes it is

#7 Falneth

Falneth
  • Topic Starter

  • Members
  • 132 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Missouri, USA
  • Local time:08:32 PM

Posted 20 October 2013 - 06:51 PM

So I change the batch files I use to allow him to run them under my credentials and they would look like:

 

runas /user:Sam /savecred "C:\Program Files\TLC\Oregon Trail 3\ot3.exe"

set __COMPAT_LAYER=Win98 640×480
"C:\Program Files\TLC\Oregon Trail 3\ot3.exe"


A.A.S in Computer and Network Support from Crowder College


#8 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:01:32 AM

Posted 20 October 2013 - 06:53 PM

So I change the batch files I use to allow him to run them under my credentials and they would look like:
 
runas /user:Sam /savecred "C:\Program Files\TLC\Oregon Trail 3\ot3.exe"
set __COMPAT_LAYER=Win98 640×480
"C:\Program Files\TLC\Oregon Trail 3\ot3.exe"


to this

set __COMPAT_LAYER=Win98 640×480
runas /user:Sam /savecred "C:\Program Files\TLC\Oregon Trail 3\ot3.exe"
"C:\Program Files\TLC\Oregon Trail 3\ot3.exe"

#9 Falneth

Falneth
  • Topic Starter

  • Members
  • 132 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Missouri, USA
  • Local time:08:32 PM

Posted 20 October 2013 - 06:57 PM

Is there no way to keep the original shortcuts instead of having to use batch scripts? I don't mind and I know he doesn't but it just looks tacky seeing so many batch scripts on his desktop.


A.A.S in Computer and Network Support from Crowder College


#10 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:01:32 AM

Posted 20 October 2013 - 06:59 PM

You can change the icon I think.

#11 Falneth

Falneth
  • Topic Starter

  • Members
  • 132 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Missouri, USA
  • Local time:08:32 PM

Posted 20 October 2013 - 08:06 PM

As far as I know, you cannot change the icon of a batch file.


A.A.S in Computer and Network Support from Crowder College


#12 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:01:32 AM

Posted 20 October 2013 - 08:07 PM

You can give this a try: http://www.makeuseof.com/answers/change-icon-bat-file-windows-7/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users