Re: Limited accounts won't do the job
From: Kevin K (WMTRP205@NoSpam.com)
Date: 12/29/02
- Next message: ericB: "MMC - admin locked out too"
- Previous message: Bill: "Windows XP SP-1"
- In reply to: Don M.: "Re: Limited accounts won't do the job"
- Next in thread: Don M.: "Re: Limited accounts won't do the job"
- Reply: Don M.: "Re: Limited accounts won't do the job"
- Reply: Torgeir Bakken (MVP): "Re: Limited accounts won't do the job"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Kevin K" <WMTRP205@NoSpam.com> Date: Sat, 28 Dec 2002 19:45:09 -0500
Hi Don,
The problem is that you must use the DOS style filenames (8 characters and
no spaces). So instead of C:\Program Files\Snood\Snood.exe you would type
C:\Progra~1\Snood\Snood.exe.
Your Example would look like this:
g_oShell.Run "runas /user:" & g_sComputerName & "\games
C:\Progra~1\Snood\Snood.exe
-- Kevin Please reply to newsgroup so that all may benefit" "Don M." <don_nospam@home.net> wrote in message news:4w9P9.177790$a8.92644@news4.srv.hcvlny.cv.net... > Kevin, > > Thanks for pointing out the scripting option. I have downloaded the example > script noted below and have successfully run it to the CMD prompt. > > However, I made what I thought were the appropriate changes to the following > line and consistently receive an error message "'games' is not recognized as > an internal or external command, operable program or batch file". > > ('games' is an account on WinXP Pro with administrative privileges.) > > Original Line > ======== > g_oShell.Run "runas /user:" & g_sComputerName & "\games cmd.exe" > (Works as advertised) > > Modified 1 > ======== > g_oShell.Run "runas /user:" & g_sComputerName & "\games C:\Program > Files\Snood\Snood.exe" > (Fails with "'games' is not recognized as an internal or external command, > operable program or batch file") > > Modified 2 > ======== > g_oShell.Run "runas /user:" & g_sComputerName & "\games mmc" > (Works as advertised) > > Modified 3 > ======== > g_oShell.Run "runas /user:" & g_sComputerName & "\games" & "C:\Program > Files\Snood\Snood.exe" > (Fails with "'games' is not recognized as an internal or external command, > operable program or batch file") > > I want to use your suggestion since it appears to be the one that will fix > most of my issues. But for the life of me I cannot designate a fully > qualified path for the executable without receiving the failure message. > > Any clarification would be appreciated. > > (I was also able to use SCRENC on those items that did not fail.) > > "Kevin K" <WMTRP205@NoSpam.com> wrote in message > news:OJGA3tGrCHA.1776@TK2MSFTNGP10... > > Al, > > > > You do not have to give others your password if you use a script and > encrypt > > it. Visit: > > > http://msruniv.corp.bcentral.com/Shared%20Documents/runas_admin_script.vbs.t > xt > > > > NOTE: The link may warp. If it does copy and paste it into your browser. > > > > Happy Holidays! > > -- > > Kevin > > Please reply to newsgroup so that all may benefit > > > > "al schmidt" <bigaldepr@caribe.net> wrote in message > > news:007601c2ac47$3fbf1ca0$d5f82ecf@TK2MSFTNGXA12... > > Runas works but you still have to let other have the > > adminstrative password. > > > > In some cases the following has worked, especially for > > non-Microsoft programs, but not all. It is worth a try. > > > > First - Login as an adminstrator and remove the programs. > > > > Second - Make all users administrators. > > > > Third - Re-install the programs. > > > > Forth - Change the accounts back to limited accounts. > > > > No promises, I don4t have either of these programs. > > > > > > >-----Original Message----- > > >On a NTFS formatted drive, created 3 accounts (1 with > > Administrator rights), > > >2 limited. The intent was to allow the 2 limited > > accounts to have overall > > >access to files/folders, but not Administrator rights to > > change accounts or > > >passwords other than own. > > > > > >The problem is that in limited accounts users were > > unable to access 2 > > >programs needed: WordPerfect 8 and Calendar Creator > > (ver. 8). Both programs > > >work OK inWinXP otherwise. The only solution I could > > find was to change > > >both limited accounts to allow administrator rights. > > Although we don't have > > >a large user base, it is still a little bit risky. Is > > there a way to give > > >the limited accounts access to those two programs? They > > seem to have access > > >to other programs, particularly in Office 97, as well as > > others installed > > >with no problem. > > > > > > > > >. > > > > > > > > >
- Next message: ericB: "MMC - admin locked out too"
- Previous message: Bill: "Windows XP SP-1"
- In reply to: Don M.: "Re: Limited accounts won't do the job"
- Next in thread: Don M.: "Re: Limited accounts won't do the job"
- Reply: Don M.: "Re: Limited accounts won't do the job"
- Reply: Torgeir Bakken (MVP): "Re: Limited accounts won't do the job"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|